To get started with MSG, follow these simple steps:
- Install the MESA Software Development Kit.
- Download the MSG source code.
- Unpack the source code using the
tar
utility. - Set the
MSG_DIR
environment variable to point to the newly created source directory. - Compile MSG using the command
make -C $MSG_DIR
. - Test MSG using the command
make -C $MSG_DIR test
. - Install the :py
pymsg
Python module using the commandpip install $MSG_DIR/python
.
(the last step can be skipped if you don't plan to use the Python interface).
For a more in-depth installation guide that covers alternative use-cases, refer to the installation
chapter. If the code doesn't compile properly, consult the troubleshooting
chapter. Otherwise, proceed to the next chapter where you'll undertake your first MSG calculations.