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

no compile a basic program

I wrote the next basic simple code:

PROGRAM Temp_Conversion
INTEGER :: Deg_F, Deg_C, K
PRINT*, "Please type in the temp in F"
READ*, Deg_F
Deg_C = 5*(Deg_F-32)/9
PRINT*, "This is equal to", Deg_C, "C"
K = Deg_C + 273
PRINT*, "and", K, "K"
END PROGRAM Temp_Conversion

and i tried to complile with

>ifort conversion.f

But generate the following error, many lines like this:

stream files

We want to move files from OpenVMS to Linux, the data to be used with Intel Fortran on Linux. The data is being written in FORTRAN on the OpenVMS side.

We thought we would simply use

open (lun, form='unformatted', status='new', 'recordtype='stream', carriagecontrol='none')

when we create the file, and that we would then end up with a file that is just a stream of bytes, which would of course move to Linux without difficulty.

Linux equiv to Win psAPI.f90 for memory usage

In moving from Windows to Linux (with IVF 9.1/MKL 9.0), I need to query the process at one point to see how big an array can be allocated for the next part of the solution. In Windows, Steve set up the psAPI.f90 module which can be used to obtain memory and page file usage much like the info from the Win Task Manager. This has worked very well.

Now I need to do the similiar sort of thing under Linux. Specifically need to find out how much memory is used so I can compare either to the Linux 32 bit limits (2 GB?) or Linux 64 bit (to compare to installed hardware memory, 16 GB).

real precision conversion

Hi all,

I have a question about the generic elemental function REAL(a[,kind])

Does the function work element by element if the input argument 'a' is an array? In other words, does the following work correctly?

! -- code start

real(4) :: x(10)
real(8) :: y(10)

call random_number(y); x=real(y,4)

! -- code end

If this works, does it work regardless of the number of dimensions of the array (1D, 2D, ...)?

problem with installation m_fc on Mac OS Core 2 MBP

Hi I am trying to evaluate the intel 9.1 fortran compiler for Mac OS X.
I have downloaded the *.dmg file and started the installer program. I
get to the screen "Easy Install on Macintosh HD - Click Install to
perform a basic installation ... " When I click "install" the installer
quicly moves through the install window and comes back at the Finish up
screen with the message "There were errors installing the software -
Please try installing again". I did but the same result.

arpack: memory issue?

Greetings everyone. I'm rather new to fortran, so please bear with me.

I am trying to use ARPACK for an eigenvalue problem. I am wondering if there are certain compiler flags I need to use, or if I am simply at a memory limit. Here is the background: no version information available on EM64T


I have installed Fortran 9.0 for Linux on an EM64T system. The compiler seems to work fine, but for every source compiled, the system warns about:

$ ifort helloworld.f
/opt/intel/fortran90/bin/fortcom: /usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.5/32/ no version information available (required by /opt/intel/fortran90/bin/fortcom)
/opt/intel/fortran90/bin/fortcom: /usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.5/32/ no version information available (required by /opt/intel/fortran90/bin/fortcom)

linking error

I am trying to create a fortran library using the Intel Fortran Compiler (9.0)

The compilation runs fine but at the linking stage the following error shows up:

.../gcc-4.1.0/bin/ld: /usr/tmp/gcc-4.1.0/lib/gcc/i686-pc-linux-gnu/4.1.0/crtbegin.o: No such file: No such file or directory

The missing file is located in "/home/me/gcc-4.1.0/lib/gcc/i686-pc-linux-gnu/4.1.0/crtbegin.o: No such file: No such file or directory" and not in "/usr/tmp/...".

- So why does the linker needs this file?
- Why does the linker search in the wrong directory?

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