Page 1 of 1

Compliling problem with Mac OSX High Sierra

Posted: Tue Jun 05, 2018 11:11 pm
by j0937065063
Hello Jaakko:

I've been trying to compile the SERPENT 2.1.30 on Mac OSX Sierra.

So far I can compile it with gcc-8 for the serial version of SERPENT.

But when I try to compile the parallel version by activate the CC = mpicc in the Makefile, it always gives me this error:

clang: error: unsupported option '-fopenmp'

If I use the gcc compiler instead of gcc-8, it gives me the same error.

I've searched around, but have not been able to resolve it.

Would you please provide some help?



Re: Compliling problem with Mac OSX High Sierra

Posted: Wed Jun 06, 2018 9:38 am
by Ville Valtavirta
Hi Vince,

I don't have any experience on using Serpent on OSX, but googling seems to suggest that at least the default clang compiler in OSX doesn't support OpenMP parallelization.

Perhaps this will help: ... b0638cc4df

Or might be that some other Apple users can offer some pointers.