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

compiler error

aled100
Beginner
418 Views
Hi,
I am trying to compile a code using ifc --O3 -xW -tpp7 -w -I . and get the following error messages at the end:
chain/sds.o(.text+0xca6): In function `sds_':
: undefined reference to `vmldExp2'
chain/sds.o(.text+0xd5b): In function `sds_':
: undefined reference to `vmldExp2'
pot/ewald_receip.o(.text+0x2062): In function `dftmod_':
: undefined reference to `vmldCos2'
pot/ewald_receip.o(.text+0x2092): In function `dftmod_':
: undefined reference to `vmldSin2'
make: *** [exe/chmin] Error 1
Without -xW, compilation goes well. Does anyone from the forum know what I could do to solve this? Thanks in advance
Alfredo
0 Kudos
1 Reply
TimP
Honored Contributor III
418 Views
I don't know off the top of my head what the compiler should do with the options --O3 -w -l . -tpp7 presumably is redundant when used with -xW. The error would be produced by building .o files with 'ifc -xW', but using some other command to drive the linker, so that the libsvml is not linked. If you wish to link using ifc without the -xW option, -l svml may do it, but that's not the supported way.
0 Kudos
Reply