It is currently Sun May 11, 2025 8:10 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Problems with cfitsio
PostPosted: Thu Apr 10, 2014 6:47 am 
Offline

Joined: Fri Feb 21, 2014 2:08 am
Posts: 4
Hi!

I've been trying to get Galprop v54 r2423 installed. I have installed all the required libraries in a separate directories and was able to compile galprop without any errors. When I try to run the first (or any) test however, I get an error about a version mismatch from cfitsio. The strange thing is that it says the version is -nan. Usually the problem is solved by recompiling the cfitsio library to get everything up to date, but this doesn't work. I think I am missing something obvious in configurating, but can't figure out what. Any ideas? This is the output if I run galprop: http://pastebin.com/105j8JbJ

Best regards,
Matt

ps: thanks for the amazing work on galprop, the results (webrun and papers obviously) are amazing!


Top
 Profile  
 
PostPosted: Thu Apr 10, 2014 6:58 am 
Offline

Joined: Wed May 17, 2006 7:02 am
Posts: 285
Location: MPE Garching
I have sometimes had similar problems which were once related to Healpix (which requires cfitsio 3.26 while you have 3.29), or occasionally from outdated environment variables. I see it occurs as soon as it tries to read the first dataset. Which HealPix are you using, 2.2a or 3.11 and with what cfitsio there? it might be somehow inheriting it from there (just a guess).


And thanks for the appreciative remarks!

_________________
Andy Strong, MPE


Top
 Profile  
 
PostPosted: Thu Apr 10, 2014 7:35 am 
Offline

Joined: Fri Feb 21, 2014 2:08 am
Posts: 4
I installed the latest cfitsio, which is version 3.360, and linked to it for both Healpix (3.11) and galprop. Don't know where it would get the version 3.29 from then... Should I try cleaning everything and redo it for version 3.26?

Best regards,
Matt


Top
 Profile  
 
PostPosted: Thu Apr 10, 2014 8:10 am 
Offline

Joined: Wed May 17, 2006 7:02 am
Posts: 285
Location: MPE Garching
I think the HealPix distribution requires (or at least suggests) 3.26, and in my compilation I used that throughout and it worked.
So yes try doing everything from scratch with that. Let's see...

_________________
Andy Strong, MPE


Top
 Profile  
 
PostPosted: Thu Apr 10, 2014 9:00 am 
Offline
Site Admin

Joined: Fri Jul 18, 2008 3:04 pm
Posts: 61
Location: Stanford
I don't have any issues using cfitsio 3.360 with HEALPix, but I do have had issues with cfitsio and its version control. Make sure you don't have any other version installed system wide or accessible by default. You are most likely mixing 3.360 that uses SONAME versioning with 3.29 that uses version numbering. So it looks like you have 3.29 linked to some part of the chain, maybe CCfits?

_________________
Gudlaugur Johannesson, GALPROP developer


Top
 Profile  
 
PostPosted: Thu Apr 10, 2014 9:04 am 
Offline

Joined: Wed May 17, 2006 7:02 am
Posts: 285
Location: MPE Garching
that reminds me I also had a CCfits+cfitsio related issue. Also some kind of system-wide long-term memory haunted me for long with this kind of message, even after recompiling everything consistently.

_________________
Andy Strong, MPE


Top
 Profile  
 
PostPosted: Fri Apr 11, 2014 5:20 am 
Offline

Joined: Fri Feb 21, 2014 2:08 am
Posts: 4
Ok, so I have been able to get it working.

I first tried with cfitsio versio 3.31 since that was in some config file from Healpix, then the mismatch changed from 3.29 vs -nan to 3.29 vs 3.31. Then I did what I should have done in the first place and installed cfitsio 3.29 (and again relink CCfits and Healpix to that version) and the problem was solved. I still don't know where it got the version 3.29 (since I installed and linked everything from scratch every time), it must indeed be some memory thing.

Thanks a lot for the help!! :D


Top
 Profile  
 
PostPosted: Fri Apr 11, 2014 6:04 am 
Offline

Joined: Wed May 17, 2006 7:02 am
Posts: 285
Location: MPE Garching
Excellent that you finally succeeded! this feedback can be helpful for other users encountering similar problems.
Let us know any further experiences running it, suggestions for enhancements, bugs etc.

_________________
Andy Strong, MPE


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: Google Adsense [Bot] and 11 guests


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 post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group