Intel® Fortran Compiler for Linux* and Mac OS X*

executing a sample program

I installed FC5 on my AMD 64 x2 computer and installed "l_fc_c_9.0.031" witha default setting.I can compile the sample program, which is /doc/samples/int_sin.f90,without any error and compiler gave an executable file: a.out
And I typed ./a.out and press enter, then I get an error message as:./a.out: error while loading shared libraries: /opt/intel/fc/9.0/lib/
cannot restore segment prot after reloc: Permission denied

forrtl:severe(29):file not found

(I'm running on Suse10.0 Linux(64bit)intel fortran 9.0.031)When I was executing the execution file 'fdm.x' which actually I haven't made, I successfully compiled it (I had used -i-static option because of library problem) but I got the error message as follows.forrtl:No such file or directoryforrtl:severe(29):file not found, unit 51, file /fdm.d/fort.51Image PC RoutineLine Sourcefdm.x0000000000463147 Unkonwn Unkonwn Unkonwnfdm.x000000000046150E Unkonwn Unkonwn Unkonwnfdm.x000000000043AA4C Unkonwn Unkonwn Unkonwnfdm.x0000000000411247 Unkonwn Unkonwn Unkonwnfdm.x0000000000410EBQ Unkonwn Unko

0.**0.=1. ?

I am somewhat surprised about the mathematics of the compiler. In the analytical mathematics 0.**0. is indeterminated. In contrast to that, the compiler gives 0.**0.=1. . IMHO this is not a good idea, because this is a jump, since 0.**x=0. for all x>0.The compiler action results in the following gag:
If I have none apple and I do nothing with is, I get an apple.Furthermore the compiler solves 0.**x=0./0.="infinity" for x<0. This is also indeterminate and therefore not correct.Please can anyone explain to me this curious results.Thanks,

Introducing Intel(R) Fortran Compiler for Mac OS*

Introducing the Intel Fortran Compiler, Standard and Professional Editions, for Mac OS*

Intel and Apple* are proud parents of the new generation of Macs* based on the advanced Intel Core Duo and Intel Core Solo processors. Fortran developers can benefit from this hardware advantage today.

The Intel Fortran Compiler, Standard and Professional Editions, for Mac OS provide a fast and easy way to increase performance for compute-intensive applications.

WORKSHARE not working

I have problems with OpenMP WORKSHARE directive on ifort v. 9.0
(ifort -V produces:
[hajek@dell8 gpr]$ ifort -V
Intel Fortran Itanium Compiler for Itanium-based applications
Version 9.0 Build 20050624 Package ID: l_fc_c_9.0.024
Copyright (C) 1985-2005 Intel Corporation. All rights reserved.
If I compile the attached test program with

ifort -O3 -ip -openmp -openmp-report=2 omptest.f90

Relocation truncated to fit


I hope people can help me with a problem I am having. I keep on getting this error message when I try to compile my program:

ifort NRTYPE.F90 debug2.f90 factorial.f90 comp_2_arrays.f90 population_c.f90 pop_fluctuation2_c.f90 get_rho2.f90 -check all -o BH_Ar6 BH_Ar6.f90 -L/home/wy/ARPACK/ -larpack_OPT -L$MKL -lmkl_lapack -lmkl_em64t -lguide -lpthread

/tmp/ifortkvUiEu.o(.text+0x1dd5): In function `MAIN__':

BH_Ar6.f90: relocation truncated to fit: R_X86_64_PC32 against `.bss'

about the parallel usuage.

Up to now I have bought the following software of intel:
1) Intel fortran compiler 9.0
2) math library 7.0.

Now I have questions as following
1) If I want to use parallel calculation function, i.e. mpi module,
what kind of software do i need to buy? I didn't find the mpi fortan compiler of intel. If Intel has, where could I found that?

2) what's difference of fortran 8.0 and fortran 9.0?

Your advices is greatly appreciated.


Seek debug tips for crash, when using optimized code; no crash otherwise


this is with l_fc_c_9.0.032/EM64T.

If I compile with

-g -check -r8

it does not crash -- whereas it does crash using

-O3 -r8 -assume buffered_io -ipo -traceback -g

Unfortunally, the traceback does not help:

forrtl: severe (174): SIGSEGV, segmentation fault occurred

Image PC Routine Line Source 00002B4B9973662E Unknown Unknown Unknown


Any idea?


why automatic variables can not be compiled on Intel fortran compiler

Hi,I am using Intel Fortran compiler 32 bit for linux. In the process of running my model on linux, I alwasy encounter this kind of error message:Syntax error, found END-OF-STATEMENT when expecting one of:
That is because one of my subroutine variables are defined as AUTOMATIC.I check the Intel literature and it saysVersion 9.0 support automatic variables. And I also add some argument after command 'ifort', howeverit does not work.I hope someone can give me some tips on this.Thanks a lot.Rui

Subscribe to Intel® Fortran Compiler for Linux* and Mac OS X*