|
[Sponsors] |
[OpenFOAM.org] Can't compile with '-ipo' flag |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 19, 2017, 14:28 |
Can't compile with '-ipo' flag
|
#1 |
Senior Member
Join Date: Jun 2016
Posts: 102
Rep Power: 10 |
Hello all,
I'm compiling OF 4.1 with ICC. I have version 16 17 and 18 beta on a CentOS 7 HPC. I tried both '-xHost' and '-fast' flags but all versions of icc gave the same error in the very beginning: Code:
/home/gux215/OpenFOAM/OpenFOAM-icc/platforms/linux64IccDPInt32Opt/src/OSspecific/POSIX/signals/sigWriteNow.o:(.data+0x0): multiple definition of `vtable for Foam::simpleRegIOobject' /home/gux215/OpenFOAM/OpenFOAM-icc/platforms/linux64IccDPInt32Opt/src/OSspecific/POSIX/signals/sigStopAtWriteNow.o:(.data+0x0): first defined here /home/gux215/OpenFOAM/OpenFOAM-icc/platforms/linux64IccDPInt32Opt/src/OSspecific/POSIX/signals/sigWriteNow.o:(.data+0x0): multiple definition of `typeinfo for Foam::simpleRegIOobject' /home/gux215/OpenFOAM/OpenFOAM-icc/platforms/linux64IccDPInt32Opt/src/OSspecific/POSIX/signals/sigStopAtWriteNow.o:(.data+0x0): first defined here /home/gux215/OpenFOAM/OpenFOAM-icc/platforms/linux64IccDPInt32Opt/src/OSspecific/POSIX/signals/sigWriteNow.o:(.data+0x0): multiple definition of `typeinfo name for Foam::simpleRegIOobject' /home/gux215/OpenFOAM/OpenFOAM-icc/platforms/linux64IccDPInt32Opt/src/OSspecific/POSIX/signals/sigStopAtWriteNow.o:(.data+0x0): first defined here /home/gux215/OpenFOAM/OpenFOAM-icc/platforms/linux64IccDPInt32Opt/src/OSspecific/POSIX/timer.o:(.data+0x0): multiple definition of `vtable for Foam::simpleRegIOobject' /home/gux215/OpenFOAM/OpenFOAM-icc/platforms/linux64IccDPInt32Opt/src/OSspecific/POSIX/signals/sigStopAtWriteNow.o:(.data+0x0): first defined here /home/gux215/OpenFOAM/OpenFOAM-icc/platforms/linux64IccDPInt32Opt/src/OSspecific/POSIX/timer.o:(.data+0x0): multiple definition of `typeinfo for Foam::simpleRegIOobject' /home/gux215/OpenFOAM/OpenFOAM-icc/platforms/linux64IccDPInt32Opt/src/OSspecific/POSIX/signals/sigStopAtWriteNow.o:(.data+0x0): first defined here /home/gux215/OpenFOAM/OpenFOAM-icc/platforms/linux64IccDPInt32Opt/src/OSspecific/POSIX/timer.o:(.data+0x0): multiple definition of `typeinfo name for Foam::simpleRegIOobject' /home/gux215/OpenFOAM/OpenFOAM-icc/platforms/linux64IccDPInt32Opt/src/OSspecific/POSIX/signals/sigStopAtWriteNow.o:(.data+0x0): first defined here /home/gux215/OpenFOAM/OpenFOAM-icc/platforms/linux64IccDPInt32Opt/src/OSspecific/POSIX/POSIX.o:(.data+0x0): multiple definition of `vtable for Foam::simpleRegIOobject' /home/gux215/OpenFOAM/OpenFOAM-icc/platforms/linux64IccDPInt32Opt/src/OSspecific/POSIX/signals/sigStopAtWriteNow.o:(.data+0x0): first defined here /home/gux215/OpenFOAM/OpenFOAM-icc/platforms/linux64IccDPInt32Opt/src/OSspecific/POSIX/POSIX.o:(.data+0x0): multiple definition of `typeinfo for Foam::simpleRegIOobject' /home/gux215/OpenFOAM/OpenFOAM-icc/platforms/linux64IccDPInt32Opt/src/OSspecific/POSIX/signals/sigStopAtWriteNow.o:(.data+0x0): first defined here /home/gux215/OpenFOAM/OpenFOAM-icc/platforms/linux64IccDPInt32Opt/src/OSspecific/POSIX/POSIX.o:(.data+0x0): multiple definition of `typeinfo name for Foam::simpleRegIOobject' /home/gux215/OpenFOAM/OpenFOAM-icc/platforms/linux64IccDPInt32Opt/src/OSspecific/POSIX/signals/sigStopAtWriteNow.o:(.data+0x0): first defined here /home/gux215/OpenFOAM/OpenFOAM-icc/platforms/linux64IccDPInt32Opt/src/OSspecific/POSIX/fileMonitor.o:(.data+0x0): multiple definition of `vtable for Foam::simpleRegIOobject' /home/gux215/OpenFOAM/OpenFOAM-icc/platforms/linux64IccDPInt32Opt/src/OSspecific/POSIX/signals/sigStopAtWriteNow.o:(.data+0x0): first defined here /home/gux215/OpenFOAM/OpenFOAM-icc/platforms/linux64IccDPInt32Opt/src/OSspecific/POSIX/fileMonitor.o:(.data+0x0): multiple definition of `typeinfo for Foam::simpleRegIOobject' /home/gux215/OpenFOAM/OpenFOAM-icc/platforms/linux64IccDPInt32Opt/src/OSspecific/POSIX/signals/sigStopAtWriteNow.o:(.data+0x0): first defined here /home/gux215/OpenFOAM/OpenFOAM-icc/platforms/linux64IccDPInt32Opt/src/OSspecific/POSIX/fileMonitor.o:(.data+0x0): multiple definition of `typeinfo name for Foam::simpleRegIOobject' /home/gux215/OpenFOAM/OpenFOAM-icc/platforms/linux64IccDPInt32Opt/src/OSspecific/POSIX/signals/sigStopAtWriteNow.o:(.data+0x0): first defined here make: *** [/home/gux215/OpenFOAM/OpenFOAM-icc/platforms/linux64IccDPInt32Opt/lib/libOSspecific.o] Error 1 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ATTN ALL: SOLUTON TO UDF COMPILE PROBLEM | Rizwan | Fluent UDF and Scheme Programming | 40 | March 18, 2018 07:05 |
PV3FoamReader compile error.... | PEM_GUY | OpenFOAM Installation | 6 | April 5, 2010 18:22 |
Error compile file udf | czfluent | Fluent UDF and Scheme Programming | 24 | September 26, 2009 14:24 |
2D flag model and mesh! | Faraaz | CFX | 2 | November 28, 2008 15:33 |
Can someone PLEASE document the development version installation | bernd | OpenFOAM Installation | 76 | November 14, 2008 22:51 |