From 22e80fdc068540aa21dbec6de0075e642f9e8d9f Mon Sep 17 00:00:00 2001 From: Anant Thazhemadam Date: Mon, 10 Jun 2024 17:40:25 +0530 Subject: [PATCH] debug Signed-off-by: Anant Thazhemadam --- .buildkite/build_benchmark.sh | 6 ++++-- benchmarks/ModelingToolkit/ThermalFluid.jmd | 2 -- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.buildkite/build_benchmark.sh b/.buildkite/build_benchmark.sh index 29789e1bc..be21850b1 100755 --- a/.buildkite/build_benchmark.sh +++ b/.buildkite/build_benchmark.sh @@ -29,11 +29,13 @@ if [[ "${OPENMODELICA_BENCHMARK_TARGETS[*]}" =~ "${1}" ]]; then apt install --yes libomccpp useradd -m openmodelicauser - echo $PATH + # echo $PATH whoami ls -al $(which julia) + chmod u+w /bin/su + ls -l /bin/su ls -l $(which su) - su - openmodelicauser + /bin/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 0c4157ee5..00d2795a5 100644 --- a/benchmarks/ModelingToolkit/ThermalFluid.jmd +++ b/benchmarks/ModelingToolkit/ThermalFluid.jmd @@ -342,8 +342,6 @@ 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