It is currently Sun Nov 28, 2021 4:57 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Mon Jun 06, 2016 12:14 pm 
Offline

Joined: Mon Aug 10, 2015 10:26 am
Posts: 11
Hi,

I'm now trying to get Galprop running on a cluster - it compiles with no problems at all (as far as I can tell), but when I run it, say with one of the test cases, it fails & aborts:

Code:
ero2@msslhz-2:/kdata/ero2/software/galprop$ galprop -r reltest01
main: Entry
Illegal instruction
ero2@msslhz-2:/kdata/ero2/software/galprop$


Same for all other tests. This is with galprop_54_r2766 and Healpix 3.20 (which works fine on my Ubuntu machine).

I wondered if you've seen anything like this before & have any ideas as to how to fix it?

Thanks,

Ellis


Top
 Profile  
 
PostPosted: Mon Jun 06, 2016 3:09 pm 
Offline
Site Admin

Joined: Fri Jul 18, 2008 3:04 pm
Posts: 60
Location: Stanford
You are most likely compiling on one type of machine and running on another type. By default, galprop picks the host capabilities for compilation with the -mhost switch to g++ or equivalent for icpc. You will need to manually tune the CXXFLAGS and FFLAGS for the compilation. To test this you can try to compile with --enable-debug that turns off optimization flags. This is not recommended for production runs, only testing.

_________________
Gudlaugur Johannesson, GALPROP developer


Top
 Profile  
 
PostPosted: Thu Jun 09, 2016 5:35 am 
Offline

Joined: Mon Aug 10, 2015 10:26 am
Posts: 11
Thanks - compiling with the
Code:
--enable-debug
flag allowed me to track down the problem to an error in the Healpix installation, which could be easily fixed.


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

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


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