User:Bgo/sandbox lmp: Difference between revisions
From HPC Wiki
< User:Bgo
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
=Using LAMMPS= | =Using LAMMPS= | ||
{{Important|The [[Initial Setup| initial setup]] must be completed for the following to work as expected.}} | |||
A sample torque submission script is located at {{Path|{{HPC-Base-Dir}}/samples/torque-lmp.sh}}. | |||
{{FileBox|filename={{HPC-Base-Dir}}/samples/torque-lmp.sh|title=Job submission script|1= | {{FileBox|filename={{HPC-Base-Dir}}/samples/torque-lmp.sh|title=Job submission script|1= | ||
Line 16: | Line 20: | ||
doLAMMPS}} | doLAMMPS}} | ||
If your LAMMPS input file is {{Path||mysimulation.lmp}}, you can directly send submit this script to run your simulation on the cluster. | |||
{{CodeBox|lang=sh|title=Modified job submission script|1= | {{CodeBox|lang=sh|title=Modified job submission script|1= |
Revision as of 17:20, 16 December 2016
Using LAMMPS
Important
The initial setup must be completed for the following to work as expected.
The initial setup must be completed for the following to work as expected.
A sample torque submission script is located at
{{HPC-Base-Dir}}
Parameter unnamed not defined. For correct usage see template's documention.
.
#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
If your LAMMPS input file is
{{Path}}
Parameter unnamed not defined. For correct usage see template's documention.
, you can directly send submit this script to run your simulation on the cluster.
#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