====== Gromacs on Farber ====== Templates for Grid Engine queue submission scripts are available for batch GROMACS jobs in ''/opt/shared/templates/gridengine/gromacs''. Copy and edit the template based on your job by following the usage described in ''gromacs.qs''. It is a good idea to periodically check in ''/opt/shared/templates/gridengine/gromacs'' on a specific cluster for changes in existing templates, or the addition of new templates, designed to provide the best performance for a particular version of GROMACS on that cluster. ===== Batch job ===== On Farber, the template (''/opt/shared/templates/gridengine/gromacs.qs'' specifies a number of resource options to provide the best performance. The number of slots specified for ''NPROC'' should be a multiple of 20 in conjunction with specifying [[abstract:farber:runjobs:queues#farber-exclusive-access|exclusive access]] to allow your job to run on the node(s) required based on the number of slots requested without any other jobs running on those node(s) too. Please remember exclusive access on Farber rounds up NPROC to a multiple of 20. In this case, set the WANT_NPROC variable to the actual core count you want. The script will "load balance" that core count across the N nodes the job receives. By default the template uses double-precision (''md_rund''), however uncommenting ''USE_SINGLE_PRECISION=YES'' will specify the single-precision version (''md_run'') instead.