iiasa / ixmp

The ix modeling platform for integrated and cross-cutting scenario analysis
https://docs.messageix.org/ixmp
Apache License 2.0
38 stars 111 forks source link

R 4.3.0 not working as expected on macOS #479

Closed glatterf42 closed 1 week ago

glatterf42 commented 1 year ago

Context

Our nightly CI checks recently failed for all macOS runs. Upon closer inspection (the details of which can be found on Slack, this was related to the interplay of the macOS image, Jupyter, Reticulate, and the Java backend of ixmp. The current version of the macOS image installs version 4.2.3 of R, while the r-lib/actions/setup-r@v2 GitHub Action installs the newest version, which recently became 4.3.0. In theory, this should uninstall the earlier version and keep 4.3.0, but it is possible that process was not completed and there remained some interference of the two version. It is, however, also possible that the R version 4.3.0 does not work for ixmp on macOS (at least on this specific version), which is why we create this issue. Users experiencing related issues are encouraged to record their specific experiences here so that we can work on a fix should that be necessary.

PR #478 fixes this issue for the CI tests by pinning version 4.2.3 of R in the workflow file (i.e., the one currently used in the macOS image linked above). An alternative, maybe more sustainable solution, on our side would include finding where the CRAN R version 4.3.0 installs the library libgcc_s.1.dylib and making sure that either

On the user side for a quick fix, please try using version 4.2.3 of R specifically.

Versions

Output of ixmp show-versions ``` ```
RahJa24 commented 10 months ago

Hello,

I am facing a few problems while running the Austria.ipynb. I believe the problem is with the dylib files, as they have been written for AMD structures and I am currently using Apple Silicion ARM, M1 structure. is there anyway to work around this? Basiclaly are there any dylib file translators that I can use to generate dylib files that can be used for ARM structures? Please help! I am stuck on this for days now!

khaeru commented 10 months ago

@RahJa24 —you don't give enough information to be sure, but it sounds like your issue is not related to this one on which you've commented.

Can you please: