Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

problems with ifort 9.0

prayerz
Beginner
379 Views
Hi,

i recently installed ifort version 9.0.
I tried to use it to compile a suite of codes (DL_POLY) but i get an error: IPO link: cannot find "("
When i add "-Vaxlib -static", the compilation goes on forever.

i wrote the simplest code (writey.f):
write(*,*)'Hi'
end

and when i try to compile with the -fast option (ifort writey.f -fast), again it takes forever-- i have to hit ^C to stop after a long time. Note that without the -fast option, the code compiles. When i try with the -static option (instead of -fast), i get a bunch of "undefined reference to ...." errors.

Thanks for any help!

o.
0 Kudos
1 Reply
Steven_L_Intel1
Employee
379 Views
Please see here for a discussion of the linking problem.

The -static option prevents linking with shared libraries. Is that what you intended? If so, try using -i-static instead. If you meant that variables should be allocated statically, use -save instead.
0 Kudos
Reply