Hello, All,
I tried to compile ROMS3.0 on my Linux workstation using Intel Fortran Compiler 9.0 for Linux (ifort) without MPI (serial) . After running:
make or gmake
I got the following error message,
IPO link: can not find "("
ifort: error: problem during multi-file optimization compilation (code 1)
make: *** [Bin/ocenS] Error 1
Did anyone have this kind of problem?
Thanks
compile ROMS3.0 using ifort
azhang wrote:
AR := xiar
Saludos,
Gerardo
kate wrote:I got the following error message,
IPO link: can not find "("
ifort: error: problem during multi-file optimization compilation (code 1)
It is, and it comes from the link step. It is most likely due to the use of the "-ipo" compiler option (Inter-Procedural Optimization). This option, when libraries are involved, requires that Intel's 'xiar' utility (which comes with the compilers) is used instead of 'ar'. The fix is to change the line that defines AR in Linux-ifort.mk toIs that an error message from the compiler?
AR := xiar
Saludos,
Gerardo
Hi, Kate and Gerardo,
Thanks a lot for your replies. I did what Gerardo told me to do, and I got the same error message. Then I go to google to search the error message, found out that the same error message came up mostly with ifort 9.0 compiler. So I switched to ifort 8.0. ROMS3.0 was successfully compiled.
I guess there might be bugs in ifort 9.0 Fortran compiler.
Thanks
AJ
Thanks a lot for your replies. I did what Gerardo told me to do, and I got the same error message. Then I go to google to search the error message, found out that the same error message came up mostly with ifort 9.0 compiler. So I switched to ifort 8.0. ROMS3.0 was successfully compiled.
I guess there might be bugs in ifort 9.0 Fortran compiler.
Thanks
AJ
azhang wrote:
If your license allows, instead of going to older versions, try to get the latest 10.0 or 10.1 compilers. They do a good job and allow the entire source to be compiled with the "-ipo" option (with AR set to "xiar"), which provides better runtime performance.I switched to ifort 8.0. ROMS3.0 was successfully compiled.
I guess there might be bugs in ifort 9.0 Fortran compiler.