forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@13949 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
264816622a
commit
42968083e9
|
@ -32,8 +32,8 @@ if (test $1 = 1) then
|
|||
|
||||
if (test -e ../Makefile.package) then
|
||||
sed -i -e 's/[^ \t]*ch5md[^ \t]* //g' ../Makefile.package
|
||||
sed -i -e 's|^PKG_INC =[ \t]*|&-I..\/..\/lib\/ch5md\/include |' ../Makefile.package
|
||||
sed -i -e 's|^PKG_PATH =[ \t]*|&-L..\/..\/lib\/ch5md |' ../Makefile.package
|
||||
sed -i -e 's|^PKG_INC =[ \t]*|&-I..\/..\/lib\/h5md\/include |' ../Makefile.package
|
||||
sed -i -e 's|^PKG_PATH =[ \t]*|&-L..\/..\/lib\/h5md |' ../Makefile.package
|
||||
sed -i -e 's|^PKG_LIB =[ \t]*|&-lch5md |' ../Makefile.package
|
||||
sed -i -e 's|^PKG_SYSINC =[ \t]*|&$(ch5md_SYSINC) |' ../Makefile.package
|
||||
sed -i -e 's|^PKG_SYSLIB =[ \t]*|&$(ch5md_SYSLIB) |' ../Makefile.package
|
||||
|
@ -44,7 +44,7 @@ if (test $1 = 1) then
|
|||
sed -i -e '/^include.*ch5md.*$/d' ../Makefile.package.settings
|
||||
# multiline form needed for BSD sed on Macs
|
||||
sed -i -e '4 i \
|
||||
include ..\/..\/lib\/ch5md\/Makefile.lammps
|
||||
include ..\/..\/lib\/h5md\/Makefile.lammps
|
||||
' ../Makefile.package.settings
|
||||
|
||||
fi
|
||||
|
|
|
@ -279,7 +279,7 @@ void DumpH5MD::openfile()
|
|||
if (create_group) {
|
||||
particles_data = h5md_create_particles_group(datafile, group_name);
|
||||
} else {
|
||||
particles_data.group = H5Gopen(datafile.particles, group_name, H5P_DEFAULT);
|
||||
particles_data.group = h5md_open_particles_group(datafile.particles, group_name);
|
||||
}
|
||||
delete [] group_name;
|
||||
dims[0] = natoms;
|
||||
|
|
Loading…
Reference in New Issue