OSX Silicon M1 installation #1675
Replies: 3 comments 1 reply
-
Also, the known problems (slowness of loops eg in time_test4) are present. |
Beta Was this translation helpful? Give feedback.
-
Hello Gilles, "/opt/homebrew/gdl/.." CMake Error: The source directory "/opt/homebrew" does not appear to contain CMakeLists.txt. |
Beta Was this translation helpful? Give feedback.
-
Hello @jaymurthy , I did not try compiling gdl elsewhere than in my $HOME directory. So, git clone created a 'gdl' directory there and every command described above is run with |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I've made some tests on an OSX M1, Sonoma 14.0 .
There is absolutely NO WAY for me to convince the mac to run gdl except by doing this (below). In particular there is no hope to get a DMG file for easy install on other M1 machines. I will amend the Wiki documentation accordingly.
Now, for the method:
build_gdl.sh prep
, then "build_gdl.sh configure
".gdl/build
and type:cmake -DCMAKE_INSTALL_PREFIX="/usr/local" -DOPENMP=OFF ..
make -j 8
(8 is an example of number of threads)No other possibility found after hours of struggle. Installing with openmp make gdl crash; installing elsewhere than /usr/local (using, e.g. "build_gdl.sh install" amounts to the same. Not mentioning making an installer with build_gdl pack + build_gdl prep_deploy (that creates a dmg file), this will not work at all.
There are probably other ways. Getting the multithreading working would be great.
Beta Was this translation helpful? Give feedback.
All reactions