https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78152
--- Comment #6 from jvdelisle at charter dot net --- On 11/01/2016 01:45 PM, sgk at troutmask dot apl.washington.edu wrote: --- snip --- > Fortunately, I use FreeBSD as my operating system, which > unfortunately limits me to gfortran. I posted to c.l.f, > but haven't got much feedback. > Hi Steve, I am in the process of building OpenCoarrays and to give it a spin. Maybe we can think of a reasonable test case to use to test the feature that is not well defined yet and from a practical point view, see what makes sense. Also, off topic. (pardon the long wind here) I had a meeting with Damian Rousan today and we briefly talked about OpenCoarrays. He has mentioned on the gfortran list about enabling it into the build of gfortran if a user chooses to do so. So I thought I would take a look. Currently OpenCoarrays is built independent of gfortran and in fact if you don't have the right version of gfortran available, it will build gcc/gfortran as well as well. I am running his install script now, and one issue is that it builds gcc itself in single thread mode. I want to modify this so that if it detects multiple cores available, it can ask the user if they want to use these during build of gcc. On Linux I can cat /proc/cpuinfo to get at the information about the machine. Is there an equivalent FreeBSD way to query number of cores available? Jerry