Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20

Thread: install intel fortran compiler on ubuntu

  1. #11
    Join Date
    Apr 2011
    Beans
    1

    Re: install intel fortran compiler on ubuntu

    I'm trying to install the most recent Intel fortran compiler on my Ubuntu 10.10. However, I don't seem to be able to install ia32-libs:

    $ sudo apt-get install ia32-libs
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Unable to locate package ia32-libs

    I still have some ambiguities whether I'm having a 32 or 64 bit system, but it seems to me that I must have ia32-libs in both cases.

    I have tried out all the tips from this forum already...

    Could someone please give me a hint on how to install ia32-libs on Ubuntu 10.10?

    Thank you in advance.

  2. #12
    Join Date
    Jul 2011
    Beans
    6

    Re: install intel fortran compiler on ubuntu

    I have used these instructions and installed the compiler. But I am getting the syntax "command not found" when I tried using ifort.

    Please help me to fix the problem..

  3. #13
    Join Date
    Aug 2011
    Beans
    1

    Re: install intel fortran compiler on ubuntu

    This is exactly what I am trying to do right now, but I have a newer version of Unbuntu 11.04 and Interl Fortran Compiler (l_fcompxe_2011.4.191.tgz). I have just installed unbuntu on my computer and I am new to Linux.

    I would like to follow the instructions on the first post. But I am not sure if Im doing it right. Is there any pre-requisits before doing the commands in post #1?

    Here are some massages in my terminal window.

    __________________________________________________ _____________________
    raprap@raprap-eM350:~$ sudo apt-get install rpm build-essential
    [sudo] password for raprap:

    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Package rpm is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source

    E: Package 'rpm' has no installation candidate
    raprap@raprap-eM350:~$ sudo apt-get install libstdc++6
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    libstdc++6 is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    raprap@raprap-eM350:~$ sudo apt-get install ia32-libs
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Unable to locate package ia32-libs
    __________________________________________________ ________

    Please help.

    Thanks.

  4. #14
    Join Date
    Mar 2009
    Location
    México
    Beans
    42
    Distro
    Ubuntu 11.04 Natty Narwhal

    Smile Re: install intel fortran compiler on ubuntu

    ok guys, this is very easy
    not gonna write everything as it is
    took pics!
    I am running Ubuntu Natty today is 12 -08 -2011
    step 0>>
    following code in terminal, how I know? ->
    HTML Code:
    http://software.intel.com/en-us/articles/using-intel-compilers-for-linux-with-ubuntu/
    >>>>>>>>>>
    Ubuntu 11.04 25 May 2011:
    These notes are still applicable to Ubuntu 11.04. Composer XE 2011 (aka version 12.0) prerequisites for Ubuntu Desktop, assuming that gcc and g++ are installed already:
    Code:
    apt-get install build-essential
    apt-get install gcc-multilib
    apt-get install rpm
    apt-get install ia32-libs
    apt-get install openjdk-6-jre-headless
    during the install, you can ignore any warnings about the missing Java prerequisite - it may not recognize openjdk-6-jre-headless.
    <<<<<<<<<<<
    *must say that line 4 is useless

    step 1>>
    download (http fast internet )Intel® Fortran Composer XE for Linux* (formerly Intel® Fortran Compiler Professional Edition for Linux*)
    * 32 bit (my case)
    ** code gets sent to your mail account which you must provide

    step 2>>
    mv package from ~/Downloads to ~

    step 3>>
    uncompress the thing
    cd into new dir
    run ./install.sh with superpowers

    step 4>>
    follow instructions

    step 5>>
    finally write something like
    source /opt/intel/composerxe-2011.5.220/bin/compilervars.sh ia32
    in .bashrc
    attachment contains pics step by step basis!
    good day!
    Attached Files Attached Files
    Last edited by Morpholinux; August 13th, 2011 at 03:57 AM.
    mi segundo nombre es PELIGRO!

  5. #15
    Join Date
    Aug 2011
    Beans
    9

    Question Re: install intel fortran compiler on ubuntu

    Hi..

    I am using 64bit destop. I have just recently installed ifort, Intel composerXE12 on ubuntu 11.04. just after installing, in the next step i have given the following command...
    now i am facing the following problem during the environment setup...

    Please suggest me what to do.....!!!



    sukanta@Energy:~$ /opt/intel/composerxe-2011.5.220/bin/compilervars.sh intel64
    [: 121: intel64: unexpected operator
    [: 121: intel64: unexpected operator
    [: 121: intel64: unexpected operator
    [: 121: intel64: unexpected operator
    [: 121: intel64: unexpected operator
    [: 121: intel64: unexpected operator
    [: 121: intel64: unexpected operator
    [: 121: intel64: unexpected operator

    ERROR: Unknown option 'intel64'

    Syntax:
    /opt/intel/composerxe-2011.5.220/bin/compilervars.sh <arch> [MKL_interface] [mod]

    <arch> must be one of the following
    ia32 : Set up for IA-32 target
    intel64 : Set up for Intel(R) 64 target
    mic : Set up for Intel(R) MIC target

    mod (optional) - set path to MKL F95 modules

    MKL_interface (optional) - MKL programming interface for intel64
    Not applicable without mod
    lp64 : 4 bytes integer (default)
    ilp64 : 8 bytes integer

    sukanta@Energy:~$

  6. #16
    Join Date
    Mar 2009
    Location
    México
    Beans
    42
    Distro
    Ubuntu 11.04 Natty Narwhal

    Thumbs down Re: install intel fortran compiler on ubuntu

    I am not an expert, but I think you miss the "source" command

    /opt/intel/composerxe-2011.5.220/bin/compilervars.sh intel64
    source /opt/intel/composerxe-2011.5.220/bin/compilervars.sh intel64


    Code:
    murpholinox@eva01:~$ /opt/intel/composerxe-2011.5.220/bin/compilervars.sh ia32
    [: 121: ia32: unexpected operator
    [: 121: ia32: unexpected operator
    [: 121: ia32: unexpected operator
    [: 121: ia32: unexpected operator
    [: 121: ia32: unexpected operator
    [: 121: ia32: unexpected operator
    [: 121: ia32: unexpected operator
    [: 121: ia32: unexpected operator
    
    ERROR: Unknown option 'ia32'
    
    Syntax:
      /opt/intel/composerxe-2011.5.220/bin/compilervars.sh <arch> [MKL_interface] [mod]
    
       <arch> must be one of the following
           ia32         : Set up for IA-32 target
           intel64      : Set up for Intel(R) 64 target
           mic          : Set up for Intel(R) MIC target
    
       mod (optional) - set path to MKL F95 modules
    
       MKL_interface (optional) - MKL programming interface for intel64
                                  Not applicable without mod
           lp64         : 4 bytes integer (default)
           ilp64        : 8 bytes integer
    
    murpholinox@eva01:~$ source /opt/intel/composerxe-2011.5.220/bin/compilervars.sh ia32
    murpholinox@eva01:~$ echo $?
    0
    *0 means exit that the exit status of the last command used was successful
    good luck
    mi segundo nombre es PELIGRO!

  7. #17
    Join Date
    Dec 2011
    Beans
    2

    Re: install intel fortran compiler on ubuntu

    hello all!i have succesfully installed intel fortran composer xe 2011 in my Ubuntu 10.04 but when i try to compile a program i have all i get is:
    /opt/intel/composer_xe_2011_sp1.7.256/compiler/lib/ia32/for_main.o: In function `main':
    /export/users/nbtester/x86linux_nightly/branch-12_1/20111012_000000/libdev/frtl/src/libfor/for_main.c.text+0x50): undefined reference to `MAIN__
    apparently i am missing ipp,arbb and tbb libraries.any ideas how to fix this???thanks in advance

  8. #18
    Join Date
    Dec 2011
    Beans
    1

    Re: install intel fortran compiler on ubuntu

    Thanks for the detailed instructions.However,

    If I type
    eleftheria@ubuntu:~$ sudo ifort
    I get
    sudo: ifort: command not found

    BUT If I type
    eleftheria@ubuntu:~$ source /opt/intel/composer_xe_2011_sp1/bin/compilervars.sh ia32
    eleftheria@ubuntu:~$ ifort
    I get
    ifort: command line error: no files specified; for help type "ifort -help"

    Do I always have to first run the source command before I run ifort?
    Is there a step I have omitted?

  9. #19
    Join Date
    Mar 2012
    Beans
    1

    Smile Re: install intel fortran compiler on ubuntu

    Thanks for your valuable words ecrisfield a.k.a elizabeth, without your updating technique of the .bashrc file my ifort was not compiling.

    Kaushik

  10. #20
    Join Date
    Mar 2013
    Beans
    1

    Re: install intel fortran compiler on ubuntu

    Hallo!
    I'm new here, in ubuntu and in fortran too!

    I would like to start working with fortran,
    reading this topic you said that there's the non-commercial version
    I gone on that website, but I admit that the words:

    "You may be contacted by Intel or an authorized reseller"

    are scaring me a little,
    anyone has been contacted for something?

    no money to pay for this version, right?

    thanks for the answers!

Page 2 of 2 FirstFirst 12

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
  •