Showing results for 
Search instead for 
Did you mean: 

Environment setup issues in ububtu16.04


i have intel parallel_studio_xe_2018_update1_cluster_edition installed in my laptop having ubuntu 16.04 OS.  i need to work with fortran compiler.

I am not sure if i am giving correct path to set up environment.  i have given in .bashrc file

export PATH

2 in same .bashrc file if i mention

/opt/intel/2018/compilers_and_libraries_2018.1.163/linux/bin/ intel64

i get this message if i open a terminal.....

ERROR: architecture is not defined. Accepted values: ia32, intel64
Syntax: <arch> [-arch <arch>] [-platform <platform>]

  <arch> must be one of the following:
      ia32           : Set up for IA-32 target.
      intel64        : Set up for Intel(R)64 target.
  <platform> must be of the following:
      linux          : Set to Linux target.
      mac            : Set to Mac target.
      android        : Set to Android target.

If the arguments to the sourced script are ignored (consult docs
for your shell) the alternative way to specify target is environment
variables COMPILERVARS_ARCHITECTURE to pass <arch> to the script
and COMPILERVARS_PLATFORM to pass <platform>
/opt/intel/2018/compilers_and_libraries_2018.1.163/linux/bin/ 42: [: =: unexpected operator
/opt/intel/2018/compilers_and_libraries_2018.1.163/linux/bin/ 50: [: =: unexpected operator
/opt/intel/2018/compilers_and_libraries_2018.1.163/linux/bin/ 159: [: =: unexpected operator
/opt/intel/2018/compilers_and_libraries_2018.1.163/linux/bin/ 171: [: =: unexpected operator

this message gets removed if i write like this

source /opt/intel/2018/compilers_and_libraries_2018.1.163/linux/bin/ intel64

3  what is ia32_lin, intel64_lin_gfx and intel64_lin in compilers_and_libraries_2018/linux/lib

4  i have successfully installed ifort and my sample file are running correctly.

the documentation didnt help me. pl clarify issues point by point


0 Kudos
3 Replies

All you should need to add to your bashrc file is

                 source /opt/intel/2018/compilers_and_libraries_2018.1.163/linux/bin/ intel64

(Please note, I changed "ifortvars" to "compilervars", and please note you need the "source" verb)

That will correctly set PATH and LD_LIBRARY_PATH, and will correctly invoke the underlying scripts for ifort, and for any of the performance libraries.

The subdirectories you referenced in compilers_and_libraries/Linux/lib contain specific performance and runtime libraries for different architectures.   For Fortran, the supported libraries are for IA-32 Linux and for Intel64 Linux.  There are no Fortran runtime libraries in the intel64_lin_gfx subdirectory.

              I hope this helps,



0 Kudos

thanks Lorri.... hopefully it should end my woes !

1  by the way what does _LIN stand for and what do ia32_lin, intel64_lin signify

2  how do i know what are the prerequisites for ifort ?

0 Kudos
Black Belt

I am not a Ubuntu user, but I have a vague memory of Ubuntu using the dash shell as its default shell in at least some releases of Ubuntu. If the Intel-provided scripts, etc., use "bash-ism"s, the script may not function as intended under dash. You will have to consult someone else or search the Web for dealing with this issue, if it pertains to your PC.

The "win-" prefix stands for Windows. So, what should "lin-" and "mac-" stand for?

The prerequisites are listed in detail in the release notes for your version of Parallel Studio or Intel Composer for Fortran. See .



0 Kudos