Skip to content

Commit

Permalink
Directly use micro_manager in two-scale- tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
fsimonis committed May 3, 2024
1 parent 42ecfdd commit 87faccd
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 24 deletions.
6 changes: 3 additions & 3 deletions two-scale-heat-conduction/micro-dumux/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ usage() { echo "Usage: cmd [-s] [-p n]" 1>&2; exit 1; }
# Check if no input argument was provided
if [ -z "$*" ] ; then
echo "No input argument provided. Micro Manager is launched in serial"
python3 run_micro_manager.py params.input
micro_manager micro-manager-config.json
fi

while getopts ":sp" opt; do
case ${opt} in
s)
python3 run_micro_manager.py params.input
micro_manager micro-manager-config.json
;;
p)
mpiexec -n "$2" python3 run_micro_manager.py params.input
mpiexec -n "$2" micro_manager micro-manager-config.json
;;
*)
usage
Expand Down
9 changes: 0 additions & 9 deletions two-scale-heat-conduction/micro-dumux/run_micro_manager.py

This file was deleted.

6 changes: 3 additions & 3 deletions two-scale-heat-conduction/micro-nutils/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@ pip install -r requirements.txt
# Check if no input argument was provided
if [ -z "$*" ] ; then
echo "No input argument provided. Micro Manager is launched in serial"
python3 run_micro_manager.py
micro_manager micro-manager-config.json
fi

while getopts ":sp" opt; do
case ${opt} in
s)
python3 run_micro_manager.py
micro_manager micro-manager-config.json
;;
p)
mpiexec -n "$2" python3 run_micro_manager.py
mpiexec -n "$2" micro_manager micro-manager-config.json
;;
*)
usage
Expand Down
9 changes: 0 additions & 9 deletions two-scale-heat-conduction/micro-nutils/run_micro_manager.py

This file was deleted.

0 comments on commit 87faccd

Please sign in to comment.