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

problem from HP unix Fortran to Intel fortran compiler

just now I have problem when transfer the code from HP unix Fortran compiler platform to intel x86 when I use intel fortran compiler. such as :

---------------------
program main
integer i, i
print*,'hello'
end
--------------------
Intel compiler report errors because of the mutiple-declaration of i.
but HP compiler couldn't, since it's really a good feature for Intel compiler.
but I am wondering that is there any option to disable such a report and omit such error?
Thanks in advance

JUN

What causes "No such EnumMachine" error?

I compile demo code, then try using the debugger: ifort -g int_sin.f90;(idb) load a.out
Reading symbolic information from /home/(userid)/src/Source/PBplus/a.out...Assertion failed: !"No such EnumMachine"src/appl/hw/machine.C331
This is an unexpected condition and may indicate the presence of a defect.
If you wish to report this, please include the stack trace that follows.
Could not start process for a.out
No image loaded ... Recovering ...

(.gnu.linkonce.d.DW.ref.__gxx_personality_v0+0x0): undefined reference to `__gxx_personality_v0'

Hi everybody!
I am trying to compile a f90 program with
/opt/intel/fce/9.1.045 (ifort) compiler on a x86-64 system (fedora core
6) and I must use the tecio64.a library, but I find the following error:

tecio64.a(tecxxx.o):(.gnu.linkonce.d.DW.ref.__gxx_personality_v0+0x0): undefined reference to `__gxx_personality_v0'

I guess some link is missing but I don't know which one. Could somebody help me, please?
Thank you very much in advance!!

Rosa

File name and locations conventions

Here are some ideas on standardizing Fortran binary module and library files. I would like to get some good conventions defined to allow for better packaged Fortran development libraries. There seems to be no good convention for where to put module data files for Fortran development packages. Compilers generally check both include and library search paths for the .mod files. When it comes to installed packages, /usr/lib and /usr/include are both incorrect.

F2003 Features in 10.x

I have been testing the F2003 features in the 10.x beta series. I generated a complete interface to the HDF5 library C API. Support for the C_PTR type makes it possible to pass a generic data reference without a specific routine for every possible type/rank/kind combination. Type-specific functions are nice to catch bugs, but a generic reference makes it possible to store derived-type structures in the HDF5 data, as has been possible with C structures.

Type aliasing

I have been working with some old F77 code written by someone else. They use Portland Group's compilers, but I'm using Intel FORTRAN for Linux (of course, that's why I'm here). It's government code, so there's no one around now who's willing to undergo a major edit.
I'm not the strongest FORTRAN developer, so here goes my problem:

sum of large real array: ia32 vs em64t

So I have what to me is a mystery:

If I compile the attached code to take the average of a large real*4 array on a ia32 machine, I get an exact answer, but if I compile it on an em64t machine there is a considerable roundoff errror in the sumation!

I can understand the cause of the problem, but why is it different on the two machine?

What is the best way to do this kind of operation? I could put the sum in a double, but what if I am summing a double- that is not really a solution!

David

problem with installation of Debuger

Hi,

I have IntelC++ 9.1.0.42 and IntelFortran 9.1.0.40 both for Linux.

I have successfully installed IFortran on Fedora Core 5.0 and now I want to install IC++, but the problem is that the Debugers versions are not the same, and I am confused that how to install the two Debugers at the same time and how to configure them properly for each compiler when they are called at command prompt. I studied the Installation Guide but it says that if the versions are identical then one debuger in sufficient.

Sharing Fortran code, and a getopt_long module

There are a lot of common Fortran math libraries, but not many non-math libraries. It would be nice if there were a good community place to post code outside of a full open-source project, and get feedback and discussion. For example, what if we had something like CodeGuru for Fortran. Is there anyone here that could host something like this?

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