Exemplo n.º 1
0
 def is_slurm_system():
     if which("sinfo"):
         return True
     else:
         return False
Exemplo n.º 2
0
 def is_slurm_system():
     if which("sinfo"):
         return True
     else:
         return False
Exemplo n.º 3
0
 def is_pbs_system():
     if which("qstat"):
         return True
     else:
         return False
Exemplo n.º 4
0
 def is_moab_system():
     #if os.path.isfile("/etc/toss-release"):
     if which("mdiag"):
         return True
     else:
         return False
Exemplo n.º 5
0
 def is_moab_system():
     #if os.path.isfile("/etc/toss-release"):
     if which("mdiag") is not None:
         return True
     return False