Recent content by smigs

  1. S

    Fortran Passing variables between subroutines in different files using Fortran

    Hi Sheldon- I hope this answers your question since it worked for me. I run my FORTRAN code on Snow Leopard. Now I have multiple subroutines in different files that I call in my main program. The way I made it work was to do: gfortran -o mainExec mainprogram.f file1.f file2.f ... So...
Back
Top