public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* No access to OpenMP 5 in GCC 10.3.0
@ 2021-06-21  7:07 Danial POUR ARAB
  0 siblings, 0 replies; only message in thread
From: Danial POUR ARAB @ 2021-06-21  7:07 UTC (permalink / raw)
  To: gcc-help

Hello,

I want to use OpenMP in GCC 10.3.0 but it only recognizes OpenMP 4.5. Do
you know how I can activate OpenMP 5 ?

I installed and loaded GCC 10.3.0 via Spack :

   - $ Spack install gcc@10.3.0 +nvptx
   - $ Spack load gcc@10.3.0

I set  OMP_DISPLAY_ENV to  TRUE and I've got the following message:

OPENMP DISPLAY ENVIRONMENT BEGIN
  _OPENMP = '201511'
  OMP_DYNAMIC = 'FALSE'
  OMP_NESTED = 'FALSE'
  OMP_NUM_THREADS = '12'
  OMP_SCHEDULE = 'DYNAMIC'
  OMP_PROC_BIND = 'FALSE'
  OMP_PLACES = ''
  OMP_STACKSIZE = '0'
  OMP_WAIT_POLICY = 'PASSIVE'
  OMP_THREAD_LIMIT = '4294967295'
  OMP_MAX_ACTIVE_LEVELS = '2147483647'
  OMP_CANCELLATION = 'FALSE'
  OMP_DEFAULT_DEVICE = '0'
  OMP_MAX_TASK_PRIORITY = '0'
  OMP_DISPLAY_AFFINITY = 'FALSE'
  OMP_AFFINITY_FORMAT = 'level %L thread %i affinity %A'
OPENMP DISPLAY ENVIRONMENT END

My system info is :

   - Intel® Xeon(R) W-2135 CPU @ 3.70GHz × 12
   - NVIDIA Quadro P2000/PCIe/SSE2
   - Debian GNU/Linux 10 (buster)

Thank you in advance for your help.

Best regards,
Danial

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-06-21  7:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-21  7:07 No access to OpenMP 5 in GCC 10.3.0 Danial POUR ARAB

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).