It is currently Wed May 22, 2013 12:00 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Thu Jul 19, 2012 1:21 pm 
Offline

Joined: Mon Jun 04, 2012 8:39 pm
Posts: 2
I installed the dependencies, cfitsio, CCfits, CLHEP, gsl and Healpix.
Then I went into galprop and ran
./configure.

That went fine.
On running make, I get the following error. Seems like it does not recognize some lines in the main galpropMain.cc file.
I'd appreciate any ideas on how to get around this. thanks:


/home/arjunsharma/gal1/galprop-54.1.984/source/galpropMain.cc:99: undefined reference to `Galprop::~Galprop()'
/home/arjunsharma/gal1/galprop-54.1.984/source/galpropMain.cc:92: undefined reference to `utl::ErrorLogger::Log(utl::ErrorLogger::SeverityLevel, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, utl::ErrorLogger::VerbosityLevel) const'
collect2: ld returned 1 exit status
make[2]: *** [galprop] Error 1
make[2]: Leaving directory `/home/arjunsharma/gal1/galprop-54.1.984/source'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/arjunsharma/gal1/galprop-54.1.984'
make: *** [all] Error 2


Top
 Profile  
 
PostPosted: Sun Jul 22, 2012 8:51 pm 
Offline

Joined: Mon Jun 04, 2012 8:39 pm
Posts: 2
On running make again, I am getting the following error:


/home/arjunsharma/Healpix_2.20a/src/cxx/generic_gcc/lib/libcxxsupport.a(cxxutils.o): In function `openmp_max_threads':
/home/arjunsharma/Healpix_2.20a/src/cxx/cxxsupport/openmp_support.h:51: undefined reference to `omp_get_max_threads'
collect2: ld returned 1 exit status
make[2]: *** [galprop] Error 1
make[2]: Leaving directory `/home/arjunsharma/gal1/galprop-54.1.984/source'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/arjunsharma/gal1/galprop-54.1.984'
make: *** [all] Error 2


Top
 Profile  
 
PostPosted: Thu Nov 01, 2012 4:46 am 
Offline

Joined: Tue Oct 30, 2012 7:06 am
Posts: 4
Add "--enable-openmp" after "./configure" commond.


arjunsharma wrote:
On running make again, I am getting the following error:


/home/arjunsharma/Healpix_2.20a/src/cxx/generic_gcc/lib/libcxxsupport.a(cxxutils.o): In function `openmp_max_threads':
/home/arjunsharma/Healpix_2.20a/src/cxx/cxxsupport/openmp_support.h:51: undefined reference to `omp_get_max_threads'
collect2: ld returned 1 exit status
make[2]: *** [galprop] Error 1
make[2]: Leaving directory `/home/arjunsharma/gal1/galprop-54.1.984/source'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/arjunsharma/gal1/galprop-54.1.984'
make: *** [all] Error 2

_________________
Best,
Xiang Li
===========================
Purple Moutain Observatory, CAS
Nanjing, P.R.China
===========================


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