carputils
Doxygen code documentation for the python framework controlling openCARP
Public Member Functions | Static Public Attributes | List of all members
carputils.machines.bwunicluster.BwUniCluster Class Reference

Run on BwUniCluster 2.0 Info https://wiki.bwhpc.de/e/Category:BwUniCluster_2.0. More...

Inheritance diagram for carputils.machines.bwunicluster.BwUniCluster:
carputils.machines.general.BatchPlatform carputils.machines.general.Platform

Public Member Functions

def add_python_launcher (cls, exe_cmd)
 
def header (cls, jobID, nproc, walltime, queue, cuda, email, config=None)
 
- Public Member Functions inherited from carputils.machines.general.BatchPlatform
def add_launcher (cls, carp_cmd, nproc, nproc_job=0, ddt=False, cuda=False, args, kwargs)
 
def add_python_launcher (cls, exe_cmd)
 
def determine_queue (cls, user_selected=None)
 Determine the correct queue. More...
 
def header (cls, jobID, nproc, walltime, queue, cuda, email, config=None)
 Generate the header for a run script on this platform. More...
 
def footer (cls)
 Generate the footer for a run script on this platform. More...
 
- Public Member Functions inherited from carputils.machines.general.Platform
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

string SUBMIT = 'sbatch'
 
string LAUNCHER = 'mpirun --bind-to core --map-by core'
 
string PYTHON = 'python'
 
string BATCH_EXT = '.slrm'
 
string DEFAULT_QUEUE = 'single'
 
list AVAILABLE_QUEUES = ['single', 'dev_single', 'dev_multiple', 'multiple', 'dev_multiple_e', 'multiple_e', 'fat']
 
- Static Public Attributes inherited from carputils.machines.general.BatchPlatform
bool BATCH = True
 
 BATCH_EXT = None
 
 DEFAULT_QUEUE = None
 
 AVAILABLE_QUEUES = None
 
- Static Public Attributes inherited from carputils.machines.general.Platform
bool BATCH = False
 
 SUBMIT = None
 

Detailed Description

Run on BwUniCluster 2.0 Info https://wiki.bwhpc.de/e/Category:BwUniCluster_2.0.

Member Function Documentation

◆ add_python_launcher()

def carputils.machines.bwunicluster.BwUniCluster.add_python_launcher (   cls,
  exe_cmd 
)

◆ header()

def carputils.machines.bwunicluster.BwUniCluster.header (   cls,
  jobID,
  nproc,
  walltime,
  queue,
  cuda,
  email,
  config = None 
)

Member Data Documentation

◆ AVAILABLE_QUEUES

list carputils.machines.bwunicluster.BwUniCluster.AVAILABLE_QUEUES = ['single', 'dev_single', 'dev_multiple', 'multiple', 'dev_multiple_e', 'multiple_e', 'fat']
static

◆ BATCH_EXT

string carputils.machines.bwunicluster.BwUniCluster.BATCH_EXT = '.slrm'
static

◆ DEFAULT_QUEUE

string carputils.machines.bwunicluster.BwUniCluster.DEFAULT_QUEUE = 'single'
static

◆ LAUNCHER

string carputils.machines.bwunicluster.BwUniCluster.LAUNCHER = 'mpirun --bind-to core --map-by core'
static

◆ PYTHON

string carputils.machines.bwunicluster.BwUniCluster.PYTHON = 'python'
static

◆ SUBMIT

string carputils.machines.bwunicluster.BwUniCluster.SUBMIT = 'sbatch'
static

The documentation for this class was generated from the following file: