CosmoCoffee Forum Index CosmoCoffee

 
 FAQFAQ   SearchSearch  MemberlistSmartFeed   MemberlistMemberlist    RegisterRegister 
   ProfileProfile   Log inLog in 
Arxiv New Filter | Bookmarks & clubs | Arxiv ref/author:

Healpix configure problem [solution]
 
Post new topic   Reply to topic    CosmoCoffee Forum Index -> Computers and software
View previous topic :: View next topic  
Author Message
daan meerburg



Joined: 20 Nov 2007
Posts: 17
Affiliation: princeton

PostPosted: December 14 2007  Reply with quote

I don't know if this was mentioned in any other post, but I had a minor problem when configuring Healpix on intel/macosx/leopard. I post this for reference.

The problem is easily solvable, it has to do with gfortran compiler and the configuration file. If one uses the gnu fortran compiler that comes with gcc4.2 (I installed using fink) when entering >./configure in your healpix2.01 dir. it will say it does not support or know your compiler. This apparently is due to the fact that when the gcc team decided to build a fortran compiler they split up for some reason, which resulted in 2 gfortrans. Since the configure file that comes with the Healpix package is from 2005, which is around the time this happened, it does not recognize gfortran unless it is GNU fortran 95. This is easily solvable once you edit your configure file. At 3/4 of the file you will find the following line:

ngfortran=`$FC -dumpversion 2>&1 | grep 'GNU Fortran 95' | wc -l`

change this to

ngfortran=`$FC -dumpversion 2>&1 | grep 'GNU Fortran' | wc -l`

That's it.

cheers
daan
Back to top
View user's profile  
Display posts from previous:   
Post new topic   Reply to topic    CosmoCoffee Forum Index -> Computers and software All times are GMT + 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group. Sponsored by WordWeb online dictionary and dictionary software.