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

fortran library

A2009
Beginner
921 Views
I am trying to compile a code which has the following functions by IFORT in Fortran XE:
ifort /4R8 /O3 /Qopenmp b.f

SECOND, IDAMAX, ZZFFT3D, DDOT, DSUM, CVMGT, and CVMGP.

Does anybody know which library they are? I get the following errors after compiling:

b.obj : error LNK2019: unresolved external symbol SECOND referenced in function X1
b.obj : error LNK2019: unresolved external symbol IDAMAX referenced in function X2
b.obj : error LNK2019: unresolved external symbol ZZFFT3D referenced in function X3
b.obj : error LNK2019: unresolved external symbol DDOT referenced in function X4
b.obj : error LNK2019: unresolved external symbol DSUM referenced in function X5
b.obj : error LNK2019: unresolved external symbol CVMGT referenced in function X6
b.obj : error LNK2019: unresolved external symbol CVMGP referenced in function X7

Thanks.
0 Kudos
1 Solution
TimP
Honored Contributor III
921 Views
You'll probably want to dig out your web search tool.
idamax ddot, dsum are BLAS library functions, covered by the MKL which comes with ifort. See the link advisor tool at the top of the MKL forum.
SECOND is likely to resemble the one in libgfortran ( a 35-years-ago equivalent of CPU_TIME). Since you're using OpenMP, omp_get_wtime may be suitable.
The FFT function probably has a suitable replacement in MKL.
CVM intrinsics may be Cray Vector Merge, which were replaced by Fortran MERGE 20 years ago.

View solution in original post

0 Kudos
1 Reply
TimP
Honored Contributor III
922 Views
You'll probably want to dig out your web search tool.
idamax ddot, dsum are BLAS library functions, covered by the MKL which comes with ifort. See the link advisor tool at the top of the MKL forum.
SECOND is likely to resemble the one in libgfortran ( a 35-years-ago equivalent of CPU_TIME). Since you're using OpenMP, omp_get_wtime may be suitable.
The FFT function probably has a suitable replacement in MKL.
CVM intrinsics may be Cray Vector Merge, which were replaced by Fortran MERGE 20 years ago.
0 Kudos
Reply