cc_staff
120
edits
(Marked this version for translation) |
No edit summary |
||
Line 13: | Line 13: | ||
<!--T:4--> | <!--T:4--> | ||
The following example is a sander serial job script, mysub.sh (inputs: in.md, crd.md.23, prmtop) | The following example is a sander serial job script, mysub.sh (inputs: in.md, crd.md.23, prmtop) | ||
{{File | |||
|name=mysub.sh | |||
|lang="bash" | |||
|contents= | |||
#!/bin/bash | #!/bin/bash | ||
#SBATCH --ntasks=1 # 1 cpu, serial job | #SBATCH --ntasks=1 # 1 cpu, serial job | ||
Line 20: | Line 24: | ||
module load amber/16 | module load amber/16 | ||
sander -O -i in.md -c crd.md.23 -o cytosine.out | sander -O -i in.md -c crd.md.23 -o cytosine.out | ||
}} | |||
<!--T:5--> | <!--T:5--> | ||
The following example is a sander.MPI parallel job script, mysub.sh | The following example is a sander.MPI parallel job script, mysub.sh | ||
{{File | |||
|name=mysub.sh | |||
|lang="bash" | |||
|contents= | |||
#!/bin/bash | #!/bin/bash | ||
#SBATCH --nodes=1 --ntasks-per-node=32 # 1 node with 32 cpus, MPI job | #SBATCH --nodes=1 --ntasks-per-node=32 # 1 node with 32 cpus, MPI job | ||
Line 30: | Line 39: | ||
module load amber/16 | module load amber/16 | ||
srun sander.MPI -ng 2 -groupfile groups # srun command | srun sander.MPI -ng 2 -groupfile groups # srun command | ||
}} | |||
<!--T:6--> | <!--T:6--> |