Skip to content

Commit

Permalink
update for r24.03.1
Browse files Browse the repository at this point in the history
  • Loading branch information
evbauer committed Apr 1, 2024
1 parent 6c87110 commit 674acc0
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 12 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ One solution is MESA-Web (http://user.astro.wisc.edu/~townsend/static.php?ref=me
* Students with class projects
* Windows users

This is not intended to replace native installation of MESA for all users, and those who wish to pursue advanced MESA modeling are encouraged to follow the instructions at https://docs.mesastar.org/en/release-r23.05.1/installation.html. Some advanced performance features such as rate caching are not available through this Docker interface.
This is not intended to replace native installation of MESA for all users, and those who wish to pursue advanced MESA modeling are encouraged to follow the instructions at https://docs.mesastar.org/en/release-r24.03.1/installation.html. Some advanced performance features such as rate caching are not available through this Docker interface.



Expand Down Expand Up @@ -127,7 +127,7 @@ To test that everything is working, you might want to follow these steps for a q
./mk
./rn

You should see the `pgstar` windows pop up on your screen and display the evolution of the model. For more info on getting started with MESA now that you have it installed and ready to run, see https://docs.mesastar.org/en/release-r23.05.1/quickstart.html#using-mesa.
You should see the `pgstar` windows pop up on your screen and display the evolution of the model. For more info on getting started with MESA now that you have it installed and ready to run, see https://docs.mesastar.org/en/release-r24.03.1/quickstart.html#using-mesa.

Since the `~/docker_work` directory is mounted, you can access and edit any of your local working files by navigating to them through the `MESA-Docker/docker_work` folder on your OS. In the above example, you can edit `tutorial/inlist_project` to change the input parameters for the run in your preferred text editor, or open `tutorial/LOGS/history.data` to see some of the output from the run.

Expand All @@ -153,7 +153,8 @@ New containers should be built soon after there is an official release announcem
in the MESA-Docker repository.

If you want to run with a MESA version other than the latest public release, use the optional argument `-v` along with one of the supported version numbers:
* r23.05.1 (latest, default)
* r24.03.1 (latest, default)
* r23.05.1
* r22.11.1
* r22.05.1
* r21.12.1
Expand Down Expand Up @@ -181,7 +182,7 @@ Docker will automatically cache the (several GB) image the first time you call t

This will show you all the images and how much space they are taking up. You should be able to remove the MESA-Docker image with the command

docker rmi evbauer/mesa_lean:r23.05.1.01
docker rmi evbauer/mesa_lean:r24.03.1.01

### Windows 10 Home

Expand Down
6 changes: 4 additions & 2 deletions linux_dockerMESA.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
usage="$(basename "$0") [-h] [-v num]
options:
-h show this help text
-v MESA version number. r23.05.1 (default), r22.11.1, r22.05.1, r21.12.1, 15140, 12778, 12115, 11701, 11554, 11532, 10398, 10108, 10000, or 9793."
-v MESA version number. r24.03.1 (default), r23.05.1, r22.11.1, r22.05.1, r21.12.1, 15140, 12778, 12115, 11701, 11554, 11532, 10398, 10108, 10000, or 9793."

OPTIND=1 # Reset in case getopts has been used previously in the shell.
# Initialize variables:
version=r23.05.1
version=r24.03.1
while getopts "hv:" opt; do
case "$opt" in
h) echo "$usage"
Expand Down Expand Up @@ -49,6 +49,8 @@ case "$version" in
;;
r23.05.1) tag=r23.05.1.01
;;
r24.03.1) tag=r24.03.1.01
;;
esac

#echo $tag
Expand Down
6 changes: 4 additions & 2 deletions mac_dockerMESA.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
usage="$(basename "$0") [-h] [-v num]
options:
-h show this help text
-v MESA version number. r23.05.1 (default), r22.11.1, r22.05.1, r21.12.1, 15140, 12778, 12115, 11701, 11554, 11532, 10398, 10108, 10000, or 9793."
-v MESA version number. r24.03.1 (default), r23.05.1, r22.11.1, r22.05.1, r21.12.1, 15140, 12778, 12115, 11701, 11554, 11532, 10398, 10108, 10000, or 9793."

OPTIND=1 # Reset in case getopts has been used previously in the shell.
# Initialize variables:
version=r23.05.1
version=r24.03.1
while getopts "hv:" opt; do
case "$opt" in
h) echo "$usage"
Expand Down Expand Up @@ -49,6 +49,8 @@ case "$version" in
;;
r23.05.1) tag=r23.05.1.01
;;
r24.03.1) tag=r24.03.1.01
;;
esac

#echo $tag
Expand Down
6 changes: 4 additions & 2 deletions win_dockerMESA.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ fi
usage="$(basename "$0") [-h] [-v num]
options:
-h show this help text
-v MESA version number. r23.05.1 (default), r22.11.1, r22.05.1, r21.12.1, 15140, 12778, 12115, 11701, 11554, 11532, 10398, 10108, 10000, or 9793."
-v MESA version number. r24.03.1 (default), r23.05.1, r22.11.1, r22.05.1, r21.12.1, 15140, 12778, 12115, 11701, 11554, 11532, 10398, 10108, 10000, or 9793."

OPTIND=1 # Reset in case getopts has been used previously in the shell.
# Initialize variables:
version=r23.05.1
version=r24.03.1
while getopts "hv:" opt; do
case "$opt" in
h) echo "$usage"
Expand Down Expand Up @@ -64,6 +64,8 @@ case "$version" in
;;
r23.05.1) tag=r23.05.1.01
;;
r24.03.1) tag=r24.03.1.01
;;
esac

#echo $tag
Expand Down
6 changes: 4 additions & 2 deletions win_home_dockerMESA.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ fi
usage="$(basename "$0") [-h] [-v num] [-d let]
options:
-h show this help text
-v MESA version number. r23.05.1 (default), r22.11.1, r22.05.1, r21.12.1, 15140, 12778, 12115, 11701, 11554, 11532, 10398, 10108, 10000, or 9793.
-v MESA version number. r24.03.1 (default), r23.05.1, r22.11.1, r22.05.1, r21.12.1, 15140, 12778, 12115, 11701, 11554, 11532, 10398, 10108, 10000, or 9793.
-d letter for drive to install on. Default is C."

OPTIND=1 # Reset in case getopts has been used previously in the shell.
# Initialize variables:
version=r23.05.1
version=r24.03.1
# default drive letter:
install_drive=C

Expand Down Expand Up @@ -71,6 +71,8 @@ case "$version" in
;;
r23.05.1) tag=r23.05.1.01
;;
r24.03.1) tag=r24.03.1.01
;;
esac

#echo $tag
Expand Down

0 comments on commit 674acc0

Please sign in to comment.