Compiling and editing links ================================ 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 >) Call mode ~~~~~~~~~~~~ .. code-block:: text cft77_aster mode_compilobjectfile *mode_compil*: compilation mode of*Aster* development (= dvpdbg, dvpobj, majdbg, majobj). *file:* source file FORTRAN to compile. *object*: result object file. Tasks completed ~~~~~~~~~~~~~~~~~ Compilation options in dvpdbg mode: .. code-block:: text /bin/cft77_4.0 -i64 -dp -dp -en -m 3 -M 408, 118, 881 -eiz Compilation options in dvpobj mode: .. code-block:: text /bin/cft77_4.0 -i64 -dp -dp -en -m 3 -M 408, 118, 881 -ez Majdbg compilation options: .. code-block:: text /bin/cft77_4.0 -i64 -dp -dp -en -m 3 -M 408, 118, 881 -ez Compilation options in majobj mode: .. code-block:: text /bin/cft77_4.0 -i64 -dp -dp -en -m3 -M 408, 118, 881 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 .. code-block:: text A ANSI .. code-block:: text 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. 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 >). Call mode ~~~~~~~~~~~~ .. code-block:: text cc_aster mode_compile file *mode_compil*: compilation mode of*Aster* development (= dvpdbg, dvpobj, majdbg, majobj). *file:* C source file to compile. Tasks completed ~~~~~~~~~~~~~~~~~ Compilation options in dvpdbg mode: .. code-block:: text cc -c -Gn Compilation options in dvpobj mode: .. code-block:: text cc -c Majdbg compilation options: .. code-block:: text cc -c -Gn Compilation options in majobj mode: .. code-block:: text cc -c 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 >) Call mode ~~~~~~~~~~~~ .. code-block:: text as_aster mode_compile object file *mode_compil*: compilation mode of*Aster* development (= dvpdbg, dvpobj, majdbg, majobj). *file:* assembler source file to be compiled. *object*: result object file. Tasks completed ~~~~~~~~~~~~~~~~~ Compilation options in dvpdbg mode: .. code-block:: text years Compilation options in dvpobj mode: .. code-block:: text years Majdbg compilation options: .. code-block:: text years Compilation options in majobj mode: .. code-block:: text Ace 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 >) Call mode ~~~~~~~~~~~~ .. code-block:: text segldr_aster bib_asterbib_closingenv_execute [overload_file (s)] 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)