CoolProp: Mathematica: Mac: HOWTO get CoolProp for Mathematica running on Apple M1 Max and Mathematica13

This page identifies a possible issue, concern, error, limitation, or bug!
Webel IT Australia promotes the amazing Mathematica tool and the powerful Wolfram Language and offers professional Mathematica services for computational computing and data analysis. Our Mathematica tips, issue tracking, and wishlist is offered here most constructively to help improve the tool and language and support the Mathematica user community.
DISCLAIMER: Wolfram Research does not officially endorse analysis by Webel IT Australia.
Icon class
icon_class
far fa-sticky-note
icon_class_computed
far fa-sticky-note
Note kind
Policy level
Keywords

At the time of writing there are no CoolProp binary wrapper downloads for Mathematica beyond CoolProp 5.1.1, and they won't library load in Mathematica13 on and M1 Max machine.

If you attempt to compile the nightly build (as of 2022-06-27) with the Mathematica module included using DCOOLPROP_MATHEMATICA_MODULE=ON, you'll find that it will report an error about Darwin not being supported, because it has an old FindMathematica module from about 2018.

The fix was kindly provided by CoolProp contributor Jeff Henning at this CoolProp issue posting. Just download the latest FindMathematica version and replace the .../externals/FindMathematica from the CoolProp nightly build with the newer one (if you download the ZIP you'll need to rename it from FindMathematica-master to FindMathematica. It will then build okay and the libCoolProp.dylib will load and run fine in Mathematica.

Visit also:
Relates to
Related notes
Related notes (backlinks)
Related snippets (extracts)
Visit also
Visit also (backlinks)
External links