CAMB: openmp for NAG f95

Use of Cobaya. camb, CLASS, cosmomc, compilers, etc.
Post Reply
Joanna Dunkley
Posts: 2
Joined: January 21 2006
Affiliation: Princeton University

CAMB: openmp for NAG f95

Post by Joanna Dunkley » January 21 2006

Does anyone know if the NAG f95 compiler supports OPENMP, and if so how to switch it on when compiling? I'm trying to get CAMB to run on two processors.
thanks! Jo

Jochen Weller
Posts: 45
Joined: September 24 2004
Affiliation: Ludwig-Maximilians-University Munich
Contact:

CAMB: openmp for NAG f95

Post by Jochen Weller » January 25 2006

Hi Jo

I looked at this once and failed :( You require a SMP library,
see:
http://www.nag.com/numeric/FL/FSdescription.asp

unfortunately I could not find it for Mac OS X.
But maybe this is a starting point ?

Cheers
Jochen

Edd Edmondson
Posts: 1
Joined: September 26 2005
Affiliation: University of Portsmouth

CAMB: openmp for NAG f95

Post by Edd Edmondson » January 26 2006

Currently, if you need OpenMP for Fortran 95 on OS X then your best bet is probably the Absoft compiler (if you can find the money for it). The Omni compilers only do F77 from what I can see.

http://hpc.sf.net/ is a handy site for compilers on OS X.

Joanna Dunkley
Posts: 2
Joined: January 21 2006
Affiliation: Princeton University

CAMB: openmp for NAG f95

Post by Joanna Dunkley » February 03 2006

Thanks Jochen and Edd!

So far no luck with the smp library, I am trying on linux actually, not mac osx.
I will probably try instead to get hold of the intel compiler which I know works fine with openmp.

cheers, Jo

Post Reply