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

From HPC Wiki
Jump to:navigation Jump to:search
(Created page with "{{Template}} Use this template to specify the path to HPC examples. == Parameters == ; none. == Usage == See the template's testcases:...")
 
No edit summary
Line 3: Line 3:


== Parameters ==
== Parameters ==
; none.
{{Template Parameter Table|1=
 
{{Template Parameter|lang|Language for syntax highlighting|required=no}}
{{Template Parameter|title|Title for filebox|required=no}}
}}


== Usage ==
== Usage ==

Revision as of 13:02, 21 December 2016

Note
This page is a template. It contains some standardized, often used text, which can be transcluded inside other pages.

As this template is widely used in our wiki, it may be protected in which case only staff members can change it. Use the discussion page to propose enhancements or fixes, or to voice your opinion.

Use this template to specify the path to HPC examples.

Parameters

Parameter name Required? Default value Description
lang No (n/a) Language for syntax highlighting
title No (n/a) Title for filebox

Usage

See the template's testcases:

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