[Dart-users] New build tools for DART v10.0.0

Data Assimilation Research Testbed users dart-users at mailman.ucar.edu
Tue May 24 12:29:00 MDT 2022


In the latest release of DART (v10.0.0):

quickbuild.csh has been replaced with quickbuild.sh
Path_names_* files and mkmf_* files are no longer used in work
directories.  This means ~1450 files have been removed in v10.0.0.

The reason for this change is to make refactoring DART easier for
developers and allow for new scientific developments.

How does this affect DART users:

1.  Use ‘./quickbuild.sh’ rather than ‘./quickbuild.csh’ to build all
programs.

2. To build a single program, e.g. filter use ‘./quickbuild.sh filter’

      Note you can still iterate over changing code and compiling using make

  ./quickbuild.sh filter
    *edit the code*
    make
    *edit the code*
    make

3. ‘quickdbuild.sh help’ gives the quickdbuild.sh usage.

4. For programs that can be built with MPI, the default is to build with
mpi.  To build without mpi use ‘./quickbuild.sh nompi’

5. .f90 files in the work directory take precedence over .f90 files with
the same name elsewhere. So you can have a local version of
assim_tools_mod.f90 in the work directory that will be used instead of
assimilation_code/modules/assimilation/assim_tools_mod.f90

For developers, there is documentation online
<https://docs.dart.ucar.edu/en/latest/guide/quickbuild.html> at about build
functions and where these functions search for source code.  For more
details on the changes see https://github.com/NCAR/DART/pull/348

This is a large change to the repository, so, as always, email dart at ucar.edu
with questions or problems.

The DAReS team.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/dart-users/attachments/20220524/47bc15df/attachment.htm>


More information about the Dart-users mailing list