- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to use the functions
OMP_GET_MAX_THREADS()
OMP_GET_NUM_PROCS()
using the intel fortran compiler 8.1.023
on a SGI Altix 3700 with 64 processors
running linux
jobs are submitted with NCPUS=x and this
sets the enviroment variable
OMP_NUM_THREADS=x
when these functions are called from a serial
region of the code they give erroneous
results, e.g.
OMP_GET_MAX_THREADS() always returns 1 even when NCPUS>1
OMP_GET_NUM_PROCS() returns 1 or sometimes 4
how are these functions determined
and is this a compiler error ?
OMP_GET_MAX_THREADS()
OMP_GET_NUM_PROCS()
using the intel fortran compiler 8.1.023
on a SGI Altix 3700 with 64 processors
running linux
jobs are submitted with NCPUS=x and this
sets the enviroment variable
OMP_NUM_THREADS=x
when these functions are called from a serial
region of the code they give erroneous
results, e.g.
OMP_GET_MAX_THREADS() always returns 1 even when NCPUS>1
OMP_GET_NUM_PROCS() returns 1 or sometimes 4
how are these functions determined
and is this a compiler error ?
Link Copied
0 Replies

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page