Ubuntu 14.04.2 64 bit how to#
Look at man ifort to see how to use the thing. Source /opt/intel/Compiler/11.1/072/bin/ifortvars.csh intel64
Ubuntu 14.04.2 64 bit install#
Worse, if you're on a 64 bit machine, you need to install the 32-bit version as well. Now you need a package called libstdc++5 which isn't included in Ubuntu. Sudo apt-get install openjdk-6-jre-headless. Which requires you to accept Sun's Java license, or Sudo apt-get install build-essential gcc g++ rpm ia32-libs There's another one called IA64, but I didn't try that. I used the Genuine Intel® 64 bit version.
Save the email, you'll need it.ĭownload the appropriate tar file.
Ubuntu 14.04.2 64 bit serial#
You'll get a link to the download page an a serial number. If you're running in 32-bit mode, your mileage will vary. Note that I'm only referring to the 64-bit install in all of this. The installation steps for the current compiler and Ubuntu are straightforward, but there's a lot of fine print, and the 64 bit version has a couple of quirks in the install. What's more, it changes every time you install a new version of the compiler. However, in Ubuntu it's a fairly difficult installation. It's a fairly simple registration, and you don't sign over much of your soul. And the 64-bit version of the code includes Intel's optimized Math Kernel Library (MKL). In every subroutine that calls my second.īut Intel makes its Linux Fortran compiler free-as-in-beer for non-commercial development. gfortran assumes that I'm calling the intrinsic function second, and bombs the compile because I don't have a proper calling statement. For example, one of my old codes has a subroutine second which measures elapsed time. It's reasonably fast, portable, nice - did I mention free? But it has a few quirks.
Now there is an open-source Fortran 77/90/95 compiler, gfortran. I still do a lot of things in Fortran 77, just because I'm comfortable writing code starting in column 7. I still have my original WATFOR/WATFIV textbook, though I later graduated to Fortran 77 and occasionally write some Fortran 90. However, the installation process should work for the commercial version of this compiler. Non-commercial means you are not getting compensated in any form for the products and services you develop using these Intel® Software Development Products. Also note that the license is pretty restrictive, i.e. If you want to keep such software off your system, then don't install this compiler. Warning: This page discusses the installation of free-as-in-beer, but not free-as-in-speech, software. OK, let's get take care of this right up front: