mirror of
https://gitlab.com/scemama/qmcchem.git
synced 2024-12-22 04:13:31 +01:00
Fixed scheduler bug
This commit is contained in:
parent
4e9d9f0da4
commit
2cc2d713bc
@ -17,7 +17,7 @@ let find () =
|
|||||||
let scheduler =
|
let scheduler =
|
||||||
[ "SLURM_NODELIST" ; "PE_HOSTFILE" ; "PBS_NODEFILE" ]
|
[ "SLURM_NODELIST" ; "PE_HOSTFILE" ; "PBS_NODEFILE" ]
|
||||||
|> List.map (function x ->
|
|> List.map (function x ->
|
||||||
try Some (Sys.getenv x) with
|
try ignore @@ (Sys.getenv x) ; Some x with
|
||||||
| Not_found -> None
|
| Not_found -> None
|
||||||
)
|
)
|
||||||
|> List.hd
|
|> List.hd
|
||||||
|
Loading…
Reference in New Issue
Block a user