Healpix 2.0 compilation problem: G5 and (XLF90 or g95)
-
- Posts: 54
- Joined: September 28 2004
- Affiliation: University College London
Healpix 2.0 compilation problem: G5 and (XLF90 or g95)
Has anyone succeeded in compiling Healpix 2.0 on a G5 (under either Tiger or Panther) using one or both of the above f90 compilers? XLF90 barfs at the link stage with some undefined symbols which appear to belong to the cfitsio library (which exists and is in the link path), and g95 appears to fail on the first F90 file it comes across. I can supply the gory details if necessary. It appears to compile fine on a G4 with g95.
I would be very grateful for any insights from people who have compiled successfully in this environment.
Cheers
Hiranya
I would be very grateful for any insights from people who have compiled successfully in this environment.
Cheers
Hiranya
-
- Posts: 27
- Joined: July 18 2005
- Affiliation: University of Michigan
- Contact:
Healpix 2.0 compilation problem: G5 and (XLF90 or g95)
Add the Intel Fortran Compiler to that list.... same problem as one Hiranya
mentioned for g95. Has anyone successfully compiled Healpix 2.0 on a G5?
Many thanks.
mentioned for g95. Has anyone successfully compiled Healpix 2.0 on a G5?
Many thanks.
-
- Posts: 7
- Joined: September 25 2004
- Affiliation: Imperial College
Healpix 2.0 compilation problem: G5 and (XLF90 or g95)
Hi All-
I was able to get it up on a *G4* with g95, but I needed to do the following:
I was able to get it up on a *G4* with g95, but I needed to do the following:
- * install the latest cctools available from the g95 page
* add the following to the LDFLAGS in the Makefile: -lSystemStubs
-
- Posts: 54
- Joined: September 28 2004
- Affiliation: University College London
Healpix 2.0 compilation problem: G5 and (XLF90 or g95)
I just got it to work on a G5 running Tiger with XLF90. The modifications required were:
use gcc, rather than cc, for compiling both CFITSIO and Healpix (not sure this is essential, I haven't retried with cc once everything worked).
When compiling the CFITSIO library, do the following:
setenv CFLAGS -DIBMR2Fortran=1
./configure
make
When compiling Healpix, as Andrew says, you need to add -lSystemStubs to the end of the LDFLAGS.
Cheers
Hiranya
use gcc, rather than cc, for compiling both CFITSIO and Healpix (not sure this is essential, I haven't retried with cc once everything worked).
When compiling the CFITSIO library, do the following:
setenv CFLAGS -DIBMR2Fortran=1
./configure
make
When compiling Healpix, as Andrew says, you need to add -lSystemStubs to the end of the LDFLAGS.
Cheers
Hiranya
-
- Posts: 1
- Joined: June 01 2006
- Affiliation: EPFL
- Contact:
Healpix 2.0 compilation problem: G5 and (XLF90 or g95)
I have the same problems trying to compile Healpix 2 on a G5 with the nagware compiler. Anyone had success with this one ?
-
- Posts: 13
- Joined: January 29 2005
- Affiliation: University of Cambridge
- Contact:
Healpix 2.0 compilation problem: G5 and (XLF90 or g95)
Perhaps these problems are due to changes in the cfitsio libraries.
I just downloaded the latest cfitsio libraries and Healpix 2.01 failed to build using the gfortran and g95 compilers. I had copies of the old cfitsio libraries laying around and after reverting to these Healpix compiled fine with both compilers.
I guess this is not much help if older version of cfitsio are no longer available for download though...
I just downloaded the latest cfitsio libraries and Healpix 2.01 failed to build using the gfortran and g95 compilers. I had copies of the old cfitsio libraries laying around and after reverting to these Healpix compiled fine with both compilers.
I guess this is not much help if older version of cfitsio are no longer available for download though...
-
- Posts: 13
- Joined: July 26 2006
- Affiliation: Max-Planck-Institute for Astrophysics
Re: Healpix 2.0 compilation problem: G5 and (XLF90 or g95)
Healpix 2.01 should work fine with the current version of cfitsio (v3.006); the C++ implementation actually requires this version.Jason McEwen wrote:Perhaps these problems are due to changes in the cfitsio libraries.
I just downloaded the latest cfitsio libraries and Healpix 2.01 failed to build using the gfortran and g95 compilers. I had copies of the old cfitsio libraries laying around and after reverting to these Healpix compiled fine with both compilers.
To look further into this, we need a more detailed description of the problem. Do you also get the errors about unresolved symbols?