Hi,
I'm attempting to install healpix on a 64 bit parallelizable machine but cannot seem to make the fortran configuration. On another local machine where I have healpix installed serializable I run into no problems. When reproducing the installation on the parallelizable machine, I can correctly build the C routines and they compile no problem. When I configure the fortran options (I have gfortran installed) and attempt to make with the command
> make-f90
I get this error:
make[1]: Entering directory `/usr/local/src/Healpix_2.20a/src/f90/psht'
gcc -O -fopenmp -I c_utils -I libfftpack -I libpsht -I libpsht_healpix_f -c libpsht_all.c -o libpsht_all.o
ar -rsv libpsht_healpix_f.a libpsht_all.o
ar: creating libpsht_healpix_f.a
a - libpsht_all.o
make[1]: Leaving directory `/usr/local/src/Healpix_2.20a/src/f90/psht'
make[1]: Entering directory `/usr/local/src/Healpix_2.20a/src/f90/mod'
compiling healpix_types.F90
gcc -O -fopenmp -c -o cgetEnvironment.o cgetEnvironment.c
gfortran -O3 -I/usr/local/src/Healpix_2.20a/include -DGFORTRAN -fno-second-underscore -fopenmp -c -o indmed.o indmed.f90
gfortran -O3 -I/usr/local/src/Healpix_2.20a/include -DGFORTRAN -fno-second-underscore -fopenmp -c -o utilities.o utilities.f90
compiling bit_manipulation.F90
compiling extension.F90
compiling long_intrinsic.F90
In file long_intrinsic.F90:168
mysize = size(array, dim=dim)
1
Error: 'dim' argument of 'size' intrinsic at (1) must be of kind 8
In file long_intrinsic.F90:156
Any ideas, comments?
Healpix v2.20a Fortran installation issues on 64 architecture
-
- Posts: 1
- Joined: June 07 2011
- Affiliation: Richmond
-
- Posts: 5
- Joined: February 28 2007
- Affiliation: Princeton University
Healpix v2.20a Fortran installation issues on 64 architectur
I had the same issues with gfortran (not resolved), but these issues disappeared when I used ifort.
Good luck!
Good luck!
Healpix v2.20a Fortran installation issues on 64 architectur
Quick update on this: You probably need a more recent version of gfortran. See here.