Trouble using Intel icpc compiler
› Forums › OpenLB › Bug Reports › Trouble using Intel icpc compiler
- This topic has 4 replies, 4 voices, and was last updated 13 years, 5 months ago by mathias.
-
AuthorPosts
-
July 6, 2012 at 7:15 pm #1710bitelaumMember
Hi,rnrnI just downloaded OpenLB 0.7r0 and tried to compile the libraries and examples.rnrnEverything went fine using the g++, but, when I tried to use icpc (changing to the icpc line in the Makefile.inc) I found some problems.rnrnI got lots of:rn””../../src/external/boost/pthread.h(505): warning #1292: unknown attribute “”ignored””rn } __pthread_unwind_buf_t __attribute__ ((__aligned__));””rnrnor thing like this, that shoudn’t be a problem, but i also had problems with some errors.rnrnThe final output example when I run a simple “”make”” is:rnhttp://pastebin.com/CWLECkmyrnrnbut i get something like this:rnhttp://pastebin.com/FiimSHQGrnrnand when I try to compile some example i get lots of lines like:rn””units.cpp:(.text._ZN3olb17createLBconverterIdEEPNS_11LBconverterIT_EERKNS_9XMLreaderE[_ZN3olb17createLBconverterIdEEPNS_11LBconverterIT_EERKNS_9XMLreaderE]+0xb28): undefined reference to `olb::OstreamManager::~OstreamManager()’rnmake: *** [cavity2d] Error 1rn””rnrnrnMy icpc version is:rnbitz@bitz-desk:~/Documents/IC/Pacotes/olb-0.7r0$ icpc -vrnicpc version 12.1.5 (gcc version 4.6.0 compatibility)rnrnCould someone please help me?rnrnThanks.
July 19, 2012 at 7:47 am #2054kulkaMemberQuote:Quote from bitelaumrnI got lots of:rn””../../src/external/boost/pthread.h(505): warning #1292: unknown attribute “”ignored””rn } __pthread_unwind_buf_t __attribute__ ((__aligned__));””rnrnor thing like this, that shoudn’t be a problem, but i also had problems with some errors.rnrnAdd -D__aligned__=ignored to compiler flags.rnrn
Quote:Quote from bitelaumrnand when I try to compile some example i get lots of lines like:rn””units.cpp:(.text._ZN3olb17createLBconverterIdEEPNS_11LBconverterIT_EERKNS_9XMLreaderE[_ZN3olb17createLBconverterIdEEPNS_11LBconverterIT_EERKNS_9XMLreaderE]+0xb28): undefined reference to `olb::OstreamManager::~OstreamManager()’rnmake: *** [cavity2d] Error 1rn””rnrnAdd -DMPICH_IGNORE_CXX_SEEK to compiler flags (in case of PARALLEL MODE MPI)
July 19, 2012 at 11:20 am #2056mathiasKeymasterIndeed there was a bug! We have released a bug-fixed version.rnrnThanks a lot for reporting!rnMathiasrn
July 26, 2012 at 12:57 am #2059firefanMemberI can’t access to the page of user’s guide,why?
July 26, 2012 at 8:59 am #2060mathiasKeymasterThe problem should be solved now. Thanks a lot for reporting!rnMathias
-
AuthorPosts
- You must be logged in to reply to this topic.
