Community
cancel
Showing results for 
Search instead for 
Did you mean: 
shuhe_z_
Beginner
66 Views

source ifortvars.csh error

Hi,Support

  I am evaluating Intel Parallel Studio XE 2015 Update 5, after I installed it. I edit my user (the user shell is csh) profile file " .cshrc" and add the following into it:

    source /opt/intel/bin/iccvars.csh

     source /opt/intel/bin/ifortvars.csh

   Then I update the change as "source .cshrc", it reports the following error:

     ERROR: Unknown switch ''. Accepted values: ia32, intel64

    And it results that we can't find the path of the executable file "icc or ifort " in the user enviroment.

  My OS is redhat6.8 X86_64.

  Do you any comment for this error ?

   I also attached the file iccvars.csh and ifortvars.csh for your reference.

Best Regards,

Zheng

0 Kudos
2 Replies
Devorah_H_Intel
Moderator
66 Views

Hello,

source <install-dir>/bin/compilervars.sh <arg>

where <install-dir> is the directory structure containing the compiler /bin directory, and <arg> is one of the following architecture arguments:

intel64: Compilers and libraries for Intel® 64 architectures only

ia32: Compilers and libraries for IA-32 architectures only

Note: The default path for <install-dir> is /opt/intel/composer_xe_201X
----
Make sure to specify the <arg> value when sourcing. It doesn't look like it was set in the script. Hence the error message.

Regards,

shuhe_z_
Beginner
66 Views

Hi, Devorah

    As your instruction, I changed the path definition as the following in the file .cshrc

      source /opt/intel/composer_xe_2015.5.223/bin/iccvars.csh intel64
      source /opt/intel/composer_xe_2015.5.223/bin/ifortvars.csh intel64

    Now the problem has been fixed.

Thanks for your kindly help.

Best Regards,

Zheng

Reply