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

Newly installed product on win7(64), LNK2019 errors

SERDAR_D_
Beginner
2,476 Views

Hi, we installed the product and I attempted to run a .for file. I am getting the following errors. I've submitted it to Intel tech support yesterday and have not yet gotten a response that addresses the problem -- they did indicate it will be 2 days so I guess that may be tomorrow. In the meantime, I've decided to try this forum. Does anyone happen to have a solution? Thanks.

Z:\Users\sd\for>ifort sim_r6a.for /exe:sim_r6a.exe
Intel(R) Visual Fortran Intel(R) 64 Compiler XE for applications running on Inte
l(R) 64, Version 15.0.1.148 Build 20141023
Copyright (C) 1985-2014 Intel Corporation.  All rights reserved.

Microsoft (R) Incremental Linker Version 10.00.30319.01
Copyright (C) Microsoft Corporation.  All rights reserved.

-out:sim_r6a.exe
-subsystem:console
sim_r6a.obj
sim_r6a.obj : error LNK2019: unresolved external symbol ISUM referenced in funct
ion MAIN__
sim_r6a.obj : error LNK2019: unresolved external symbol DLFTDS referenced in fun
ction MAIN__
sim_r6a.obj : error LNK2019: unresolved external symbol DSET referenced in funct
ion MAIN__
sim_r6a.obj : error LNK2019: unresolved external symbol RNSET referenced in func
tion MAIN__
sim_r6a.obj : error LNK2019: unresolved external symbol DRNNOF referenced in fun
ction MAIN__
sim_r6a.obj : error LNK2019: unresolved external symbol DRNMVN referenced in fun
ction MAIN__
sim_r6a.obj : error LNK2019: unresolved external symbol DCOPY referenced in func
tion MAIN__
sim_r6a.obj : error LNK2019: unresolved external symbol DSUM referenced in funct
ion UNPACK
sim_r6a.obj : error LNK2019: unresolved external symbol DSCAL referenced in func
tion LCK
sim_r6a.obj : error LNK2019: unresolved external symbol DDOT referenced in funct
ion LCK
sim_r6a.obj : error LNK2019: unresolved external symbol DEVASF referenced in fun
ction LCK1
sim_r6a.obj : error LNK2019: unresolved external symbol DMURRV referenced in fun
ction EQNB
sim_r6a.obj : error LNK2019: unresolved external symbol DLSLRG referenced in fun
ction EQNB
sim_r6a.obj : error LNK2019: unresolved external symbol DWRRRN referenced in fun
ction RWMOD
sim_r6a.exe : fatal error LNK1120: 14 unresolved externals

0 Kudos
22 Replies
SERDAR_D_
Beginner
354 Views

If I need to manually include it can you advise the needed syntax or the programming steps necessary for its inclusion? Alternatively, or in addition, I wish I knew what an include file is and how it works with the rest of all of this.

0 Kudos
mecej4
Honored Contributor III
354 Views

When you install Parallel Studio or a Composer product, and you choose to install MKL as part of the product, the path to the MKL DLLs will be included in PATH (by the batch file that is run when you open the configured command window). 

The command to add the MKL directory to PATH is

   PATH   %PATH%;C:\Program Files (x86)\Intel\Composer XE 2015\redist\intel64\mkl

 

0 Kudos
Reply