ERROR: Restart file is not a multi-proc file (../read_restart.cpp:915)

Hello,

I’m working with large restart files and I would like to split them into several files
such that I can read those from multiple processes.

Here is an examplary lammps input file to create the restart files:
echo both
units lj
atom_style atomic
processors 4 2 2
lattice fcc 0.8442
region box block 0.0 159.859938696 0.0 79.9299693482 12.5 140.5 units box
region box2 block 0.0 159.859938696 0.0 79.9299693482 0.0 153.0 units box
create_box 1 box2
create_atoms 1 random 1024 23232 box
mass 1 1.0
velocity all create 0.7 23232
pair_style soft 1.0
pair_coeff 1 1 10.0
minimize 1.0e-4 1.0e-6 2500 1000
write_restart split.%.* nfile 16

All the restart lies (split…*) will be created without any problems.

The next step is to load the files with the following lammps file:

echo both
units lj
atom_style atomic
kspace_style none
processors 2 2 2
read_restart split.base.*
pair_style lj/cut 3.0
pair_coeff 1 1 1.0 1.0
fix nhvt all nvt temp 0.7 0.7 10
thermo 1000
run 300

Unfortunately I always receive the following error message:
ERROR: Restart file is not a multi-proc file (…/read_restart.cpp:915)

I’m using version Lammps-1Feb14.

Am I doing something wrong?

Thanks for your help,
Paul

My bad, the “base” in the second .lammps-file should also be “%”.

Sorry about that.

-Paul

just made a quick check by putting the equivalent commands into the
in.melt example and it works fine with the current version. you may
want to consider upgrading.