| View previous topic :: View next topic |
| Author |
Message |
mkcolg
Joined: 30 Jun 2004 Posts: 4996 Location: The Portland Group Inc.
|
Posted: Fri Feb 22, 2013 2:39 pm Post subject: |
|
|
| Quote: | | Warning: Number of emulated threads (14) is less than available cpus (24) | This means that the number of threads that you're launching is very small (14) and the default is to use all cores. The solution is to set environment variable "OMP_NUM_THREADS=14" to limit the number of threads spawned.
That begs the question, why does your program use so few threads?
- Mat |
|
| Back to top |
|
 |
amitamritkar
Joined: 02 Oct 2009 Posts: 11
|
Posted: Fri Feb 22, 2013 2:55 pm Post subject: |
|
|
I use OMP_NUM_THREADS=1 by default. I changed it to OMP_NUM_THREADS=14 and tried running the code in emulator mode but still the same issue. I get 100s of warnings and then the code errors out with this message, Error: _mp_task_yield/_mp_task_sync does not work in this case.
This is a small test case which I am using to make sure that the new compiler runs without any issues and thus the small number of threads.
Let me repeat, this case runs without any problem with PGI version 10.6 on GPU. This is a large FORTRAN code with ~200K lines.
~Amit |
|
| Back to top |
|
 |
mkcolg
Joined: 30 Jun 2004 Posts: 4996 Location: The Portland Group Inc.
|
Posted: Fri Feb 22, 2013 3:35 pm Post subject: |
|
|
| Quote: | | Let me repeat, this case runs without any problem with PGI version 10.6 on GPU. This is a large FORTRAN code with ~200K lines. | I understand but unfortunately without a reproducing example, issues like these are very difficult for me to determine. I simply don't have enough information and can only make guesses.
- Mat |
|
| Back to top |
|
 |
amitamritkar
Joined: 02 Oct 2009 Posts: 11
|
Posted: Fri Feb 22, 2013 4:42 pm Post subject: |
|
|
I think I can send you the tarball with the executable and the test case.
~Amit |
|
| Back to top |
|
 |
mkcolg
Joined: 30 Jun 2004 Posts: 4996 Location: The Portland Group Inc.
|
|
| Back to top |
|
 |
|