Commit 832d1e59 authored by Valentin Reis's avatar Valentin Reis
Browse files

fix openmc rule.

parent 0eed259a
Pipeline #6157 passed with stages
in 44 seconds
...@@ -213,11 +213,12 @@ configureTest CsvLogs = ...@@ -213,11 +213,12 @@ configureTest CsvLogs =
configureTest RunOpenMC = mkRun updater "run OpenMC in the Argo stack." configureTest RunOpenMC = mkRun updater "run OpenMC in the Argo stack."
where where
updater sa = sa updater sa = sa
{ preludeCommand = PreludeCommand "cp -r $OPENMC_PWD/* ." { preludeCommand = PreludeCommand $ "cp -r $OPENMC_PWD/* " <> wd
, app = AppName "mpiexec" , app = AppName "mpiexec"
, args = let tc = coerce (hwThreadCount sa) :: Int , args = let tc = coerce (hwThreadCount sa) :: Int
in fmap AppArg ["-n", show tc, "openmc"] in fmap AppArg ["-n", show tc, "openmc"]
} }
where (WorkingDirectory wd) = workingDirectory sa
configureTest RunQMCPack = mkRun updater "run QMCPack in the Argo stack." configureTest RunQMCPack = mkRun updater "run QMCPack in the Argo stack."
where where
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment