Visual Studio apparently was a 30 day trial rather than a full installation (it's expired now and will launch and function for a short time before a popup freezes the program and asks me to buy a license or exit Visual Studio), so that may have something to do with this error. Looking at the output, it looks like it finds the IFORT_COMPILER19 environment variable, the ifort executable, and a registry setting, but it fails on a command to echo the vcroot environment variable. The problem seems to be that C:Program Files (x86)Microsoft Visual Studio2017CommunityVCAuxiliaryBuild doesn't exist; everything up to 'Build' does, but Auxiliary only contains a folder called VS for me. Is there a way to get around this?
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. Use of the Intel Fortran, C, and C compilers (icc, icpc, ifort) is recommended for all applications. Detailed information about these compilers can be found by issuing 'man icc' and 'man ifort'. Recommended compiler options for High Performance. The default compiler options include such optimizations as -O2, -m64, -msse2. Use the Intel® Fortran Compiler to compile and generate applications. The following are some important features of the compiler: Intel® Fortran Compiler 19.0 Developer Guide and Reference.
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?
Community♦
Michael AMichael A1,47233 gold badges2424 silver badges4343 bronze badges
4 Answers
You need to source two files into your environment (and possibly specify your architecture)
To find out what architectures are supported run
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 tryTo 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
superksuperk
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.
Vladimir FVladimir F42.2k44 gold badges4141 silver badges7373 bronze badges
In response to Part A about using ifort, you need to create a symbolic link to
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
Kyle KanosKyle Kanosnano
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.2,88011 gold badge1717 silver badges3737 bronze badges
Here's an excellent article by Intel on Using Intel® C++ Compiler with the Eclipse* IDE on Linux*. Hope this helps. I'm amazed people think they can get by with no debugger on Linux. They must be writing some very flat, mono-threaded code. Also, here's a good expose on the features of the debugger. It's about time SOMEBODY went beyond GDB and provided a reasonable debugging environment in Linux. Intel® Debugger for Linux* (IDB)
user1899861