Template:HPC-torque-lmp/testcases: Difference between revisions

From HPC Wiki
Jump to:navigation Jump to:search
(Created page with "<noinclude>{{Template testcases notice}}</noinclude> {{Testcase|title=No parameter |<nowiki>{{HPC-torque-lmp}}</nowiki> |{{HPC-torque-lmp}} |{{HPC-torque-lmp/sandbox}} }} {{T...")
 
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 6: Line 6:
}}
}}


{{Testcase|title=lang
{{Testcase|title=Parameter: lang=bash
|<nowiki>{{HPC-torque-lmp|lang=bash}}</nowiki>
|<nowiki>{{HPC-torque-lmp|lang=bash}}</nowiki>
|{{HPC-torque-lmp|lang=bash}}
|{{HPC-torque-lmp|lang=bash}}
|{{HPC-torque-lmp/sandbox}}
|{{HPC-torque-lmp/sandbox|lang=bash}}
}}
}}


{{Testcase|title=lang, title
{{Testcase|title=Parameters: lang=bash, filename=<nowiki>{{HPC-Samples-Dir|flory}}/torque-lmp.sh</nowiki>
|<nowiki>{{HPC-torque-lmp|lang=bash|filename={{HPC-Samples-Dir|flory}}/torque-lmp.sh}}</nowiki>
|{{HPC-torque-lmp|lang=bash|filename={{HPC-Samples-Dir|flory}}/torque-lmp.sh}}
|{{HPC-torque-lmp/sandbox|lang=bash|filename={{HPC-Samples-Dir|flory}}/torque-lmp.sh}}
}}
 
{{Testcase|title=Parameter: title=Here is the file
|<nowiki>{{HPC-torque-lmp|title=Here is the file}}</nowiki>
|{{HPC-torque-lmp|title=Here is the file}}
|{{HPC-torque-lmp/sandbox|title=Here is the file}}
}}
 
{{Testcase|title=Parameters: lang=bash, title=Here is the file
|<nowiki>{{HPC-torque-lmp|lang=bash|title=Here is the file}}</nowiki>
|<nowiki>{{HPC-torque-lmp|lang=bash|title=Here is the file}}</nowiki>
|{{HPC-torque-lmp|lang=bash|title=Here is the file}}
|{{HPC-torque-lmp|lang=bash|title=Here is the file}}
|{{HPC-torque-lmp/sandbox}}
|{{HPC-torque-lmp/sandbox|lang=bash|title=Here is the file}}
}}
 
{{Testcase|title=Parameter: inputfile=ellipse.gayberne
|<nowiki>{{HPC-torque-lmp|inputfile=ellipse.gayberne}}</nowiki>
|{{HPC-torque-lmp|inputfile=ellipse.gayberne}}
|{{HPC-torque-lmp/sandbox|inputfile=ellipse.gayberne}}
}}
 
{{Testcase|title=Parameters: email=me@example.com, jobname=ellipse-lmp, inputfile=ellipse.gayberne
|<nowiki>{{HPC-torque-lmp|email=me@example.com|jobname=ellipse-lmp|inputfile=ellipse.gayberne}}</nowiki>
|{{HPC-torque-lmp|email=me@example.com|jobname=ellipse-lmp|inputfile=ellipse.gayberne}}
|{{HPC-torque-lmp/sandbox|email=me@example.com|jobname=ellipse-lmp|inputfile=ellipse.gayberne}}
}}
}}

Latest revision as of 15:50, 9 January 2017

No parameter
Wiki code {{HPC-torque-lmp}}

Main version
FILE torque-lmp.sh
#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
Sandbox version Template:HPC-torque-lmp/sandbox
Parameter: lang=bash
Wiki code {{HPC-torque-lmp|lang=bash}}

Main version
FILE torque-lmp.sh
#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
Sandbox version Template:HPC-torque-lmp/sandbox
Parameters: lang=bash, filename={{HPC-Samples-Dir|flory}}/torque-lmp.sh
Wiki code {{HPC-torque-lmp|lang=bash|filename={{HPC-Samples-Dir|flory}}/torque-lmp.sh}}

Main version
FILE /home/bgo/shared/samples/torque-lmp.sh
#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
Sandbox version Template:HPC-torque-lmp/sandbox
Parameter: title=Here is the file
Wiki code {{HPC-torque-lmp|title=Here is the file}}

Main version
FILE torque-lmp.shHere is the file
#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
Sandbox version Template:HPC-torque-lmp/sandbox
Parameters: lang=bash, title=Here is the file
Wiki code {{HPC-torque-lmp|lang=bash|title=Here is the file}}

Main version
FILE torque-lmp.shHere is the file
#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
Sandbox version Template:HPC-torque-lmp/sandbox
Parameter: inputfile=ellipse.gayberne
Wiki code {{HPC-torque-lmp|inputfile=ellipse.gayberne}}

Main version
FILE torque-lmp.sh
#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=ellipse.gayberne

doLAMMPS
Sandbox version Template:HPC-torque-lmp/sandbox
Parameters: email=me@example.com, jobname=ellipse-lmp, inputfile=ellipse.gayberne
Wiki code {{HPC-torque-lmp|email=me@example.com|jobname=ellipse-lmp|inputfile=ellipse.gayberne}}

Main version
FILE torque-lmp.sh
#PBS -l walltime=10:00:00,mem=15gb,nodes=1:ppn=16
#PBS -M me@example.com
#PBS -m bae
#PBS -q default
#PBS -N ellipse-lmp
#PBS -o myoutput.txt
#PBS -j oe

. $(which lmp-config)

# The LAMMPS input file must have a '.lmp' extension (e.g., mysimulation.lmp).
INPUTFILE=ellipse.gayberne

doLAMMPS
Sandbox version Template:HPC-torque-lmp/sandbox