Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated procedures for Excel Wrapper on MacOs #2139

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bestbaggins
Copy link

@bestbaggins bestbaggins commented Jun 3, 2022

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.

for M1 and Intel chip based models
@CLAassistant
Copy link

CLAassistant commented Jun 3, 2022

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants