Differences
This shows you the differences between two versions of the page.
| Both sides previous revision
Previous revision
Next revision
|
Previous revision
|
howto:gpu_gromacs [2014/03/17 17:31] swyngaard Expected output |
howto:gpu_gromacs [2023/09/11 09:22] (current) wikiadmin |
| | |
| | ====== OUTDATED ====== |
| | |
| | This page refers to the discontinued SUN cluster. See the page [[howto:gromacs|Gromacs How To]] for the new cluster. |
| | |
| | |
| | |
| ====== Gromacs ====== | ====== Gromacs ====== |
| This page describes how to use Gromacs 4.6.5 on the GPU nodes of sun.chpc.ac.za. | This page describes how to use Gromacs 4.6.5 on the GPU nodes of sun.chpc.ac.za. |
| mpirun mdrun -s adh_cubic_vsites_pme.tpr -nb gpu_cpu -gpu_id 00 | mpirun mdrun -s adh_cubic_vsites_pme.tpr -nb gpu_cpu -gpu_id 00 |
| </file> | </file> |
| **NOTE:** The ''-s'' flag above specifies the input file to be run. The ''-nb'' flag specifies that the non-bonded force calculations should be performed on a hybrid GPU-CPU combination which currently yields the best performance. You can optionally set this to ''gpu'' if you prefer to perform the non-bonded force calculations exclusively on the GPU or to ''cpu'' if you prefer that all calculations are run on the CPU. The parameter to ''-gpu_id'' flag denotes the index of the GPU device each MPI process should use. In the above case, there is one GPU device per node and two MPI processes per node. So we specify that each MPI process use the first GPU device by setting the ''-gpu_id'' string to ''00''. | **NOTE:** The ''-s'' flag above specifies the input file to be run. The ''-nb'' flag specifies that the non-bonded force calculations should be performed on a hybrid GPU-CPU combination which currently yields the best performance. You can optionally set this to ''gpu'' if you prefer to perform the non-bonded force calculations exclusively on the GPU or to ''cpu'' if you prefer that all calculations are run on the CPU. The parameter to the ''-gpu_id'' flag denotes the index of the GPU device each MPI process should use. In the above case, there is one GPU device per node and two MPI processes per node. So we specify that each MPI process use the first GPU device by setting the ''-gpu_id'' string to ''00''. |
| |
| ==== Submit the job ==== | ==== Submit the job ==== |