First steps
- Copy namd_tutorial to your /scratch directory
- Enter the namd_tutorial and check the files. You will see an slm file and also 3 more files into water folder (your simulation inputs).
- Open the water_std.slm file and check the SLURM directives( #SBATCH ... ).
- Modify the water_std.slm file to request 12 cores, 3900Mb/core on standard nodes
Modify the water_std.slm file to work on $SCRATCH directory (it requieres to move inputs to $SCRATCH).
- Modify the water_std.slm file to launch namd/2.13 by mpi (srun command) using the input files provided in namd_tutorial folder .
Modify the water_std.slm file to move the output to a folder called outputs inside the original namd_tutorial folder.
- Launch the job. You can check the progress by the command “squeue”.
More specific
- Modify the water_std.slm file to run only on one node and 48 cores
GPU Version
- Now, you would to launch NAMD code on GPU (because you discovered that provides better performance). Copy namd_std.slm to namd_gpu.slm and edit it to run on one GPU. Remember that you need 24 cores on 1 Node, the GPU partition and request a GPU as a generic resource.
Edit your “Executable” and final sections to adapt it to a threaded GPU run (not MPI)
Compare the results between architectures. Which one is faster?