hiddenSymmetries / virtual-casing

4 stars 7 forks source link

Made openMP working on Mac #5

Closed mbkumar closed 1 year ago

mbkumar commented 1 year ago

@dmalhotra ,

EDITED: I made OpenMP findable on Mac after including conda include directories. It fixed the issue of OpenMP on my mac. Hope this fixes issues faced by people on Mac. Please take a look at the changes.

mbkumar commented 1 year ago

Hello Dhairya,

I reinstalled openmp on conda and openmp was found on my mac by Cmake. The process is still not clear to me. So I will keep investigating. Closing the PR for the time being.

mbkumar commented 1 year ago

@dmalhotra

Reopening the PR. I figured out a successful method to install with conda toolchain only on Mac. Steps to follow:

  1. Create a bare conda virtual environment (VE).
  2. Install cmake, llvm-openmp in the VE
  3. Install without build isolation: pip install --no-build-isolation .

    I'll update the simsopt wiki. Could you please merge this PR at the earliest.