Healpix 2.01 compilation [SOLVED]

Use of Cobaya. camb, CLASS, cosmomc, compilers, etc.
Post Reply
Daniel Vetrugno
Posts: 2
Joined: May 15 2008
Affiliation: Università del Salento, Italy

Healpix 2.01 compilation [SOLVED]

Post by Daniel Vetrugno » May 15 2008

Hi, I have configured Healpix with default flags using g95 as compiler. In particular:


astro02:~/Healpix_2.01> ./configure
you seem to be running Linux
enter name of your F90 compiler (): g95
Note: your Fortran compiler is g95 compiler
compiled Healpix products will be:
BINDIR = ./bin[suffix]
INCDIR = ./include[suffix]
LIBDIR = ./lib[suffix]
and the Makefile will be copied into Makefile[suffix]
enter suffix for directories ():
compiled Healpix products will be:
BINDIR = ./bin
INCDIR = ./include
LIBDIR = ./lib
enter compilation flags for g95 compiler (-I[tex](INCDIR)):
enter optimisation flags for g95 compiler (-O3):
Fortran code will be compiled with g95 -O3 -I[/tex](INCDIR)
enter name of your C compiler (gcc):
enter compilation/optimisation flags for C compiler (-O):
C subroutines will be compiled with gcc -O
enter command for library archiving (ar rv):
enter full name of cfitsio library (libcfitsio.a):
enter location of cfitsio library (/usr/local/lib): /afs/le.infn.it/
user/v/vetrugno/cfitsio
The Spherical Harmonics Transform routines used by synfast/anafast/
smoothing/plmgen
and some routines used by ud_grade and alteralm respectively
have a parallel implementation (based on OpenMP).
It has currently been tested on IBM/xlf and Linux/ifc systems/
compilers
Do you want to use :
0) the standard scalar implementation ?
1) the parallel implementation (slightly slower in single CPU usage
with some compilers)
Enter choice (0):
Configuration finished.
Now run "(GNU)make" to build the package,
and "(GNU)make test" to test it.
You can configure the IDL previewer by running ./config_preview

And this is what I obtein when I type "make":


astro02:~/Healpix_2.01> make
if [ -r profile ]; then cp profile /afs/le.infn.it/user/v/vetrugno/
Healpix_2.01/bin/profile.HEALPix; fi
make[1]: Entering directory `/afs/le.infn.it/user/v/vetrugno/
Healpix_2.01/src/f90/mod'
case Linux in \
Darwin ) \
ln -s -f extension.F90 extension.junk.F90; \
g95 -O3 -I/afs/le.infn.it/user/v/vetrugno/Healpix_2.01/include -c
extension.junk.F90 -o extension.o; \
rm extension.junk.F90;; \
OSF ) \
ln -s -f extension.F90 extension.f90; \
g95 -O3 -I/afs/le.infn.it/user/v/vetrugno/Healpix_2.01/include -cpp -
c extension.f90 -o extension.o;; \
* ) \
g95 -O3 -I/afs/le.infn.it/user/v/vetrugno/Healpix_2.01/include -c
extension.F90 -o extension.o;; \
esac
/tmp/ccDW2y2R.s: Assembler messages:
/tmp/ccDW2y2R.s:7: Error: suffix or operands invalid for `push'
/tmp/ccDW2y2R.s:26: Error: suffix or operands invalid for `push'
/tmp/ccDW2y2R.s:29: Error: suffix or operands invalid for `push'
/tmp/ccDW2y2R.s:30: Error: suffix or operands invalid for `push'
/tmp/ccDW2y2R.s:32: Error: suffix or operands invalid for `push'
/tmp/ccDW2y2R.s:108: Error: suffix or operands invalid for `pop'
/tmp/ccDW2y2R.s:109: Error: suffix or operands invalid for `pop'
/tmp/ccDW2y2R.s:110: Error: suffix or operands invalid for `pop'
/tmp/ccDW2y2R.s:111: Error: suffix or operands invalid for `pop'
/tmp/ccDW2y2R.s:133: Error: suffix or operands invalid for `pop'
/tmp/ccDW2y2R.s:134: Error: suffix or operands invalid for `pop'
/tmp/ccDW2y2R.s:135: Error: suffix or operands invalid for `pop'
/tmp/ccDW2y2R.s:136: Error: suffix or operands invalid for `pop'
/tmp/ccDW2y2R.s:143: Error: suffix or operands invalid for `push'
/tmp/ccDW2y2R.s:172: Error: suffix or operands invalid for `push'
/tmp/ccDW2y2R.s:174: Error: suffix or operands invalid for `push'
/tmp/ccDW2y2R.s:175: Error: suffix or operands invalid for `push'
/tmp/ccDW2y2R.s:227: Error: suffix or operands invalid for `pop'
/tmp/ccDW2y2R.s:228: Error: suffix or operands invalid for `pop'
/tmp/ccDW2y2R.s:229: Error: suffix or operands invalid for `pop'
make[1]: *** [extension.o] Error 1
make[1]: Leaving directory `/afs/le.infn.it/user/v/vetrugno/
Healpix_2.01/src/f90/mod'
make: *** [modules] Error 2

Any one can tell me what are right compilation flags? Thank you very
much

Post Reply