mesa-users] Compiling MESA EOS and OPACITY modules

Aaron Dotter aaron.dotter at
Sun Dec 13 12:15:36 EST 2009

Hi Enrico,

The MESA physics modules, like eos and kap, require the numerics,
interpolation, and some other basic modules.

To compile the eos and kap modules, you first need to run the
'install_numerics_only' script, then compile the chem module.

In general, you can check which modules are required by either checking the
order in which the modules are compiled in the main install script or
grepping for 'use' in the source files in the module you want to compile.

When you checkout MESA for the first time, the data files are stored in the
module to which they belong.  For example, the opacity tables are stored in
kap/kap_data.tar.bz2.  When you run the main install script, it will unpack
these files and put them where they belong.  In which case, it might make
the most sense to run the main install script even if you don't want to
compile the entire package because it sets everything up for later use.

To check what has been compiled, you can look in include/ and lib/, where
each module will have a *.mod and lib* file, respectively.

Anyway, I hope this helps!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Mesa-users mailing list