Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Intel Fortran Compiler 10.0.023 on Gutsy

  1. #1
    Join Date
    Feb 2007
    Beans
    11
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Intel Fortran Compiler 10.0.023 on Gutsy

    Ok, so I just installed Gusty and tried to put the Intel(R) Fortran Compiler 10.0.023 on it. Here is the error I got.

    The Intel(R) Software Setup Assistant may attempt to connect to the
    Intel(R) Registration Center to validate your Serial Number. This may take
    several minutes depending on your network. Please wait...

    You may press Ctrl+C to cancel.
    ./install.sh: line 332: 14075 Floating point exception(core dumped) $install_prog $@

    If anyone knows a workaround please help, else I'll just go back to Feisty and wait for a new version of the compiler. I am not an expert Linux user but am capable of following guides/comments.

    Thanks..

  2. #2
    Join Date
    Apr 2007
    Beans
    14,781

    Re: Intel Fortran Compiler 10.0.023 on Gutsy

    Can you use G77 or GFortran? They would be much easier to set up. (In case you didn't know of them)

    Sorry, I never tried the Intel Fortran Compiler.

  3. #3
    Join Date
    Jul 2007
    Beans
    20

    Re: Intel Fortran Compiler 10.0.023 on Gutsy

    I get the same error. I tried a lot of thing but nothing seems to work. If I scroll up to the top of the were I try to install it I see

    Code:
    sh: Syntax error: Bad fd number
    right after I ran install.sh.

    I also echoed $install_prog and see it is not set anything and it should be set to "./secore -t --launch" it tried to set it to that right be line 332 but that did not work. I have searched for the Bad fd number thing and have not come up with anything.

  4. #4
    Join Date
    Jul 2007
    Beans
    20

    Re: Intel Fortran Compiler 10.0.023 on Gutsy

    Well I got the intel C++ and fortran compiler to work in ubuntu 7.10. It took some hacking. The first thing I did was get the lastest version off the intel website 10.0.026. Then I installed it using the LICENSE FILE because the key would not work I keep getting the same error. Once I had it installed I changed the PATH and LD_LIBRARY_PATH in /etc/bach.bashrc with the below.

    Code:
    # for intel compiler
    export PATH=$PATH:/opt/intel/cce/10.0.026/bin
    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/intel/cce/10.0.026/lib
    
    export PATH=$PATH:/opt/intel/fce/10.0.026/bin
    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/intel/fce/10.0.026/lib
    Then I tried using icc or ifort and got some an error like

    Code:
    export: 36: Illegal option -n
    So I opened up /opt/intel/fce/10.0.026/bin/ifort and deleted the -n in line 36. I run into an error with exec and the -a in the last line of the file so I hacked them to look like

    Code:
    if [ $# != 0 ]
    then
     exec /opt/intel/fce/10.0.026/bin/ifortbin "$@";
    else
     exec /opt/intel/fce/10.0.026/bin/ifortbin;
    fi
    I did the same of icc for the c++ side. So it seem export and exec don't have the same options as before. I don't know why this is,but this will make it work. If anyone know a better way of fixing it that would be great.

  5. #5
    Join Date
    Feb 2007
    Beans
    11
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Intel Fortran Compiler 10.0.023 on Gutsy

    Quote Originally Posted by LaRoza View Post
    Can you use G77 or GFortran? They would be much easier to set up. (In case you didn't know of them)

    Sorry, I never tried the Intel Fortran Compiler.
    The Photran IDE from Eclipse works well with the Intel Fortran Compiler. I use gfortran with Windows but haven't tried it in Ubuntu. Maybe I should. Well, for now I am back to Ubuntu 6.10 as it has been stable on my PC for a while. My simulations run for months sometimes therefore I need something that works for sure.


    Masebase:

    Thanks for the help. I will try your method on my other PC when I get home. It seems Intel is always behind in supporting the latest distros.

  6. #6
    Join Date
    Apr 2007
    Beans
    14,781

    Re: Intel Fortran Compiler 10.0.023 on Gutsy


  7. #7
    Join Date
    Sep 2005
    Location
    Cedar Rapids, IA, USA
    Beans
    545
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: Intel Fortran Compiler 10.0.023 on Gutsy

    The only reason to use Intel FORTRAN is if your code uses NAMELISTS as gfortran won't support them. I haven't tried g77 in a while since it won't install on my Macbook and my Dell running Edgy keeps shutting off due to some critical overtemperature.
    #399784 | Ubuntu User #287
    *** If you're going to program, install the damn build-essential package ***
    There is no such thing as Ubuntu specific programming
    Save the electrons - if you quote, trim!

  8. #8
    Join Date
    Aug 2005
    Location
    Birmingham, AL
    Beans
    974
    Distro
    Kubuntu

    Re: Intel Fortran Compiler 10.0.023 on Gutsy

    masebase: did you try running the script with bash instead of just executing it? My bet is that it tries executing with /bin/sh, which is linked to dash, a bash clone that doesn't support a few options and will break scripts.

    Do bash ./nameofscript.

    Sigh. Why Ubuntu insists on linking dash to /bin/sh by default, I'll never know.

  9. #9
    Join Date
    Oct 2007
    Beans
    2

    Wink Re: Intel Fortran Compiler 10.0.023 on Gutsy

    Hi!
    First of all, excuse my poor english.
    To do the install y follow these steps as root:

    tar -zxvf l_fc_p_10.0.023.tar.gz
    cd l_fc_p_10.0.023/data/
    #to do a deb package:
    sudo alien -cv intel-ifort100023-10.0.023-1.i386.rpm
    #install it:
    sudo dpkg -i intel-ifort100023_10.0.023-2_i386.deb
    #go to
    cd ../../fc/10.0.023/bin

    and at beginning of some files (look here http://www.intel.com/support/perform.../CS-025939.htm)
    you must replace #!bin/sh for #!bin/bash, and ...

    chmod 770 ifortvars.sh

    root@myubuntu:/opt/intel/fc/10.0.023/bin# ./ifort --version
    ifort (IFORT) 10.0 20070426
    Copyright (C) 1985-2007 Intel Corporation. All rights reserved.

    It's done. And now:

    source /opt/intel/fc/10.0.023/bin/ifortvars.sh

    to add the ifort vars.

    Good luck.

  10. #10
    Join Date
    Oct 2007
    Beans
    2

    Re: Intel Fortran Compiler 10.0.023 on Gutsy

    Upps, the license file must be in the license directory /opt/intel/licenses
    intel mailed you with that file.

Page 1 of 2 12 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
  •