|
__init__(self,
machines=None,
nr=None)
x.__init__(...) initializes x; see help(type(x)) for signature |
source code
|
|
|
boot(self)
Boots a LAM-machine using the machine-file |
source code
|
|
|
buildMPIrun(self,
argv,
expandApplication=True)
Builds a list with a working mpirun command (for that
MPI-Implementation) |
source code
|
|
|
|
|
machineOK(self)
Check whether the LAM machine was properly booted |
source code
|
|
|
stop(self)
Stops a LAM-machine (if one is running) |
source code
|
|
|
|
|
|
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|
|
copyfile(self,
src,
dst)
Encapsulates the shutil copyfile and provides an alternative for old
Python-version |
source code
|
|
|
copytree(self,
src,
dst,
symlinks=False,
force=False)
Encapsulates the shutil copytree and provides an alternative for old
Python-version |
source code
|
|
|
diskUsage(self,
fpath)
Calculate the disk space used at the specified path in bytes |
source code
|
|
|
execute(self,
cmd,
debug=False,
workdir=None,
echo=None)
Execute the command cmd. |
source code
|
|
|
find(self,
pattern,
path,
directoriesToo=True)
Find all files whose names match |
source code
|
|
|
humanReadableSize(self,
num)
Lifted from
http://stackoverflow.com/questions/1094841/reusable-library-to-get-human-readable-version-of-file-size
Gets a number in bytes and returns a human readable string |
source code
|
|
|
listDirectory(self,
d)
Lists the files in a directory, but excludes certain names and files
with certain endings |
source code
|
|
|
remove(self,
f)
Remove a file if it exists. |
source code
|
|
|
rmtree(self,
dst,
ignore_errors=False)
Encapsulates the shutil rmtree and provides an alternative for old
Python-version |
source code
|
|
|
|
|
|