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