Compiling Serial Programs
A serial program is a single process which executes as a sequential stream of instructions on one processor core. Compilers capable of serial programming are available for C, C++, and versions of Fortran.
Here are a few sample serial programs:
To load a compiler, enter one of the following:
$ module load intel
$ module load gcc
$ module load aocc
Language | Intel Compiler | GNU Compiler | AOCC Compiler | |
---|---|---|---|---|
Fortran 77 |
|
|
|
|
Fortran 90 |
|
|
|
|
Fortran 95 |
|
|
|
|
C |
|
|
|
|
C++ |
|
|
|
The Intel, GNU and AOCC compilers will not output anything for a successful compilation. Also, the Intel compiler does not recognize the suffix ".f95". You may use ".f90" to stand for any Fortran code regardless of version as it is a free-formatted form.