------- Comment #8 from kargl at gcc dot gnu dot org  2008-06-20 15:54 -------
(In reply to comment #6)
> This code (coart.f) works fine on several SGI and SUN systems. On my mac, only
> gfortran is available. based on the error message, I extracted the component
> (start at line 12657) with problem and named as junk.f. However, compilation 
> of
> junk.f is fine. This is the puzzle!

AS requested by Daniel, you need to provide all the necessary files.

troutmask:kargl[202] gfc -c coart.f 
coart.f:13595.72:

      USE PMOM_aer                                                      
                                                                       1
Fatal Error: Can't open module file 'pmom_aer.mod' for reading at (1): No such
file or directory

There is at least one file that defines PMOM_aer that is needed.



>> > 
> > [zjin:~/coart/spec] jin% gfortran -v
> > Using built-in specs.
> > Target: i386-apple-darwin8.9.1
> > Configured with: ../gcc-4.3-20070518/configure 
> > --enable-languages=fortran,c++
> > Thread model: posix
> > gcc version 4.3.0 20070518 (experimental)

Try updating your version of gfortran.  20070518 is over a year old, and
there have been numerous bug fixes and changes in the last year.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36577

Reply via email to