Page 1 of 5 123 ... LastLast
Results 1 to 10 of 42

Thread: HOWTO: Install Intel Fortran 9.0

  1. #1
    Join Date
    Oct 2005
    Location
    South Dakota
    Beans
    36
    Distro
    Ubuntu 6.06
    As an undergraduate student lucky enough to have been taught FORTRAN for scientific computing, I find a necessity to have not only gfortran but also Intel Fortran on my Linux boxes.

    Intel Fortran has both a commercial version, and a non-commercial version, perfect for my studies.

    The following was tested on a fresh install of the release version of Ubuntu Breezy, with all security updates as of 2005-11-11 applied.

    1. First things first, install the prerequisite software packages:
    Code:
    sudo apt-get install rpm build-essential
    2. Register at Intel's site for a non-commercial version of the Intel Fortran compiler.

    http://www.intel.com/cd/software/pro...lin/219857.htm

    Intel's site will send you an email that starts with the following:
    Code:
    Thank you for registering the Intel(R) Fortran Compiler for Linux*.
    
    SAVE THIS SERIAL NUMBER
    Your serial number for this registration is...
    2. Download the compiler archive:

    http://www.intel.com/cd/software/pro...ers/219717.htm

    3. Extract the compiler archive
    Code:
    tar xvzf l_fc_p_9.0.021.tar.gz
    4. Run the installer
    Code:
    cd l_fc_p_9.0.021
    sudo ./install.sh
    5. Choose Option 1 to install Intel Fortran; choose Option 1 to proceed with a serial number.

    6. Type in the serial number (case-sensitive) given in the email. (XXXX-XXXXXXXX). Choose 1 for a default install.

    7. Press Enter to read the license agreement. The spacebar speeds through this quickly. Type 'accept' to accept the license agreement.

    8. Press Enter to accept the default install directory for the compiler. The installation of the compiler takes some time. Press Enter to continue.

    9. Press Enter to accept the default install directory for the debugger. The debugger takes some time to finish. Press Enter to continue.

    10. At this point, the installer seemed to stop. It can be exited with CTRL-C, and it does not seem to affect the install.

    11. To make the binaries and shared libraries easily found, add the following lines to your .bashrc:
    Code:
    PATH="/opt/intel/fc/9.0/bin:$PATH"
    export PATH
    LD_LIBRARY_PATH="/opt/intel/fc/9.0/lib:$LD_LIBRARY_PATH"
    export LD_LIBRARY_PATH

  2. #2
    Join Date
    Apr 2005
    Location
    Berlin, Europe
    Beans
    213
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: HOWTO: Install Intel Fortran 9.0

    Hi! Thank you very much for your help on that topic. i've never been able to install it fully functional under hoary, now i will try your .bashrc tip (i was stuck there...)

  3. #3
    Join Date
    Feb 2005
    Beans
    32

    Re: HOWTO: Install Intel Fortran 9.0

    For installing Fortran 8.0 on warty I used alien to create a deb. Instructions are available here...

    http://www.theochem.uwa.edu.au/fortran/intel_on_debian
    http://colt.projectgamma.com/intel/ixc-debian.html

  4. #4
    Join Date
    Apr 2005
    Location
    Berlin, Europe
    Beans
    213
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: HOWTO: Install Intel Fortran 9.0

    i added your howto to the ubuntuscientists website. please delete it if you don't want to be linked (or write me).... https://wiki.ubuntu.com/UbuntuScientists

  5. #5
    Join Date
    Jan 2006
    Location
    Basel, Switzerland
    Beans
    42
    Distro
    Ubuntu 6.06

    Re: HOWTO: Install Intel Fortran 9.0

    worked great for me
    your .bashrc tip was very useful. i had to add "unset LANG" to the .bashrc as well, since calling ifort always yielded "cannot find directory in which g++ resides" which can only cured (afaik) with unset LANG...

    thx alot

  6. #6
    Join Date
    Feb 2005
    Beans
    130

    Re: HOWTO: Install Intel Fortran 9.0

    It's nice that the install actually works now, you used to have to use alien to make a deb.

    In any case, I think the proper way to set the environment variables is to put the following in your .bashrc:

    Code:
    source /opt/intel/fc/9.0/bin/ifortvars.sh
    source /opt/intel/idb/9.0/bin/idbvars.sh
    This will set all of the paths, including your PATH, MANPATH, etc.

  7. #7
    Join Date
    Jun 2006
    Location
    Canary Islands
    Beans
    91
    Distro
    Kubuntu 8.04 Hardy Heron

    Re: HOWTO: Install Intel Fortran 9.0

    Hello¡¡

    I need help. I tried to install intel fortran compiler as chikenmonger explained but I got the message:
    install_fc.sh can't identify your machine type, glibc, or kernel.

    This product is supported for use with the following combinations :

    Machine Type Kernel glibc

    1. IA-32/EM64T 2.4.x 2.2.5
    IA-32/EM64T 2.4.x 2.2.4
    IA-32/EM64T 2.4.x 2.2.93
    IA-32/EM64T 2.4.x 2.3.2
    IA-32/EM64T 2.6.x 2.3.x
    IA-32/EM64T 2.6.x 2.4.x

    x. Exit

    If you would you like to perform an unsupported install of this product, enter the number corresponding to the platform most similar to yours. Otherwise, enter "x" to exit : 2.6.x
    Inappropriate choice. Please try again : 2.6.x 2.3.x
    Inappropriate choice. Please try again : 6
    Inappropriate choice. Please try again : 5

    I can only choose 1 or x. If I choose 1., it doesn't install.

    Can anybody help me please?

  8. #8
    Join Date
    Jun 2006
    Location
    Canary Islands
    Beans
    91
    Distro
    Kubuntu 8.04 Hardy Heron

    Re: HOWTO: Install Intel Fortran 9.0

    Ok, i've found another topic about this at

    http://ubuntuforums.org/showthread.php?t=169664

    where very interesting things are said. I could install the compiler following those instructions but I can not install the debugger idb, and what it worst, I can't install the libraries mkl from intel. Can somebody help me?

  9. #9
    Join Date
    Jun 2006
    Location
    Canary Islands
    Beans
    91
    Distro
    Kubuntu 8.04 Hardy Heron

    Re: HOWTO: Install Intel Fortran 9.0

    ups¡¡ that thread is closed, so I go on here. How can I install the debugger and the math libraries mkl?

    Thanks

  10. #10
    Join Date
    May 2006
    Beans
    6

    Re: HOWTO: Install Intel Fortran 9.0

    here I have described how to install inte compilers+debugger
    http://ubuntuforums.org/showthread.php?t=179589
    i will try to find time to write the how to for mkl too.

    Alin

Page 1 of 5 123 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •