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
Beginner
716 Views
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 Kudos
1 Solution
mecej4
Honored Contributor III
716 Views
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).

View solution in original post

0 Kudos
4 Replies
mecej4
Honored Contributor III
716 Views
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 Kudos
milad_shadman
Beginner
716 Views
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 Kudos
mecej4
Honored Contributor III
717 Views
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 Kudos
milad_shadman
Beginner
716 Views
mecej4,

many thanks for your help. it compiled smoothly.

sincerely,
Milad.
0 Kudos
Reply