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

Numeric to Character

Hi,
I tried to convert my numeric value to character value. I knew in Windows System, I can use the following code to convert numerical variable A to character variable B.
***********
dim A,B
A=200.98
B=CSTR(A)
***********
However in Linux system, CSTR is not defined. Is there a way to convert numeric to character in Fortran Linux?

Thanks for any advice!

Roy

Dynamic linking error with mkl and ifc 9.1 (em64t)

Okay fixed that last problem, em64t install now works.

New problem: I have a dynamic linking problem on a code with a couple of lapack calls (dgetrf,dgetrs). This is on a dual core Pentium 830 using the em64t compiler and libs (fedora core5).

First note that if I compile with -static option, everything works perfectly and program runs correctly. If I allow default compile with dynamic, here's what happens.

Program compiles okay with

ifort myprog.f -L /opt/intel/mkl/8.1/lib/em64t -lmkl_lapack -lmkl_em64t -lguide -lpthread

On execution I get:

Segfault while compiling

I get this message for a couple files on a project I'm trying to build here with the 9.1.032 compiler:

fortcom: Severe: **Internal compiler error: segmentation violation signal raised** Please report this error along with the circumstances in which it occurred in a Software Problem Report. Note: File and line given may not be explicit cause of this error.
compilation aborted for (filename).F (code 3)

All I need to do is ifort -c (filename).F for both files.

C to Fortran conversion

I am developing an application using smarteiffel (compiled with and using icc) acessing some fortran routines (compiled with ifort). I have found a numerical multidimensional function integrator written in C (800 lines of code). My first thought is to translate manually the integrator to fortran in order to obtain better performance (for me, this is critical). Before start doing this, which will require a big effort, I would like to ask some opinion about this decision. Is it worth translating to fortran or not ?

Intel Fortran 9.0 install problem on Fedora Core 5 x64

I am having problems on aFortran install on Fedora Core 5 x64. Fedora install via latest dvd iso file.Two problem symptons: (1) Compiler install recordIA-32 fortran installs successfullyIA-32 idb install failsIA-64EMT compiler install failsIA-64EMT idb installs successfully(2) Intel sample prog won't runTried to run intel sample code int_sin.f90. Compiles, but loader reports error as./a.out: error while loading shared libraries:

About ifort real size:

I am using ifort 9.1.032 on Fedora core 5.
I have a little program that write data to grads file as below:

!------------t.f90

real*4 out (201,161)

open (1, file='t.dat',form='unformatted', access='direct', &
recl=201*161*4)

! Get the data...
write(1,rec=1) out

! Get the data...
write(1,rec=2) out
!----------------------------

Now, the t.dat size should be: 201*161*4*2=258888 (B)
When I compile the file t.f90 with pgf90, it's OK. But when I compile with ifort

ifort -w90 t.f90

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