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. Start your own thread to ask a follow-up.
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