Please specify which version, compiler and operating system you are using (and also your names!).
If you look at the README of current r2754 (
https://sourceforge.net/projects/galprop) there is written
39. AWS20140711 galprop may hang in gen_secondary_positron_source.cc: this happened with g++, openmp on a RHEL system at SLAC. The solution was:
setenv OMP_NUM_THREADS 1
to avoid parallel processing. Another solution would be not to configure with openmp. Reason unknown. The problem has not yet been observed elsewhere to our knowledge.
so it depends on whether you are running in parallel mode, and on which architecture. Under SLES11 with g++ or icpc compilers and openmp for example it is fine.
Although found and documented in 2014, I assume the problem would occur in any version, so that is interesting to know.