Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/beebus/hello-world-fortran
- Owner: beebus
- License: gpl-3.0
- Created: 2021-11-11T13:54:38.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-11-11T14:07:16.000Z (about 3 years ago)
- Last Synced: 2024-10-26T12:36:15.950Z (3 months ago)
- Topics: fortran, fortran90, hello-world, helloworld
- Language: Fortran
- Homepage:
- Size: 15.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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_worldFortran is packaged with the GNU GCC bundle.
You can check your installation and version of Fortran by running:
$ gfortran --versionIn 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 helloThis looks similar to what I remember of compiling C++ code at the command line.
Then the program is run by the following command:
$ ./helloOutput in terminal:
Hello, World!