User:Bgo/sandbox lmp: Difference between revisions
From HPC Wiki
< User:Bgo
(Created page with "=Using LAMMPS=") |
No edit summary |
||
Line 1: | Line 1: | ||
=Using LAMMPS= | =Using LAMMPS= | ||
{{FileBox|filename={{HPC-Base-Dir}}/samples/torque-lmp.sh|title=Job submission script|1= | |||
#PBS -l walltime=10:00:00,mem=15gb,nodes=1:ppn=16 | |||
##PBS -M EmailAddress | |||
##PBS -m bae | |||
#PBS -q default | |||
#PBS -N Jobname | |||
#PBS -o myoutput.txt | |||
#PBS -j oe | |||
. $(which lmp-config) | |||
# The LAMMPS input file must have a '.lmp' extension (e.g., mysimulation.lmp). | |||
INPUTFILE=mysimulation | |||
doLAMMPS}} | |||
{{CodeBox|lang=sh|title=Modified job submission script|1= | |||
#PBS -l walltime=10:00:00,mem=15gb,nodes=1:ppn=16 | |||
##PBS -M EmailAddress | |||
##PBS -m bae | |||
#PBS -q default | |||
#PBS -N Jobname | |||
#PBS -o myoutput.txt | |||
#PBS -j oe | |||
LMP_CMD=lmp | |||
MPI_CMD=mpirun | |||
MPI_OPTS= | |||
LMP_SUFFIX=.lmp | |||
. $(which lmp-config) | |||
# The LAMMPS input file must have a '.lmp' extension (e.g., mysimulation.lmp). | |||
INPUTFILE=mysimulation | |||
doLAMMPS}} |
Revision as of 16:59, 16 December 2016
Using LAMMPS
#PBS -l walltime=10:00:00,mem=15gb,nodes=1:ppn=16 ##PBS -M EmailAddress ##PBS -m bae #PBS -q default #PBS -N Jobname #PBS -o myoutput.txt #PBS -j oe . $(which lmp-config) # The LAMMPS input file must have a '.lmp' extension (e.g., mysimulation.lmp). INPUTFILE=mysimulation doLAMMPS
#PBS -l walltime=10:00:00,mem=15gb,nodes=1:ppn=16 ##PBS -M EmailAddress ##PBS -m bae #PBS -q default #PBS -N Jobname #PBS -o myoutput.txt #PBS -j oe LMP_CMD=lmp MPI_CMD=mpirun MPI_OPTS= LMP_SUFFIX=.lmp . $(which lmp-config) # The LAMMPS input file must have a '.lmp' extension (e.g., mysimulation.lmp). INPUTFILE=mysimulation doLAMMPS