CDNest

Overview

  • CDNest:

    • CDNest: C version of diffusive nested sampling proposed by Brendon Brewer.

    • GitHub: Documentation

Using

Use the module name cdnest to discover versions available and to load the application.

Multicore

Since cdnest has been built with openmpi, it can run across multiple tasks/nodes, but calls must be prefixed with srun, for example:

[@blog1 test02]$ salloc -A <project-name> -t 30:00 -N 2 --tasks-per-node=3 -c 1 # Note that the application is picking up the 6 requested tasks: (2 nodes x 3 tasks per node) [@m001 test02]$ export OMP_NUM_THREADS=1 [@m001 test02]$ srun dnest 1 #======================================================= # Starting CDNest. # Use 6 cores. ...

ARCC’s tests have observed that when running with multiple nodes, after the run is finished, we see a message of the form:

# Finalizing CDNest. #======================================================= "read_particle" function is not defined at task 5. Set to be default function in cdnest. "accept_action" function is not defined at task 5. Set to the default function in cdnest. "kill_action" function is not defined at task 5. Set to the default function in cdnest.

We require a domain expert to review the generated results and confirm that this is not an error.