Intel® Fortran Compiler 11.0 Beginner

Hi, I’ve to compile a .for source code from here (ATLAS9).

In INSTRUCTIONS she write:

To compile them:

ifort -save -o atlas9mem_linux.exe atlas9mem_linux.for
ifort -save -o atlas9v_linux.exe atlas9v_linux.for

But when i do this:

bash: ifort: command not found

:’( Please help me

It means what it says: ifort is not installed on your system.

That not a surprise as in a Linux environment the GNU Fortran Compiler is of course the product normaly used.

A search in YaST > Software > Software Management does not succeed. Neither does a search on Webpin.

Using Google I found Intel® Fortran Compiler 11.0 Professional Edition for Linux* - Intel® Software Network. There seems to be a Linux version that can be downloaded if you are not using it commercialy.

Hope this helps.

During the installation, it says:

Cannot determine which operating system is running. Supported operating systems
for this release include:
- Asianux* 3.0
- Debian* 4.0
- Fedora* 9
- Red Hat Enterprise Linux* 3, 4, 5
- SGI ProPack* 5 (IA-64 and Intel(R) 64 only)
- SuSE Linux* Enterprise Server* 9, 10
- Turbo Linux* 11
- Ubuntu* 8.04 (IA-32 and Intel(R) 64 only)

System glibc or kernel version not supported or not detectable.
Supported glibc/kernel versions:
architecture kernel glibc
IA-32 2.4 2.2.93, 2.3.2
IA-32 2.6 2.3, 2.4, 2.5, 2.6
IA-64 2.4 2.3.2
IA-64 2.6 2.3, 2.4
Intel(R) 64 2.4 2.3.2
Intel(R) 64 2.6 2.3, 2.4, 2.5, 2.6

Binutils version not supported or not detectable.
Supported versions are greater than 2.13.

>:( I can’t skip these problems, because i did it in first installation and the result is known!

How i can solve this?

May be others can help you here. I am afraid that Intel is a bit to restrictive, but I do not know how to circumvent this.

I took a quick look at the Fortran source. Looks quite normal to me. I think I personaly would give the gnu-fortran compiler a change. After all, when they wrote correct FORTRAN any complier must be allright.

i installed the gnu fortran compiler! (from Yast)

How to compile?

:expressionless: Thanks a lot

emmecorsivo wrote:
> i installed the gnu fortran compiler!
>
> How compile?
>
> :expressionless: Thanks a lot
>
>
Time too start reading! For starters, use google to find the gfortran
wiki, and then the gfortran manual.

gfortran --help

I agree with baf. Do some research yourself. I think

gfort -o atlas9mem_linux.exe atlas9mem_linux.for

should be a starter, but what the -save does in ifort and if there is an equivalent I do not know.

We can give directions, but we can not sit behind you and do all the reading and testing.

For intel compiler you can consult intel forum at Intel® Fortran Compiler for Linux and Mac OS* X - Intel® Software Network .

I tested compilation with ifort and got the following

> time ifort -xW -O3 -save -r8 atlas9mem_linux.for -o iatlas9
atlas9mem_linux.for(300): (col. 10) remark: LOOP WAS VECTORIZED.
atlas9mem_linux.for(345): (col. 10) remark: PARTIAL LOOP WAS VECTORIZED.
atlas9mem_linux.for(345): (col. 10) remark: PARTIAL LOOP WAS VECTORIZED.
.
.
.
atlas9mem_linux.for(15019): (col. 10) remark: LOOP WAS VECTORIZED.
atlas9mem_linux.for(14822): (col. 10) remark: LOOP WAS VECTORIZED.
atlas9mem_linux.for(14552): (col. 10) remark: LOOP WAS VECTORIZED.

real    0m43.899s
user    0m32.210s
sys     0m0.592s
>

You will need -r8 option to use 8-byte reals.
-xW tells that I am using Pentium 4 compatible machine
-O3 tells that I want code to be vectorized. (a lot of boost in performance)

gfortran failed, I dont know how to set needed option.

Sorry, I left out critical info from previous post: I am running OpenSuse 10.3 and ifort 10.1. I have an impression that OpenSuse 11.0 and OpenSuse 11.1 are not supported yet.

Hello!

I’m a beginner of opensuse. I have opensuse 11.1 and I would laike to install intel fotran 11.0 but I have a problem during the installation. It said that :

The following required for installation commands are missing:
libstdc++.so.5 (library)

Could you help me??

I think is a problem between opensuse version 11.1 and fortran 11.0, Maybe, last one doesn’t support this openseuse version. So I had to install a previous version of opensuse. But I am not sure.

Could anybody help me?

Thanks!!!:expressionless:

2MMPB19:
this libstdc++.so.5 can be found and installed easily through YaST - software installation
2emmecorsivo
before running ifort after installation you have to do first

source /opt/intel/Compiler/11.1/038/bin/ifortvars.sh ia32 (or intel64 or ia64, depends on your mashine)

its written about it in the manual :wink:

yes, i’m also disappointed with that intel is not full-compatible with latest opensuse (( but still ifort can be installed and works fine. only it is not full-featured.

Please I need help with installing intel fortran compiler 11.1 on opensuse 11.1. I have done the pre requisistes using yast2. but when i do zypper iinstall gcc33-32bit it says its not found so i did zypper install gcc33 and installed succesfully, i also managed to install the intel compiler succesfully and sourced it but it still not compiling my files when i test it. Pls can some1 help me pls. I m a newbie and will appreciate any help pls.