make module search path commands consistent

This commit is contained in:
Axel Kohlmeyer 2020-10-20 17:38:03 -04:00
parent faf67662d5
commit 515f1d9ead
No known key found for this signature in database
GPG Key ID: D9B44E93BF0C375A
5 changed files with 7 additions and 7 deletions

View File

@ -48,8 +48,8 @@ public class example {
}
EOF
CLASSPATH=$PWD:${CLASSPATH-${PWD}}
LD_LIBRARY_PATH=$PWD:${LD_LIBARARY_PATH-${PWD}}
CLASSPATH=${PWD}:${CLASSPATH-${PWD}}
LD_LIBRARY_PATH=${PWD}:${LD_LIBARARY_PATH-${PWD}}
export CLASSPATH LD_LIBRARY_PATH

View File

@ -18,7 +18,7 @@ print("LAMMPS includes ", npair_styles, " pair styles")
-- this also does not work (see above)
-- for i = 0, 10, 1 do
-- res = lualammps.lammps_style_name(lmp, 'pair', i, 128)
-- print("Pair style ",i, ': ', res[1])
-- print("Pair style ",i, ': ', res[1])
-- end
lualammps.lammps_command(lmp, "units real")

View File

@ -53,7 +53,7 @@ print "Current size of timestep: ", pllammps::double_p_value(pllammps::void_p_to
pllammps::lammps_close(\$lmp)
EOF
PERL5LIB=$PWD:${PERL5LIB-PWD}
PERL5LIB=${PWD}:${PERL5LIB-${PWD}}
export PERL5LIB

View File

@ -50,8 +50,8 @@ print("Current size of timestep: %g" % double_p_value(void_p_to_double_p(lammps_
lammps_close(lmp)
EOF
PYTHONPATH=$PWD:${PYTHON_PATH-PWD}
PYTHONPATH=${PWD}:${PYTHONPATH-${PWD}}
export PYTHON_PATH
export PYTHONPATH
python example.py

View File

@ -53,5 +53,5 @@ print('Current size of timestep: ', Rubylammps.double_p_value(Rubylammps.void_p_
Rubylammps.lammps_close(lmp)
EOF
export RUBYLIB=$PWD:${RUBYLIB-${PWD}}
export RUBYLIB=${PWD}:${RUBYLIB-${PWD}}
ruby example.rb