Fortran

 

The parameters contained within the FORTRAN section are used for the control of compiler based error and warning messages.  Also, any additional source files, required for the compilation of the project, are indicated here as well.

Compiler Options

The input parameters involved here are outlined below.

 

Fortran Compilers

This is simply a drop list of the Fortran compilers available on the local machine, plus an additional Default option. When the Default option is selected, PSCAD will use whatever Fortran compiler is specified in the Application Options. Otherwise, the compiler selection will override that specified in the Application Options, for this project only. In this way, users may run, for example, and PNI simulation where each project involved can use a different compiler.

 

For more details on this topic, see Parallel Network Interface (PNI).

Enable Addition of Runtime Debugging Information

This option will add some additional information to the build, so as to allow for the effective use of a Fortran debugger.  If you have selected this option, you should also select all of the checks available in the Checks section (see below).

 

When a program crashes on a PC, the operating system brings up a dialog asking if you would like to debug the case.  If you select Yes and if you had this option selected, the FORTRAN debugger can load the source file and point to the line of code that is causing the crash.

Advanced Options

Click on the Advanced Options button to bring up the associated dialog.

 

 

Configuration

These are general options to help provide specific control of how the compilers perform their task. Do not change these options unless you understand what they each do, as they can affect speed optimisation.

 

Fortran Compiler:

C Compiler:

Electromagnetic Transients (EMTDC):

Linker:

MATLAB:

Build Events

 

Pre-Build:

Post-Build:

Pre-Run:

Post-Run:

Checks & Warnings

 

C Compiler:

Fortran Compiler:

Preprocessor

This option provides the ability to enable/disable the Fortran preprocessor. Disabled by default, this option is supported on both the Intel and GFortran compilers. An additional text field is also provided to allow the user to define a comma-separated list of preprocessor identifiers.