Hallo all,
I just want to tell you about a problem I had with ifort
(probably most of you know about this problem but it took
me a lot of time to solve it).
The code worked fine with gfortran and with old versions of ifort.
I had no clue of what was happening.
In the code there is a...
Dear all,
I have been wasting some time to understand an error
which was rather trivial, I forgot to initialize
an index in a subroutine. As a result, no compiler gave me
any error but when executed the code gave me
different results for different compilers/computers.
My question is thus: is...
Hallo All,
I am using Lapack libraries to diagonalize
a matrix (complex, non-symmetric).
After calling the lapack subroutine I try to deallocate the
memory of the arrays used but there is a problem.
Notice that If I do not deallocate the arrays everything
works fine (I use gfortran as a...
hallo all,
I have been given a code to modify (old fortran 77 in fixed format)
so I changed it introducing modules (instead of "common" type sintax).
There is a compilation problem of this kind:
This name does not have a type, and must have an explicit type. [XMELE]
XMELE=0.
Since...
Hallo All,
I have a f90 code, if I compile it with gfortran it works, however if I compile it with ifort a segmentation fault occurs.
I use to check for errors in memory allocation with gfortran via the option -fbounds-check and I have been told that the equivalent option for ifort is -C...
hallo all,
I have written a fortran code and compiled it with gfortran.
I run it and I keep using the computer for other purposes, however
from time to time the computer (fedora 14 core2 duo with a 1Gb) becomes very slow. I was thinking that maybe the memory usage might exceed the available...
hallo all,
My code at first reads a input file.
It seemed that the last two parameters of the first row of the
input file had some problem.
I changed the code not to read these two parameters.
The numerical results from the code depend on how
I delete these two parameters from the input...
Hallo!
I am programming using fortran 90 (gfortran as a compiler).
I have to sum a lot of functions like this:
do ix=1,100
do iy =1,100
do n=1,10000
do k=1,10000
d(ix,iy) = d(ix,iy) + coeff(n,k) * f(n,ix) *g(k,iy)
enddo
enddo
enddo
enddo
I was...
Hallo everybody,
I am using a code (compiled with gfortran)
which uses the selected_real_kind statement, however
since I had problems I tried to implement a very basic code like:
!-----------------------------------------------
program real_kinds
implicit none...
Dear all,
I would like to interface a Lapack subroutine with my code.
There is a point I don't understand.
As far as I know in principle a f90
compiler should compile all the f77 codes,
however I have a problem with commented sentences.
When there is a * at the beginning of a line it is...
Dear All,
I am working on a F90 code I didn't write.
I would like to execute the code itself two times
(with different parameters) and I wrote a "do" loop at the beginning of the code.
Before the loop ends all the allocated arrays should be deallocated.
Unfortunately at the beginning of the...
Hallo All,
I am using Fortran 90 (as a compiler I use gfortran), my code uses complex numbers and during a check on the output I found that the imaginary part of two numbers instead of being 0 as expected are:
3.60739284587612705E-313
2.56963542402032328E-320
I performed a -fbound-checks...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.