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

Problem with source ifort in csh

hossein309
Beginner
771 Views
I used source command in csh shell as follow:
source /opt/.../ifortvars.csh ia32
but i recive this error:
ERROR: Unkown switch ". Accepted values ia32, intel64, ia64
I am confused beacuse i write "ia32" switch but it request ia32 !!

Anyone can help me ?

Thanks.
0 Kudos
1 Reply
Kevin_D_Intel
Employee
771 Views
Showing the complete path to the script would show the version of the compiler used, which might be a key clue.

On Linux, when providing the script a bad value, the error received typically looks like this:

$ source /opt/intel/Compiler/11.0/083/bin/ifortvars.csh ia3
ERROR: Unknown switch 'ia3'. Accepted values: ia32, intel64, ia64

Maybe it can be determined what the script sees in your case for the argument if executed this way (adjust the path accordingly for your compiler version installed):

csh -x /opt/intel/Compiler/11.0/083/bin/ifortvars.csh ia32
0 Kudos
Reply