winnet_monitor_failed Namespace Reference

Variables

string user = "mreicher"
 
bool use_slurm_times = False
 
string path = "."
 
string cmd = "squeue | grep "+user+" | grep R | wc -l"
 
 x = subprocess.check_output(cmd, shell=True)
 
 nr_process = int(x.strip())
 
int allTotal = 0
 
int allRem = 0
 
int allFin = 0
 
int allFail = 0
 
list eltime = []
 
 all_folders = os.listdir(path)
 
list faillist = []
 
list ecodelist = []
 
string tot_path = os.path.join(path,p)
 
string w_path = os.path.join(tot_path,"winnet")
 
string b_path = os.path.join(tot_path,"blocked")
 
string f_path = os.path.join(tot_path,"finab.dat")
 
string h_path = os.path.join(tot_path,"WinNet_data.h5")
 
string o_path = os.path.join(tot_path,"OUT")
 
string e_path = os.path.join(tot_path,"ERR")
 
 w = winnet(tot_path)
 
 ftmp = h5py.File(h_path,"r")
 
 lines = f.readlines()
 
 ecode = lines[1].split()[1].strip()
 
string outstr = ""
 
string lll = ""
 

Variable Documentation

◆ all_folders

winnet_monitor_failed.all_folders = os.listdir(path)

Definition at line 35 of file winnet_monitor_failed.py.

◆ allFail

int winnet_monitor_failed.allFail = 0

Definition at line 32 of file winnet_monitor_failed.py.

◆ allFin

int winnet_monitor_failed.allFin = 0

Definition at line 31 of file winnet_monitor_failed.py.

◆ allRem

int winnet_monitor_failed.allRem = 0

Definition at line 30 of file winnet_monitor_failed.py.

◆ allTotal

int winnet_monitor_failed.allTotal = 0

Definition at line 29 of file winnet_monitor_failed.py.

◆ b_path

string winnet_monitor_failed.b_path = os.path.join(tot_path,"blocked")

Definition at line 44 of file winnet_monitor_failed.py.

◆ cmd

string winnet_monitor_failed.cmd = "squeue | grep "+user+" | grep R | wc -l"

Definition at line 25 of file winnet_monitor_failed.py.

◆ e_path

string winnet_monitor_failed.e_path = os.path.join(tot_path,"ERR")

Definition at line 48 of file winnet_monitor_failed.py.

◆ ecode

string winnet_monitor_failed.ecode = lines[1].split()[1].strip()

Definition at line 72 of file winnet_monitor_failed.py.

◆ ecodelist

list winnet_monitor_failed.ecodelist = []

Definition at line 37 of file winnet_monitor_failed.py.

◆ eltime

list winnet_monitor_failed.eltime = []

Definition at line 34 of file winnet_monitor_failed.py.

◆ f_path

string winnet_monitor_failed.f_path = os.path.join(tot_path,"finab.dat")

Definition at line 45 of file winnet_monitor_failed.py.

◆ faillist

list winnet_monitor_failed.faillist = []

Definition at line 36 of file winnet_monitor_failed.py.

◆ ftmp

winnet_monitor_failed.ftmp = h5py.File(h_path,"r")

Definition at line 62 of file winnet_monitor_failed.py.

◆ h_path

string winnet_monitor_failed.h_path = os.path.join(tot_path,"WinNet_data.h5")

Definition at line 46 of file winnet_monitor_failed.py.

◆ lines

winnet_monitor_failed.lines = f.readlines()

Definition at line 71 of file winnet_monitor_failed.py.

◆ lll

string winnet_monitor_failed.lll = ""

Definition at line 103 of file winnet_monitor_failed.py.

◆ nr_process

winnet_monitor_failed.nr_process = int(x.strip())

Definition at line 27 of file winnet_monitor_failed.py.

◆ o_path

string winnet_monitor_failed.o_path = os.path.join(tot_path,"OUT")

Definition at line 47 of file winnet_monitor_failed.py.

◆ outstr

string winnet_monitor_failed.outstr = ""

Definition at line 96 of file winnet_monitor_failed.py.

◆ path

winnet_monitor_failed.path = "."

Definition at line 20 of file winnet_monitor_failed.py.

◆ tot_path

string winnet_monitor_failed.tot_path = os.path.join(path,p)

Definition at line 39 of file winnet_monitor_failed.py.

◆ use_slurm_times

bool winnet_monitor_failed.use_slurm_times = False

Definition at line 16 of file winnet_monitor_failed.py.

◆ user

string winnet_monitor_failed.user = "mreicher"

Definition at line 14 of file winnet_monitor_failed.py.

◆ w

winnet_monitor_failed.w = winnet(tot_path)

Definition at line 57 of file winnet_monitor_failed.py.

◆ w_path

string winnet_monitor_failed.w_path = os.path.join(tot_path,"winnet")

Definition at line 43 of file winnet_monitor_failed.py.

◆ x

winnet_monitor_failed.x = subprocess.check_output(cmd, shell=True)

Definition at line 26 of file winnet_monitor_failed.py.