![]() ![]() ![]() ![]() Next: Adding Source Files Up: Anatomy of a Thorn Previous: The configuration.ccl Contents
|
Extension | Language | Format | Preprocess |
.F | Fortran 90 | fixed | yes |
.f | Fortran 90 | fixed | no |
.F90 | Fortran 90 | free | yes |
.f90 | Fortran 90 | free | no |
.F77 | Fortran 77 | fixed | yes |
.f77 | Fortran 77 | fixed | no |
.c | C | - | yes |
.cc or .C | C++ | - | yes |
In order to use Cactus #include directives in a file, it must be preprocessed.
A complete description of Fortran fixed and free format can be found in any textbook on Fortran 90. The most obvious differences are that in fixed format, code must begin after the 5th column and line continuations are indicated by a character in column 5, while in free format, lines can begin anywhere, and line continuations are indicated by an ampersand at the end of the line to be continued. Also note that statement labels are handled very differently.
The following restrictions apply to file names: