This shows you the differences between two versions of the page.
Next revision | Previous revision |
software:openfoam:farber [2017-10-23 18:01] – created sraskar | software:openfoam:farber [2021-10-13 17:09] (current) – anita |
---|
==== Running your OpenFOAM application on Farber ==== | ==== Running your OpenFOAM application on Farber ==== |
| |
Using the ''openmpi-ib.qs'' job script template found in ''/opt/templates/gridengine/openmpi'' provides the best performance for a parallel MPI run for OpenFOAM applications. Once you have copied the template for your job script (e.g. ''qsub_sowfa.qs''), then edit the following for your OpenFOAM application: | Using the ''openmpi-ib.qs'' job script template found in ''/opt/shared/templates/gridengine/openmpi'' provides the best performance for a parallel MPI run for OpenFOAM applications. Once you have copied the template for your job script (e.g. ''qsub_sowfa.qs''), then edit the following for your OpenFOAM application: |
| |
- Modify NPROC to select the number of slots (cores). | - Modify NPROC to select the number of slots (cores). |
- Modify the memory specification ''-l m_mem_free'' according to the instructions if you want to have more than 1GB of memory per slot (core). | - Modify the memory specification ''-l m_mem_free'' according to the instructions if you want to have more than 1GB of memory per slot (core). |
- Modify the email notification ''-m' and ''-M' according to the instructions if you want email to be sent at the end of the job, if the job is aborted, rescheduled, or suspended. | - Modify the email notification ''-m'' and ''-M'' according to the instructions if you want email to be sent at the end of the job, if the job is aborted, rescheduled, or suspended. |
- Setup your environment with your newly built OpenFOAM application by replacing the ''vpkg_require openmpi/1.4.4-gcc'' with your VALET package name (e.g. ''sowfa/2.0-OF2.1-gcc'') | - Setup your environment with your newly built OpenFOAM application by replacing the ''vpkg_require openmpi/1.4.4-gcc'' with your VALET package name (e.g. ''sowfa/2.0-OF2.1-gcc'') |
- Setup the MPI executable and options (arguments) for your OpenFOAM application (e.g. ''ABLSolver -parallel > log.ABLSolver.3.${JOB_ID} 2>err.ABLSolver.3'') | - Setup the MPI executable and options (arguments) for your OpenFOAM application (e.g. ''ABLSolver -parallel > log.ABLSolver.3.${JOB_ID} 2>err.ABLSolver.3'') |