Gfortran does not compile dynamo (and others)

Jerry DeLisle jvdelisle@verizon.net
Sat Feb 3 23:35:00 GMT 2007


Tobias Burnus wrote:
> Hi,
> 
> Ignacio Fernández Galván wrote:
>> Well... I could track the mess down to an "open" statement that's not
>> working although the file is there (iostat gives a value of 9, what
>> does it mean?).
> On my system it is: "Bad file descriptor" *)
> As already mentioned by Thomas, you could ask gfortran to spit out an
> error message, by
> using open without err= or iostat=.
> 
> Tobias
> 
> * This is on openSUSE x86_64, determined using the following C program:
> ---------------
> #include <stdio.h>
> #include <errno.h>
> 
> int main()
> {
>   errno = 9;
>   perror("");
>   return 0;
> }
> ---------------
> 
> 
I was going to guess that maybe this:  FName(1:linend(fname)) is giving a 
malformed string being passed to open and maybe we are clobbering the descriptor 
or some other structure.  I will see if I can recreate something like this, but 
without some of the actual code, I may not be able to.

Jerry



More information about the Fortran mailing list