pgplot vs brew (MACOS)
Here is a way to install pgplot via brew installer on macos computer :
brew install kazuakiyama/pgplot/pgplot
that's great news. The claim from official brew was that pesky caltech licencing lawyer
well, brew installed a lot, including pgplot. configure then found it. the install completely broken, there's bizarry clang error messages, indicating a conflict between my brew based gcc, and the system clang. I switched to "--enable-clang", which fared better. Still some errors for which I'll have to come back to later.
Well, I have clang configured by default (on my M4 mac mini), and the installation went flawlessly for me.
Is your gyrfalcON working now?
Yes It's working fine !
I have recompiled NEMO (+falcON) using clang. It's mandatory if I want to use nemolib + falconlib in a python module (on a MAC). This is why I had to install pgplot using brew install ... .
I am struggling with @rpath stuffs too, by the way.
I am porting my codes, unsio, unsiotools on MAC ARM, it's challenging, especially the python part. I switched from setup.py to pyproject.toml for the python module building.
You did not run into the missing mm_malloc.h file ? (#173 )
But currently if you would run "make bench5" it should crash because of SIP (#174 )
Nope, I did not run into the missing mm_malloc.h file because of this statement which exclude clang compiler:
#if defined(__GNUC__) && !defined(__INTEL_COMPILER)
# include <mm_malloc.h>
#endif
But, yes make bench5 failed miserably too...
For bench5 we have 2 solutions as you saw: rpath compiling, or ensuring DYLD_LIBRARY_PATH is present again, which I can do in a fix to the script ( I thought )
I also wrote a macron, sorry, macrun script, which sets DYLD_LIBRARY_PATH if it's not present. It does assume $NEMO is present, so it just sources the nemo_start.sh file. what a mess.
Crazy things !!
It's actually /usr/bin/time command which make crash gyrfalcON.
Try from a terminal (NEMO loaded) the followings commands :
time gyrfalcON
and
/usr/bin/time gyrfalcON
The latter crashes gyrfalcoN !!!
/usr/bin/time starts a sub process. It must be the reason DYD_LD_LIBRARY_PATH is cleared.
ah thanks, I'll fix that tonight when I can dig up that mac ! I still will have problems with "make check", there I need macron!
or maybe I should call it "siprun"
ah thanks, I'll fix that tonight when I can dig up that mac ! I still will have problems with "make check", there I need macron!
macron ? Emmanuel ? Our French president ?
yup, that guy. I won't make a decision until later when I get home.