11. Compiling and editing links#
11.1. cft77_aster: official Aster compilation module for Fortran#
Perform the different compilation modes in force for*Aster*. This centralization makes it easy to modify the official Aster compilation.
If return code = 2 there are Fortran « warnings » for*Aster* or « warnings » not tolerated by*Aster*.
If return code = 4 there are Fortran compilation errors or bad arguments.
Error messages are sent in the standard output file (it is of course possible to redirect to a file with >)
11.1.1. Call mode#
mode_compil: compilation mode of*Aster* development (= dvpdbg, dvpobj, majdbg, majobj).
file: source file FORTRAN to compile.
object: result object file.
11.1.2. Tasks completed#
Compilation options in dvpdbg mode:
Compilation options in dvpobj mode:
Majdbg compilation options:
Compilation options in majobj mode:
In addition to the syntax errors detected by the compiler, a number of « warnings » are detected and result in a 2 or 4 return code depending on the severity.
List of « warnings » with their number given by cft77.
The return code they generate and a brief description.
Their type: w warning
342 A2: Boolean values are nonstandard. (Forbidden except DEFVEM)
720 A2: Character/non-character equivalence
726 A2: Equivalence table of length 1 and common
753 A2: The use of edit descriptor "item" is nonstandard. (Forbidden except JEIMPO)
890 A2: Use of lowercase letters
895 A2: Expression has an assumed-length character variable and is an actual argument
All other warnings result in a return code = 4.
11.2. cc_aster: official Aster C compilation module#
Perform the different compilation modes in force for*Aster*.
The object file is the same as the source file with the extension.o
If return code = 2 there are « warnings » C.
If return code = 4 there are C compilation errors or bad arguments.
Error messages are sent in the standard output file (it is of course possible to redirect to a file with >).
11.2.1. Call mode#
mode_compil: compilation mode of*Aster* development (= dvpdbg, dvpobj, majdbg, majobj).
file: C source file to compile.
11.2.2. Tasks completed#
Compilation options in dvpdbg mode:
Compilation options in dvpobj mode:
Majdbg compilation options:
Compilation options in majobj mode:
11.3. as_aster: official Aster compilation module for the Cray builder (CAL)#
Perform the different compilation modes in force for*Aster*.
If return code = 2 there are « warnings » as.
If return code = 4 there are compilation errors or bad arguments.
Error messages are sent in the standard output file (it is of course possible to redirect to a file with >)
11.3.1. Call mode#
mode_compil: compilation mode of*Aster* development (= dvpdbg, dvpobj, majdbg, majobj).
file: assembler source file to be compiled.
object: result object file.
11.3.2. Tasks completed#
Compilation options in dvpdbg mode:
Compilation options in dvpobj mode:
Majdbg compilation options:
Compilation options in majobj mode:
11.4. segldr_aster: official Aster link editing module#
Composition of a new Aster executable from libraries and any overload libraries (or object files).
If return code = 2 there are « warnings » segldr.
If return code = 4 there are link editing errors or bad arguments.
Error messages are sent in the standard output file (it is of course possible to redirect to a file with >)
11.4.1. Call mode#
11.4.2. Tasks completed#
Call to segldr with the libraries in the following order (decreasing priority):
bin=*overload_file if they exist,
bin=bib_aster
bin=bib_closure
bin=/usr/lib/sysz%nag12
bin=/usr/lib/sysz%general
Segldr options:
-f zero Initializing variables to zero.
-D “DUPENTRY = NOTE, NOTE, NOTE” No message display for duplicate module entries (due to the closure overload library)