Compliling problem with Mac OSX High Sierra

General information etc.
Post Reply
j0937065063
Posts: 12
Joined: Mon Apr 03, 2017 4:53 pm
Security question 1: No
Security question 2: 64
Location: Arlington, Virginia, US
Contact:

Compliling problem with Mac OSX High Sierra

Post by j0937065063 » Tue Jun 05, 2018 11:11 pm

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?

Thanks!


Best,
Vince

Ville Valtavirta
Posts: 418
Joined: Fri Sep 07, 2012 1:43 pm
Security question 1: No
Security question 2: 92

Re: Compliling problem with Mac OSX High Sierra

Post by Ville Valtavirta » Wed Jun 06, 2018 9:38 am

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: https://medium.com/@alexandersvetly/cla ... b0638cc4df

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

-Ville

Post Reply