HEALPix and g95

Use of Healpix, camb, CLASS, cosmomc, compilers, etc.
Post Reply
Jason McEwen
Posts: 13
Joined: January 29 2005
Affiliation: University of Cambridge
Contact:

HEALPix and g95

Post by Jason McEwen » January 29 2005

Has anyone managed to compile HEALPix using g95?

I've added the following hack (in the appropriate places) to the configure script so that g95 is recognised:

Code: Select all

 	
IdentifyCompiler () {
...
ng95="g95"
...
elif [ $ng95 != 0 ] ; then
FCNAME="g95 compiler (note hack added to recognise)"
OFLAGS="-O2"
CC=gcc
...
However, when I run make I get the following error:

Code: Select all

healpix_fft.F90: In function `healpix_fft_MP_complex_fft_orig__':
healpix_fft.F90:684: internal compiler error: Segmentation fault
Is the problem perhaps due to a bug in g95? (I've had g95 working with CAMB so it's installed correctly.)

Eric Hivon
Posts: 7
Joined: September 25 2004
Affiliation: IAP

HEALPix and g95

Post by Eric Hivon » March 03 2005

Hi Jason,

It is indeed a (small) g95 problem.
See http://www.eso.org/science/healpix/cont ... Forum.html
for a patch of the Healpix source files that works with March 2, 2005 version of g95

Eric

Post Reply