Skip to content

Commit

Permalink
Use Micro Manager executable micro-manager-precice to run the micro s…
Browse files Browse the repository at this point in the history
…imulations
  • Loading branch information
IshaanDesai committed May 22, 2024
1 parent f72a7df commit 9d28c77
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 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"
micro_manager micro-manager-config.json
micro-manager-precice micro-manager-config.json
fi

while getopts ":sp" opt; do
case ${opt} in
s)
micro_manager micro-manager-config.json
micro-manager-precice micro-manager-config.json
;;
p)
mpiexec -n "$2" micro_manager micro-manager-config.json
mpiexec -n "$2" micro-manager-precice micro-manager-config.json
;;
*)
usage
Expand Down
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"
micro_manager micro-manager-config.json
micro-manager-precice micro-manager-config.json
fi

while getopts ":sp" opt; do
case ${opt} in
s)
micro_manager micro-manager-config.json
micro-manager-precice micro-manager-config.json
;;
p)
mpiexec -n "$2" micro_manager micro-manager-config.json
mpiexec -n "$2" micro-manager-precice micro-manager-config.json
;;
*)
usage
Expand Down

0 comments on commit 9d28c77

Please sign in to comment.