How to Compile Fortran Code on Mac and Unix Systems?

  • Context: Fortran 
  • Thread starter Thread starter qinjie1629
  • Start date Start date
  • Tags Tags
    Compiler Fortran Mac
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 3K views
qinjie1629
Messages
2
Reaction score
0
I have several fortran code files which can be correctly compiled and run in Windows XP using gfortran. But, when I use the gfortran 4.2.1 compile these files on Mac(10.6), the code files can be compiled, but, it reports errors when I run the compiled file.

the error is related to the pointer of a structure type of data.

Can you gus compile these files for me under Unix or Mac.
 
Physics news on Phys.org
here is the source code files (4 files). anyboby help?
 

Attachments