Compatibility Patches for MESA
Old releases of the MESA SDK are provided to allow users to build old versions of MESA. However, sometimes one wants to build an old version of MESA with a newer SDK — for instance, because the SDK contains a more up-to-date gcc/gfortran compiler. In principle this should be possible; but in practice the software that ships with newer SDK tend to be more strict about adherence to programming language standards. This can causes the MESA build to fail.
A solution in such cases is to tweak the MESA source code to bring it into (or closer to) standards adherence. This page provides patch files that greatly simplify such tweaking.
|MESA Version||Patch File||Notes|
|r12778||mesa-r12778-compat-patch.diff||Fixes BOZ and interface mismatch errors|
If you're running into issues with a version of MESA not listed in this table, please contact me and I'll see what I can do.
Applying a Patch
To apply one of the patch files above, download it and place it in the top-level directory of the MESA version you want to modify (i.e., the directory corresponding to $MESA_DIR). The, run this command from the same directory:
...where patch_file is the name of the file.