On 9/10/22 8:39 AM, P Meera wrote:
> Hello!
> After installation, (gfortran-ARM-12.1-Monterey.dmg for Apple Silicon computers) how to do the command line in terminal to open the .for file an compile?
After installation, do
which gfortran
to make sure the compiler is in your path. If that works, then do
something like
mkdir hello
cd hello
echo "write(*,*) 'Hello World'; end" > hello.f90
gfortran hello.f90 && a.out
That should get you started.
$.02 -Ron Shepard