QuaLiKiz-Pythontools
Classes | Functions
qualikiz_tools.machine_specific.bash Namespace Reference

Classes

class  Batch
 Defines a batch job. More...
 
class  Run
 Defines the run command. More...
 

Functions

def get_num_threads ()
 Returns amount of threads/virtual cores on current system. More...
 
def get_vcores ()
 Get a list of virtual cores from /proc/cpuinfo. More...
 
def get_num_cores ()
 Get the amount of physical cores of the current machine. More...
 
def str_to_number (string)
 Convert a string in a float or int if possible. More...
 

Function Documentation

◆ get_num_cores()

def qualikiz_tools.machine_specific.bash.get_num_cores ( )

Get the amount of physical cores of the current machine.

◆ get_num_threads()

def qualikiz_tools.machine_specific.bash.get_num_threads ( )

Returns amount of threads/virtual cores on current system.

◆ get_vcores()

def qualikiz_tools.machine_specific.bash.get_vcores ( )

Get a list of virtual cores from /proc/cpuinfo.

◆ str_to_number()

def qualikiz_tools.machine_specific.bash.str_to_number (   string)

Convert a string in a float or int if possible.