Passer au contenu principal
Ctrl+K
code_aster documentation - Home
  • d1.02.03 AGLA specification
  • 1. Generalities
  • 2. Code Aster source code definition
  • 3. Source code instrumentation
  • 4. Aster ident identification file
  • 5. Noted code files (quirou, quicat, and quites)
  • 6. Test case list files
  • 7. Return authorization file (link_dvp)
  • 8. Source code scoring tools
  • 9. Verification and feedback tools
  • 10. Version update tools
  • 11. Compiling and editing links
  • 12. Tools for managing AGLA by the administrator
  • 13. Aster Tools

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)

précédent

10. Version update tools

suivant

12. Tools for managing AGLA by the administrator

Sur cette page
  • 11.1. cft77_aster: official Aster compilation module for Fortran
    • 11.1.1. Call mode
    • 11.1.2. Tasks completed
  • 11.2. cc_aster: official Aster C compilation module
    • 11.2.1. Call mode
    • 11.2.2. Tasks completed
  • 11.3. as_aster: official Aster compilation module for the Cray builder (CAL)
    • 11.3.1. Call mode
    • 11.3.2. Tasks completed
  • 11.4. segldr_aster: official Aster link editing module
    • 11.4.1. Call mode
    • 11.4.2. Tasks completed
Montrer le code source

© Copyright 1989-2025, EDF R&D - www.code-aster.org.

Created using Sphinx 6.2.1 with the PyData Sphinx Theme 0.14.4.