Errors in creation of EASY5 2010 ez5vars.bat file
|Reported In:||Easy5 (2010 (8.2.0)) - EASY5|
In EASY5 2010 there is a known issue where the file %EZHOME%\EZ5Vars.bat file incorrectly calls the 'find' command and also the 'findstr' command using the wrong syntax. Also, the wrong architecture flag is passed to the compiler initialization routine.
Using a text editor, (such as Notepad) please do the following:
1. Replace all occurrences in the file EZ5VARS.BAT of
"findstr.exe /I" (quotes shown only to indicate exact strings-- no space after the /I)
2. Replace all occurrences of
"findstr.exe /I " (quotes shown only to indicate exact strings-- one single space after the /I)
"findstr.exe /IC:" (quotes shown only to indicate exact strings-- no space after the /IC:)
Don't forget to include the colon at the end. The resulting text in the bat file (after the replacement operation) should NOT have a space between the colon and the quote mark that follows it. For example, a sample line should read as follows:
PATH | C:\WINDOWS\system32\findstr.exe /IC:"C:\Program Files\Intel\Compiler\Fortran\9.1\IA32\bin" > NUL
3. Replace all occurrences of
"ia32_intel64" (quotes shown only to indicate exact string)
"intel64" (quotes shown only to indicate exact string)
4. Remove (or comment-out) the following two consecutive lines:
which ifort | C:\WINDOWS\SysWOW64\findstr.exe /IC:EM64T > NUL
if ERRORLEVEL 1 call "C:\PROGRA~2\Intel\Compiler\Fortran\9.1\EM64T\bin\ifortvars.bat" > NUL
It is very important that the syntax of the EZ5VARS.BAT file be correct otherwise the commands within the batch file will fail.
Steps 3 and 4 listed above may not apply to your particular installation, but the corrections should be attempted anyway just in case.
The EZ5VARS.BAT file resides in the EASY5 2010 program directory (defined as %EZHOME%), which is usually: C:\MSC.Software\EASY5\2010\
This issue has been fixed in Easy5 latest release 2010.1.2 (Version: 8.2.2). The latest version can be downloaded from MSC’s Solution Download Center.
Discuss this Issues