carputils
Doxygen code documentation for the python framework controlling openCARP
|
Generic platform oject outlying the interface. More...
Public Member Functions | |
def | LAUNCHER (cls) |
A little trickery to prevent cyclic import. More... | |
def | add_launcher (cls, carp_cmd, nproc, nproc_job=0, gdb_procs=None, ddd_procs=None, ddt=False, valgrind=None, map=False, cuda=False, with_ft=None) |
Add MPI launcher to openCARP command. More... | |
def | add_python_launcher (cls, exe_cmd) |
Add python launcher to exe command. More... | |
Static Public Attributes | |
bool | BATCH = False |
SUBMIT = None | |
Generic platform oject outlying the interface.
def carputils.machines.general.Platform.add_launcher | ( | cls, | |
carp_cmd, | |||
nproc, | |||
nproc_job = 0 , |
|||
gdb_procs = None , |
|||
ddd_procs = None , |
|||
ddt = False , |
|||
valgrind = None , |
|||
map = False , |
|||
cuda = False , |
|||
with_ft = None |
|||
) |
Add MPI launcher to openCARP command.
carp_cmd list Python list of openCARP command, with arguments nproc int Number of processes to use gdb_procs list or None None no gdb, empty list - gdb on all procs, non-empty list - debug specific proc(s) ddd_procs list or None None no ddd, empty list - ddd on all procs, non-empty list - debug specific proc(s) ddt bool Debug with Allinea DDT valgrind list or None None no valgrind, list - valgrind with given options map bool Profile with Allinea MAP cuda bool Job is being run with CUDA with_ft str or None None no fault tolerance, str - OpenMPI fault tolerance mode)
Returns ------- list List of command line options with launcher and debug opts added
def carputils.machines.general.Platform.add_python_launcher | ( | cls, | |
exe_cmd | |||
) |
Add python launcher to exe command.
exe_cmd list Python list of CARP command, with arguments
list List of command line options with launcher added
def carputils.machines.general.Platform.LAUNCHER | ( | cls | ) |
A little trickery to prevent cyclic import.
|
static |
|
static |