It is currently Mon Jun 23, 2025 12:35 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Thu Dec 28, 2017 1:16 am 
Offline

Joined: Fri Dec 22, 2017 5:06 am
Posts: 2
Dear Moderators:

Hi, I am a beginner using GALPROP. I have installed GALPROP version 56 on my research team's cluster and I encountered this problem when trying to run an example routine "galdef_56_example" provided in GALPROP_v56 package.

Some output information are listed below:
...
    store_gcr: Time elapsed: 1.44s (Real); 0.04s (Process); 0s (System)
    gen_skymaps: Entry
    read_gas_maps: Entry: HIR
    read_gas_maps: reading HIR from ../FITS/rbands_hi12_v5_hdeg_zmax1_Ts125.fits.gz
    read_gas_maps: generating galaxy.HIR:
    read_gas_maps: Trying skymap format
    read_gas_maps: Reverting to WCS mapcube format
    read_gas_maps: Reading 9 rings
    read_gas_maps: Ring boundary 0: 0 - 1.47601
    read_gas_maps: Ring boundary 1: 1.47601 - 3.52489
    read_gas_maps: Ring boundary 2: 3.52489 - 5.52031
    read_gas_maps: Ring boundary 3: 5.52031 - 7.50505
    read_gas_maps: Ring boundary 4: 7.50505 - 9.5
    read_gas_maps: Ring boundary 5: 9.5 - 11.5
    read_gas_maps: Ring boundary 6: 11.5 - 13.5
    read_gas_maps: Ring boundary 7: 13.5 - 15.5
    read_gas_maps: Ring boundary 8: 15.5 - 50
    readFromFitsWcs: This functionality requires the WCS library
    terminate called after throwing an instance of 'std::runtime_error'
    what(): Recompile with WCS
    Aborted (core dumped)

It seems that the error occurs when looking for WCS library in the computer, so I installed WCS library in the path /usr/local/lib from http://www.atnf.csiro.au/people/Mark.Calabretta/WCS/. I rerun but it doesn't work.

During I configured the installation of galtoolslib, I didn't install WCS library as this library is optional said in the README file. How can I configure GALPROP so that it can know where the WCS library is? Should I reinstall galtoolslib and GALPROP after having WCS library installed?

I have attached the example galdef file.

Appreciate for any help.

Fengwei Yang
The University of Hong Kong


Attachments:
galdef_56_example.txt [28.26 KiB]
Downloaded 960 times
Top
 Profile  
 
PostPosted: Thu Dec 28, 2017 1:56 am 
Offline
Site Admin

Joined: Fri Jul 18, 2008 3:04 pm
Posts: 61
Location: Stanford
Thank you for reporting this, the README should be updated and WCS actually required. The solution is to rebuild galtoolslib with WCS and then re-link galprop.

_________________
Gudlaugur Johannesson, GALPROP developer


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 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:  
Powered by phpBB® Forum Software © phpBB Group