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
Einsteiger
1.420Aufrufe
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 Lösung
mecej4
Geehrter Beitragender III
1.420Aufrufe
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).

Lösung in ursprünglichem Beitrag anzeigen

4 Antworten
mecej4
Geehrter Beitragender III
1.420Aufrufe
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"
milad_shadman
Einsteiger
1.420Aufrufe
mecej4,

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

thanks
mecej4
Geehrter Beitragender III
1.421Aufrufe
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).
milad_shadman
Einsteiger
1.420Aufrufe
mecej4,

many thanks for your help. it compiled smoothly.

sincerely,
Milad.
Antworten