question to OMP_DISPLAY_ENV
Siegmar Gross
Siegmar.Gross@informatik.hs-fulda.de
Mon May 5 15:47:00 GMT 2014
Hi,
I'm using gcc-4.9.0 and have a question OMP_DISPLAY_ENV.
Is it possible to display which thread is bound to which
core or is it planned to support such a thing in a later
release of gcc? At the moment I don't get this information.
linpc1 OpenMP 102 \gcc -fopenmp omp_default_env.c
linpc1 OpenMP 103 setenv OMP_DISPLAY_ENV verbose
linpc1 OpenMP 104 setenv OMP_PROC_BIND spread
linpc1 OpenMP 105 setenv OMP_PLACES cores
linpc1 OpenMP 106 a.out
OPENMP DISPLAY ENVIRONMENT BEGIN
_OPENMP = '201307'
OMP_DYNAMIC = 'FALSE'
OMP_NESTED = 'FALSE'
OMP_NUM_THREADS = '4'
OMP_SCHEDULE = 'DYNAMIC'
OMP_PROC_BIND = 'SPREAD'
OMP_PLACES = '{0},{1},{2},{3}'
OMP_STACKSIZE = '140301846657264'
OMP_WAIT_POLICY = 'PASSIVE'
OMP_THREAD_LIMIT = '4294967295'
OMP_MAX_ACTIVE_LEVELS = '2147483647'
OMP_CANCELLATION = 'FALSE'
OMP_DEFAULT_DEVICE = '0'
GOMP_CPU_AFFINITY = ''
GOMP_STACKSIZE = '140301846657264'
GOMP_SPINCOUNT = '300000'
OPENMP DISPLAY ENVIRONMENT END
_OPENMP = 201307
omp_num_procs = 4
omp_num_threads = 4
omp_max_threads = 4
omp_dynamic = false
omp_nested = false
omp_level = 1
omp_active_level = 1
omp_max_active_level = 2147483647
omp_thread_limit = 2147483647
omp_schedule = dynamic,1
omp_cancellation = false
omp_default_device = 0
omp_num_devices = 0
omp_num_teams = 1
omp_team_num = 0
omp_proc_bind = spread
linpc1 OpenMP 107
Thank you very much for any answer in advance.
Kind regards
Siegmar
More information about the Gcc-help
mailing list