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

ifort is not recognized

Ivan_I_2
Beginner
814 Views

Hello gentlemen,

I'm trying to use subroutine in MSC.Marc 2010. I've done all requirements that was written in MARC installation guide:

Install MVS 2005 +SP1, with MKL library, then

Install Fortran compiller ver. 10.1(MARC2010 need this version of compiller)

Then, I checked environmental variables path for ifort and lib_path. There are path to ifort.exe and libraries for fortran dll's.

When these prerequisites were installed, I install the MSC.MARC. But subroutine is not working -> error: "ifort is not recognized as an internal or external command, operable programm or batch file."

The most interesting thing. The subroutine worked on the same computer with the same software earlier. When the windows was reinstalled (by using  the image with the same windows ) this problem became.

What it could be?

0 Kudos
3 Replies
Steven_L_Intel1
Employee
814 Views

I assume that MSC.MARC has its own environment for doing these builds. It should be pretty easy to diagnose by looking to see how PATH is defined in the build environment.  If you start a Fortran command prompt session (through the Intel-installed shortcut), does ifort work?

0 Kudos
Ivan_I_2
Beginner
814 Views

Hello Steve,

At first, thank you for your answer.

The problem is solved now, but the new one is appeared:

LINK : fatal error LNK1181: cannot open input file 'libmmt.lib'

What it could be?

0 Kudos
Steven_L_Intel1
Employee
814 Views

The LIB environment variable must not be set up correctly. This is done by the ifortvars.bat script that we supply and which is invoked when you use the "Build Environment" shortcut we provide. If you are establishing a build environment some other way you need to "call" ifortvars.bat. See the compiler documentation on using the command line for details.

0 Kudos
Reply