Re: NLEQ1 and open source Fortran



g95 uses the GCC 4.01 backend. Is this ancient?

BTW, g95 has been compiling and running properly my real-life
engineering application for months. I have yet to get gfortran to even
compile it.

Al

Steve Kargl wrote:
> Madhusudan Singh wrote:
> > rlopneg wrote:
> >
> >
> >>Hello I've been having some troubles trying to solve al large scale
> >>nonlinear system using nleq1. When I compile it using Intel's Fortran
> >>Compiler everything works properly, but since I'm trying not to use
> >>comercial software I tried compiling my program using GNU's (gcc)
> >>GFortran. When doing this I get the solver stops due to singular matrix
> >>problems. I've checked that the SMALL and EPMACH values are the right
> >>ones for my machine, and I'm using the files downloaded right from
> >>http://www.zib.de/Numerik/numsoft/CodeLib/codes/nleq1/. And besides
> >>that, the solver works fine with Intel's fortran...
> >>
> >>Does any body know how to correct this, or why it works on comercial
> >>fortran compilers and not with open source compilers??
> >>
> >
> > Have you tried g95 ? It is known to be more complete than gfortran.
> >
>
> This has nothing to do with the completeness of gfortran versus
> g95. The OP clearly states that gfortran can compile the code.
> Indeed, g95's use of an ancient version of the gcc backend may
> indicate that gfortran is a better choice.
>
> BTW, if you use complex data types with g95, I suggest that you
> should carefully read the g95 source code. The last time I checked,
> there were a few bugs lurking.
>
> --
> steve

.



Relevant Pages

  • Re: Problem linking fortran code
    ... Wherever you got gfortran, it should include a compatible gcc. ... wouldn't compile on gcc recent versions. ... I just called the ARPACK function from my C++ file ...
    (comp.lang.fortran)
  • Re: ICEs "normal" in Gfortran
    ... compile, they assumed I had found a workaround. ... When the gfortran developers mark a bug as "normal", ... not considered to be an important component of GCC by some ...
    (comp.lang.fortran)
  • Re: gfortran : unknown functions itime and idate
    ... On a PC with Linux Fedora 4 and gcc 4.1.1, I try to compile with ... gfortran an old program with the following instructions: ...
    (comp.lang.fortran)
  • Re: Random number and fortran standard
    ... I tried to compile the same code with two different compilers, ... end program prova ... The executable made by gfortran give every time the same number in output.. ... With the executable made by g95 I obtain a different number for each run. ...
    (comp.lang.fortran)
  • Re: Gfortran 2 years behind G95 and still not ready for prime time
    ... accomodate outdated coding practices; how about these new kids on the block? ... I think that gfortran, the successor of g77, aims to compile ... G95 has aim but is selective about. ... In some ways gfortran and g95 are complementary. ...
    (comp.lang.fortran)