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