Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I run an OpenMP or SHMEM (Shared Memory) job?

Job memory OpenMP run Shared shmem
0
Posted

How do I run an OpenMP or SHMEM (Shared Memory) job?

0

OpenMP and SHMEM jobs on the SGI Altix 3700 require the use of the dplace command so resources are properly assigned. A sample dplace command for a 16 CPU job would look like this: &nbsp&nbsp&nbspdplace -x2 -c0-15 {My Program} The -c option tells dplace how many CPUs to use, in range form starting with CPU 0. If your code required 64 CPUs, you would need -c0-63. As usual, OpenMP codes also need to set the OMP_NUM_THREADS variable to the number of CPUs you need.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.