Updated procedures for Excel Wrapper on MacOs #2139
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
For M1 chip and Intel chip based models
Description of the Change
These changes prevent error 53 and other ones in Excel on Mac machines even if old procedures for installing CoolProp in Excel have been followed strictly.
Text changes concern some updated procedures for installing CoolProp in Excel for Macs users, those are only some code adjustments needed for make it work correctly.
Some lines were already present, but i decided to re-wrote them to make the all text more fluent to follow, even for people who don't know much about coding and MacOs and just want to have CoolProp on Excel as quickly and stable as possible.
Benefits
With changes made CoolProp works as Add-Ins on Mac machines, M1 chip or Intel chip.
The fact that now it works make users not obliged to create a partition on their own mac, if it's Intel chip equipped, in order to have a Windows version of Excel working or installing Parallels (I'm not even sure that this solution could work).
Has to be sad that for those who own a Mac running M1 processors can't make a normal partition and so it could be a waist of memory space to create one or again to install Parallels.
(A third way which may not be intuitive at first it's to have an emulator of Windows apps like WineHQ or CrossOver that actually are pretty optimised but since I don't consider myself an experts with these two programs I don't know if it could work properly.)
Possible Drawbacks
Since I personally don't own a machine equipped with the newest Apple Silicon chips like M1 Pro, M1 Max or M1 Ultra errors might come out but i personally think it's improbabile because all the big changes of the workflow are base on codes that are written in Terminal, which are standalone and the rest of the guide doesn't change at all.
By doing that everything should work fine since zsh-shell is the same for all Macs.
Like written in the guide as a warning, 32-bit library of CoolProp might be need for older Macs or older versions of Excel, the problems is that the links given in guide point to nothing because pointed files have been removed.
However 32-bit version of .dylib file can be built though Terminal with the help of CMake (it can be installed from internet easily).
Verification Process
I first tried to install it as explained in the guide.
Didn't work due to incompatibilities with launching Excel natively (I ended up guessing that It's this type of error that couldn't make it work properly).
So i tried to force launching with x86_64 and it worked as it should.
All steps written in this PR and changes can be found on a reddit post I made:
https://www.reddit.com/user/bestbaggings/comments/v37dlx/coolprop_for_excel_on_mac_os_m1_and_intel_models/
Applicable Issues
Didn't notice.