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

IVF: compiling error

milad_shadman
初学者
1,373 次查看
Hi,

i've tried to recompile a modified version of FAST with GH-bladed DLL interface through the batch file which exists in the open source FAST archive (Compile_FAST.bat which is attached), but i have blocked by this error:
ifort: error #10037: could not find 'link'. please see the attached files.

please provide me with your advice,
Thanks
0 项奖励
1 解答
mecej4
名誉分销商 III
1,373 次查看
Sorry, I slipped. I think that IA32 should be in lowercase, that is, ia32. If that does not still work, also try

IF "%INTEL_SHARED%"=="" CALL "%IVF_LOC1%\IFORTVARS.bat" ia32

(that is, with ia32 outside the quotes enclosing the path).

在原帖中查看解决方案

0 项奖励
4 回复数
mecej4
名誉分销商 III
1,373 次查看
The message about not finding LINK.EXE originated from a prior error in calling the batch file that sets up the compiler environment, which prevented the location of the linker to be added to PATH.

Change line-115 of the batch file from

IF "%INTEL_SHARED%"=="" CALL "%IVF_LOC1%\IFORTVARS.bat"

to

IF "%INTEL_SHARED%"=="" CALL "%IVF_LOC1%\IFORTVARS.bat IA32"
0 项奖励
milad_shadman
初学者
1,373 次查看
mecej4,

thanks for your response,
i did what u suggest, but link.exe error has not been resolved yet, see the attached file

thanks
0 项奖励
mecej4
名誉分销商 III
1,374 次查看
Sorry, I slipped. I think that IA32 should be in lowercase, that is, ia32. If that does not still work, also try

IF "%INTEL_SHARED%"=="" CALL "%IVF_LOC1%\IFORTVARS.bat" ia32

(that is, with ia32 outside the quotes enclosing the path).
0 项奖励
milad_shadman
初学者
1,373 次查看
mecej4,

many thanks for your help. it compiled smoothly.

sincerely,
Milad.
0 项奖励
回复