Hi,
I am having trouble compiling a source files when OpenMP is enabled.
pgCC -o phaser/run/runMR_FTF.o -c -fPIC -DNDEBUG -O2 -DBOOST_ALL_NO_LIB -DBOOST_DISABLE_THREADS -mp -I/home/gaborb/phenix/current/boost -I/home/gaborb/phenix/current/iotbx/include -fPIC -DNDEBUG -O2 -DBOOST_ALL_NO_LIB -DBOOST_DISABLE_THREADS -mp -I/home/gaborb/phenix/current -Iinclude -I/home/gaborb/phenix/current/include -I/home/gaborb/phenix/current/tntbx/include -I/home/gaborb/phenix/current/ccp4io/lib/src /home/gaborb/phenix/current/phaser/run/runMR_FTF.cc -v
"/home/gaborb/phenix/current/phaser/run/runMR_FTF.cc", line 196: warning:
variable "m_min" was set but never used
floatType m_mean(0),m_sigma(1),m_min(0),clusterXyz(HIRES);
^
NOTE: your trial license will expire in 8 days, 5.81 hours.
/tmp/pgCC8E00qacnN-s.s: Assembler messages:
/tmp/pgCC8E00qacnN-s.s:55341: Error: symbol `.LB27574' is already defined
/tmp/pgCC8E00qacnN-s.s:55838: Error: symbol `.LB27574' is already defined
<repeated many times>
The file compiles fine without “-mp”. However, when “-mp” is specified, and all the openmp pragmas are stripped out of the source, the same assembler error shows up.
OS: Fedora 9 Linux 32bit, with Intel quad core2 cpu.
Any suggestions?
Thanks, Gabor