This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: omp_get_num_procs() not working on macintosh?
- From: dominiq at lps dot ens dot fr (Dominique Dhumieres)
- To: gcc at gcc dot gnu dot org
- Date: Sun, 17 Feb 2008 22:26:02 +0100
- Subject: Re: omp_get_num_procs() not working on macintosh?
> Perhaps Darwin doesn't define _SC_NPROCESSORS_ONLN
It is defined on Darwin9:
[ibook-dhum] f90/bug% grep _SC_NPROCESSORS_ONLN /usr/include/*
/usr/include/unistd.h:#define _SC_NPROCESSORS_ONLN 58
but apparently not for Darwin8.
Dominique