Hi,
I'm not able to detect the number of processors using
omp_get_num_procs() on
a macintosh.
I've installed gcc/g++ v4.3 from hpc.sourceforge.net (the "Tiger"
version)
[Url 1 below]. (Installed = extracted to /)
$ g++ --version
g++ (GCC) 4.3.0 20080125 (experimental)
I
> > 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
Yep, I'm having trouble wit