Fortran modules:

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I use Fortran77 and C++.

I am trying to learn Fortran95.

How the hell do you write, compile, and link a fortran module?

I have a little data module and a use statement in my program.
I think I understand the syntax.  It's the compilation I don't understand.

I keep getting:
Fatal Error: File 'gammax.mod' opened at (1) is not a GFORTRAN module file

Is the module supposed to be a binary of some kind?
Is the module a source file?
What do you call the module source?
Where do you put it?
How does it compile?

Is there a little, tiny example anywhere that shows this chain of events?

Help!

Ed


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux