make location of potential/forcefield files depend on the RPM variables
This commit is contained in:
@ -1,3 +1,3 @@
|
||||
# set environment for LAMMPS executables to find potential files
|
||||
if ( "$?LAMMPS_POTENTIALS" == 0 ) setenv LAMMPS_POTENTIALS /usr/share/lammps/potentials
|
||||
if ( "$?BIOSYM_LIBRARY" == 0 ) setenv BIOSYM_LIBRARY /usr/share/lammps/biosym_frc_files
|
||||
if ( "$?LAMMPS_POTENTIALS" == 0 ) setenv LAMMPS_POTENTIALS @DATADIR@/potentials
|
||||
if ( "$?BIOSYM_LIBRARY" == 0 ) setenv BIOSYM_LIBRARY @DATADIR@/biosym_frc_files
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
# set environment for LAMMPS executables to find potential files
|
||||
export LAMMPS_POTENTIALS=${LAMMPS_POTENTIALS-/usr/share/lammps/potentials}
|
||||
export BIOSYM_LIBRARY=${BIOSYM_LIBRARY-/usr/share/lammps/biosym_frc_files}
|
||||
export LAMMPS_POTENTIALS=${LAMMPS_POTENTIALS-@DATADIR@/potentials}
|
||||
export BIOSYM_LIBRARY=${BIOSYM_LIBRARY-@DATADIR@/biosym_frc_files}
|
||||
|
||||
Reference in New Issue
Block a user