How do I run Intel Fortran Composer XE after installing it?

10,836

Solution 1

You need to source two files into your environment (and possibly specify your architecture)

source /opt/intel/composer_xe_2013_sp1.0.080/bin/compilervars.sh intel64
source /opt/intel/composer_xe_2013_sp1.0.080/bin/compilervars_arch.sh intel64

To find out what architectures are supported run

/opt/intel/composer_xe_2013_sp1.0.080/bin/compilervars.sh

without any arguments

You can create a file named /etc/profile.d/intel.sh, and insert these lines into it. after editing you should log out and log in back again, then try

which icc
which ifort

echo $LD_LIBRARY_PATH

To see if your environment knows the correct location of everything

If you cannot edit files under /etc (no super user privileges), just add these two 'source' lines into your ~/.bashrc, then log out and log in again

Solution 2

Just put source compilervars.sh to jour .profile or /etc/profile.d. No need to create symlinks for everything.

As to IDE, there is no own IDE in Intel Composer. People even don't use IDE's that much on Linux, when they are used to vi, emacs, kate or whatever.

Intel Parallel Studio comes with eclipse plug-in for C++, but not for Fortran. You may use Photran as a Fortran Eclipse plugin.

Solution 3

In response to Part A about using ifort, you need to create a symbolic link to ifort:

ln -s path/to/ifort /usr/bin/ifort

Then you should be able to just type ifort code.f90 into your terminal and have an executable.

As to Part B about an IDE: my $0.02 is that they as a whole are a dime a dozen. I usually use a text editor or terminal (I'm a nano user). I don't know squat about Intel's IDE, but Steve Lionel has been hanging around SO lately, so he might be able to better serve you on this note.

Share:
10,836
Michael A
Author by

Michael A

Account manager for a medical device company with a side interest in statistics and software development.

Updated on June 11, 2022

Comments

  • Michael A
    Michael A almost 2 years

    I installed the Intel Fortran Composer XE from this link on my Debian Linux system, which includes the Intel Fortran Compiler. I installed it to opt/intel/composer_xe_2013_sp1.0.080, but now I'm not sure how to run it. I followed the instructions in this question to install the environment variables, but now I'm trying to run the IDE.

    Does Intel Fortran on Linux not come with an IDE? On Windows everyone talks about integrating it with Visual Studio, so do I need to integrate it with Eclipse (somehow?), or what? Can someone point me to resources telling me about this? I don't see information anywhere, so I feel like... I'm just supposed to know and that this is a really stupid question. What is the composer if not an IDE? Is the composer different from the compiler?