I am very new to Fortran and want to ask how can I run a main program in one Fortran files from another Fortran files. For instance, I have two Fortran files: a.for and b.for,
Inside a.for, there is a main program called xx
end program xx
Inside b.for , there is a main program called yy, all I want to is to call the main program xx inside programm yy:
(Call the main program xx from a.for)
end program yy
Do you know is it possible to do that? Thanks in advance!