Software Issued with DARs
- Last UpdatedNov 10, 2025
- 2 minute read
The following files are provided with a Marine DARs release:
|
dar000 |
a test project directory for acceptance test |
|
dar100 |
a test project directory for acceptance test |
|
d3test.f |
FORTRAN source file |
|
d3extras.f |
FORTRAN source file |
|
d3lib.dll |
DARs Fortran/C/C++ runtime library |
|
d3lib.lib |
DARs Fortran/C/C++ link library |
|
d3test |
executable file |
|
d3test.log.base |
log file of acceptance test run |
|
f77_example1.f |
FORTRAN source for Example 1, see Section 4.2 |
|
f77_example2.f |
FORTRAN source for Example 2, see Section 4.3 |
|
f77_example3.f |
FORTRAN source for Example 3 |
|
compload.bat |
dos script to compile and link any source program |
|
c_example.c |
‘C’ source for example program (see ‘C/C++’ Library) |
|
cxx_example.cxx |
‘C++’ source for example program |
|
ccompload.bat |
DOS script to compile and link any ‘C’ source program |
|
cxxcompload.bat |
DOS script to compile and link and ‘C++’ source program |
|
d3libc.h |
‘C’ header file to include in any ‘C/C++’ source program |
|
pdms.h |
‘C’ header file included in d3libc.h |
The directory dars will normally be a subdirectory of the PDMS release directory %PDMSEXE% (for example, pdms12.0/dars).
The DARs 12.0 library is released as a dynamic link library (.dll). This allows us to use C++ code inside PDMS, but still allows DARs applications to be linked with the Fortran compiler, and reduces the size of the executables produced. Like other dlls, d3lib.dll will need to be available at runtime, and this is controlled by the environment variable PATH.
The DOS scripts can be used by the DARs programmer to compile, link and run their own programs.
The source file d3extras.f is a library of subroutines that the DARs programmer may find useful in their own programs. They are included in the DARS library for programmers to use, or programmers may copy and modify them to suit their purposes. These routines are briefly described in Auxiliary Subroutine Library.
This appendix covers machine-specific information in respect of FORTRAN libraries and utilities. ‘C/C++’ Library deals with the ‘C/C++’ library interface and utilities.