Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to start

67 views
Skip to first unread message

P Meera

unread,
Sep 10, 2022, 9:39:02 AM9/10/22
to
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?

Ron Shepard

unread,
Sep 10, 2022, 11:16:25 AM9/10/22
to
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

0 new messages