Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/beebus/hello-world-fortran

Using an Ubuntu Linux text editor, I followed a "hello world" tutorial at https://fortran-lang.org/learn/quickstart/hello_world
https://github.com/beebus/hello-world-fortran

fortran fortran90 hello-world helloworld

Last synced: about 1 month ago
JSON representation

Using an Ubuntu Linux text editor, I followed a "hello world" tutorial at https://fortran-lang.org/learn/quickstart/hello_world

Awesome Lists containing this project

README

        

# hello-world-fortran
Using an Ubuntu Linux text editor, I followed a "hello world" tutorial at https://fortran-lang.org/learn/quickstart/hello_world

Fortran is packaged with the GNU GCC bundle.

You can check your installation and version of Fortran by running:

$ gfortran --version

In my hello world example, I saved the code as a .f90 file.

At the Linux terminal, I compiled it by the following command:

$ gfortran hello.f90 -o hello

This looks similar to what I remember of compiling C++ code at the command line.

Then the program is run by the following command:

$ ./hello

Output in terminal:

Hello, World!