Skip to content
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add logging in run scripts and switch shell to bash
  • Loading branch information
MakisH committed Aug 29, 2025
commit 3f76611189d5bddb65722595170042fdaf9a8cae
7 changes: 6 additions & 1 deletion growing-mesh/A/run.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
#!/bin/sh
#!/usr/bin/env bash
set -e -u

. ../../tools/log.sh
exec > >(tee --append "$LOGFILE") 2>&1

python3 -m venv .venv
. .venv/bin/activate
pip install ../solver-python
Expand All @@ -10,3 +13,5 @@ if [ $# -eq 0 ]; then
else
mpirun -n "$@" growing A
fi

close_log
7 changes: 6 additions & 1 deletion growing-mesh/B/run.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
#!/bin/sh
#!/usr/bin/env bash
set -e -u

. ../../tools/log.sh
exec > >(tee --append "$LOGFILE") 2>&1

python3 -m venv .venv
. .venv/bin/activate
pip install ../solver-python
Expand All @@ -10,3 +13,5 @@ if [ $# -eq 0 ]; then
else
mpirun -n "$@" growing B
fi

close_log