From 8569df21447c0cfa4a69f8bd21f4bd59eb429954 Mon Sep 17 00:00:00 2001 From: Anant Thazhemadam Date: Mon, 10 Jun 2024 18:04:26 +0530 Subject: [PATCH] wrong flag Signed-off-by: Anant Thazhemadam --- .buildkite/build_benchmark.sh | 10 ++++++---- benchmarks/ModelingToolkit/ThermalFluid.jmd | 2 ++ 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.buildkite/build_benchmark.sh b/.buildkite/build_benchmark.sh index be21850b1..be4f408f0 100755 --- a/.buildkite/build_benchmark.sh +++ b/.buildkite/build_benchmark.sh @@ -32,10 +32,12 @@ if [[ "${OPENMODELICA_BENCHMARK_TARGETS[*]}" =~ "${1}" ]]; then # echo $PATH whoami ls -al $(which julia) - chmod u+w /bin/su - ls -l /bin/su - ls -l $(which su) - /bin/su openmodelicauser --session-command whoami + ls -l /etc/passwd /etc/group + chmod 644 /etc/passwd + chmod 644 /etc/group + ls -l /etc/passwd /etc/group + chmod u+ws /bin/su + su openmodelicauser --session-command whoami fi # Instantiate, to install the overall project dependencies, and `build()` for conda diff --git a/benchmarks/ModelingToolkit/ThermalFluid.jmd b/benchmarks/ModelingToolkit/ThermalFluid.jmd index 00d2795a5..9d4e34c73 100644 --- a/benchmarks/ModelingToolkit/ThermalFluid.jmd +++ b/benchmarks/ModelingToolkit/ThermalFluid.jmd @@ -321,6 +321,7 @@ const LLVMBackend = JuliaSimCompiler.llvm.LLVMTarget(); @show "Start Julia Timings" + for (i, N_x_i) in enumerate(N_x) @show i ss_times[i, 1], sys_mtk = build_system(MTKSystem, N_x_i) @@ -342,6 +343,7 @@ for (i, N_x_i) in enumerate(N_x) @show N_x_i, ss_times[i, :], times[i, :], total_times[i, :] end ``` + ## Time OpenModelica ```julia