Bureaucrats, cc_docs_admin, cc_staff
2,879
edits
m (add categories Software and BiomolecularSimulation) |
(update sample jobs to StdEnv/2020) |
||
Line 96: | Line 96: | ||
The input file below can be used with either of the example job scripts. | The input file below can be used with either of the example job scripts. | ||
<tabs> | <tabs> | ||
<!--T:26--> | <!--T:26--> | ||
<tab name="INPUT"> | <tab name="INPUT"> | ||
</translate> | |||
{{File | {{File | ||
|name=lammps.in | |name=lammps.in | ||
|lang="txt" | |lang="txt" | ||
|contents= | |contents= | ||
# 3d Lennard-Jones melt | # 3d Lennard-Jones melt / fusion | ||
units lj | units lj | ||
atom_style atomic | atom_style atomic | ||
lattice fcc 0.8442 | lattice fcc 0.8442 | ||
region box block 0 15 0 15 0 15 | region box block 0 15 0 15 0 15 | ||
Line 118: | Line 117: | ||
mass 1 1.0 | mass 1 1.0 | ||
velocity all create 1.44 87287 loop geom | velocity all create 1.44 87287 loop geom | ||
pair_style lj/cut 2.5 | pair_style lj/cut 2.5 | ||
pair_coeff 1 1 1.0 1.0 2.5 | pair_coeff 1 1 1.0 1.0 2.5 | ||
Line 127: | Line 124: | ||
neigh_modify delay 5 every 1 | neigh_modify delay 5 every 1 | ||
fix 1 all nve | fix 1 all nve | ||
thermo 5 | thermo 5 | ||
Line 133: | Line 129: | ||
write_data config.end_sim | write_data config.end_sim | ||
# End input / Fin d'input | |||
# End | |||
}} | }} | ||
</tab> | </tab> | ||
<translate> | |||
<!--T:33--> | <!--T:33--> | ||
<tab name="Serial job"> | <tab name="Serial job"> | ||
</translate> | |||
{{File | {{File | ||
|name=run_lmp_serial.sh | |name=run_lmp_serial.sh | ||
Line 145: | Line 143: | ||
|contents= | |contents= | ||
#!/bin/bash | #!/bin/bash | ||
#SBATCH --ntasks=1 | #SBATCH --ntasks=1 | ||
#SBATCH --mem-per-cpu=2500M | #SBATCH --mem-per-cpu=2500M | ||
#SBATCH --time=0-00:30 | #SBATCH --time=0-00:30 | ||
module load StdEnv/2020 intel/2020.1.217 openmpi/4.0.3 lammps-omp/20210929 | |||
< | lmp < lammps.in > lammps_output.txt | ||
}} | }} | ||
</tab> | </tab> | ||
<translate> | |||
<!--T:41--> | <!--T:41--> | ||
<tab name="MPI job"> | <tab name="MPI job"> | ||
</translate> | |||
{{File | {{File | ||
|name=run_lmp_mpi.sh | |name=run_lmp_mpi.sh | ||
Line 180: | Line 163: | ||
|contents= | |contents= | ||
#!/bin/bash | #!/bin/bash | ||
#SBATCH --ntasks=4 | |||
#SBATCH --mem-per-cpu=2500M | |||
#SBATCH --time=0-00:30 | |||
module load StdEnv/2020 intel/2020.1.217 openmpi/4.0.3 lammps-omp/20210929 | |||
module load | |||
< | srun lmp < lammps.in > lammps_output.txt | ||
}} | }} | ||
</tab> | </tab> | ||
</tabs> | </tabs> | ||
<translate> | |||
= Performance = <!--T:50--> | = Performance = <!--T:50--> |