OpenMP

From UF HPC Wiki

Jump to: navigation, search

Running Programs with OpenMP directives

If want to run a program with OpenMP directives, is there anything special I should include in my PBS submission script, besides setting OMP_NUM_THREADS?

No. Just make sure you ask for "place = pack" and that the number of cpus you ask for matches the OMP_NUM_THREADS value.

Note that each regular compute node has 4 cpus. There are two "fat" nodes which are 8-way smp machines. If you ask for more than 4cpus, they will only be able to run on the fat nodes.

What about code compiled with auto-parallelization options, but no OpenMP directives?

The same applies as the auto-parallelization inserts the openmp code/directives for you.

Personal tools