Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Hull and Outfitting

Acceptance Test Program

  • Last UpdatedNov 10, 2025
  • 1 minute read

An acceptance test program is supplied in the form of an executable, as listed in Section of this appendix. The first level of test is to run the executable.

The second level of test is to compile the source of the acceptance test program d3test.f and build a new executable using the scripts supplied. Running this executable completes the acceptance test.

  1. Set the appropriate DAR project environment variables:

    for example, set DAR000=%PDMSEXE%\dars\dar000

    set DAR100=%PDMSEXE%\dars\dar100

  2. Set the DARs library environment variable.

    For example, set DARSLIBDIR=%PDMSEXE%\dars

  3. Create a work directory and copy f77_example1.f, d3test.f, d3test and d3test.log.base into the work directory from the DARs release directory %DARSLIBDIR%.

  4. Change directory to the work directory and enter %DARSLIBDIR%\d3test > d3test.log at the terminal.

    Compare d3test.log and d3test.log.base; any significant differences?

  5. Enter %DARSLIBDIR%\compload d3test.

  6. Enter d3test >d3test.log

    Compare d3test.log and d3test.log.base; any significant differences?

  7. Enter %DARSLIBDIR%\compload f77_example1.

  8. Enter f77_example1.

    Does the output appear to be the same the output in Example 1 (allowing for minor differences of precision)?

TitleResults for “How to create a CRG?”Also Available in