Hi all
I browsed through the web and read the intel forums - but could not find a solution for this problem.
Is anyone able to debug fortran 90 programs (compiled by ifc) using idb on redhat 9? I am getting the following error (I compiled the program with -g option and the executable is in the same directory as that of source code).
Linux Application Debugger for 32-bit applications, Version 7.0, Build 20021021
------------------
object file name: a.out
Intel® Fortran Compiler for Linux* and Mac OS X*
what is question mark(?) ?
I know that ifc uses special characters for certain errors: For instance if a real number does not suit the certain format statement, it prints asterixes(*) or in cases os 1/0 division it prints dashes(-), is there anyone who knows in which kind of errors ifc prints question marks(?) ?
If you can help me, I would be very glad.
problem of using global allocatable array
I have a program test.f
PROGRAM test
use globalloc
IMPLICIT NONE
allocate(pop(mesh))
read(*,*)mesh
do i=1,mesh,1
read(*,*)pop(i)
end do
call peace()
end
that uses a module globalloc.f
module globalloc
double precision,allocatable,dimension(:) :: pop
integer mesh,i
end module globalloc
and uses a subroutine peace.f
subroutine peace()
use globalloc
Code compatibility/Optimisation
Hi,
I use a code written in Compaq Fortran (f77&f90 mixed!) on a win2000 P4 machine. Now I have made it to dual boot in RedHat 9. Just downloaded the Intel compiler.
Will the code be compatible or need modification? Are there need for any special flags? What flags will give the best optimisations for P4 1.8Ghz with 512Kb Cache?
I am new to linux and so its a bit difficult :-).
Any help will be appreciated.
Thanks
Alan
ifc on RH severn beta1
I post this not as a bug report but more FYI (in particular the compiler developers).
I tried ifc 7.1 on Rh severn beta (which presumably will become RH10 in October). Using the following compiler options (for P4) -O2 -tpp7 -xiMKW I ran into multiple internal compiler errors and often the compilation of a source file would never finish. This of course is all code that so far compiled just fine. I found that -O2 -tpp7 still works and I was able to link with the -i_dynamic option.
It remains to be seen if this will improve until the final release.
Undefined iargc, getarg
I tried to compile my code on redhat9 and got the following error message:
Undefined IARGC_
undefined GETARG..
Doesn't the current compiler support it? How to fix it?
Thanks,
Huilin
trouble with -O0 -mp and -mp1
Hi, I have a problem about the floating point precision control options of fortran linux compiler 7.0. When I compiled my code with default option -02 and other optimizations level options -01, -O3 and execute the executable; my executable gives the results in an output file that those results are floating point numbers which are correct according to my calculations. However, when I compile my code with -O0 or when I use -mp or -mp1 options with optimization levels
random function produce a address error
Hi,
I am usin ifc 7.1 in a pentium III machine with redhat 9.0 (with a pach to the glibc library).
I have a program which is using the rand function.
I am compiling some .f and .f90 fortran files with the options: -g -C -d2 -Vaxlib
I have not errors in the compilation but when I execute the program I have the following error correspondig to the line test with the rand() function. The message
** Address Error **
Diagnostics Entered From MAIN PROGRAM Line 15
a = 0.000000E+00
b = 0.000000E+00
-ipo and -prof_use
Hi,
Does anyone have experience with the -ipo and -prof_use optimizations? Specifially, I'm trying to get some idea of how much these options might speed up a code (although I realize this is likely to be highly code-specific). I've tried using them on a large code that I make extensive use of and find that they lead to at best a small slow-down in the code.
Andrew
math library
I am using ifc on linux suse8.2 in my code, i get the following error while calculating log of a number (I checked, its non-zero). I am using the -r8 option while compiling. DOes anyone encounter similar problems or knows a solution? I tried a small test program with the log function and it works fine.
Program received signal SIGFPE, Arithmetic exception.
0x400edf1c in __ieee754_log () from /lib/libm.so.6
