View topic | Edit | WYSIWYGAttachPrintable
r2 - 15 Jul 2010 - 13:52:52 - DavidAcremanYou are here: Astrophysics Wiki >  Zen Web  >  RunningJobs > CombiningOpenmpAndMpi

Combining OpenMP and MPI

Some jobs will run most efficiently using a combination of OpenMP and MPI.

Poor performance can result if multiple OpenMP threads are allocated to a single CPU core. To make sure that the OpenMP threads run on different cores include

setenv KMP_AFFINITY 'physical,0'

in the PBS submit file.

If running a hybrid job then you may need to use the dplace command to put the OpenMP threads on different cores. See the example job file /usr/local/examples/qsub_script for how to do this.

-- DavidAcreman - 17 Oct 2008

View topic | Edit |  | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r5 < r4 < r3 < r2 < r1 | More topic actions...

key Log In or Register
Information

Main Web Users Groups Index Search Changes Notifications Statistics Preferences


Webs Main Sandbox TWiki Zen Information

Main Web Users Groups Index Search Changes Notifications Statistics Preferences


Webs Main Sandbox TWiki Zen


 
Astrophysics Wiki


Edit Wysiwyg Attach Printable
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Astrophysics Wiki? Send feedback