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

Error in linking a command box to IVF

h_amini
Beginner
1,133 Views

To link the command box of a software to IVF, I need to run the ifortvar.bat file of IVF in the command box. However, the following error occurs:

ERROR: Unknown switch ''

Accepted values: ia32, ia32_intel64, intel64, ia32_ia64, ia64

I asked the software supporting team and they said the problem is related to the compiler and the last lines of the bat file (attached) were strange:

@echo ERROR: Unknown switch '%1'

@echo Accepted values: ia32, ia32_intel64, intel64, ia32_ia64, ia64 exit /B 1

The compiler is version 11.0.072 running on IA-32.

I would appreciate your comments.

Kind regards

Hamid

0 Kudos
3 Replies
Les_Neilson
Valued Contributor II
1,133 Views


When you ran the ifortvar batch file you forgot to tell it which version you want :

ifortvar ia32

Les
0 Kudos
h_amini
Beginner
1,133 Views
Quoting - Les Neilson


When you ran the ifortvar batch file you forgot to tell it which version you want :

ifortvar ia32

Les

Dear Les

Thank you very much for this. You could solve my problems many times.

Kind regards

Hamid

0 Kudos
Les_Neilson
Valued Contributor II
1,133 Views
Quoting - h.amini

Dear Les

Thank you very much for this. You could solve my problems many times.

Kind regards

Hamid


You're welcome Hamid. Glad I could help.
Les
0 Kudos
Reply