MacOS 10.14.6 update warning

Hi Mac - NGSolve users,

since MacOS 10.14 we get a warning starting the Netgen - gui, but it still works. It comes from the Togl - OpenGL interface. Building Netgen on MacOS 10.14 requires an elder SDK as workaround, see the documentation from here: Build on Mac OS X. — NGS-Py 6.2.2302 documentation

I just updated my Macbook to MacOS 10.14.6, and Netgen does not start anymore. I get logged out whenever I start the Netgen-gui.

Please be careful with updating, and let us know about your experience or workarounds.

We are working on the new gui using new OpenGL (or maybe Vulcan/Metal) standards, but it will take still some months for release. I was not expecting the problem that fast.

Sorry for the inconvenience,
Joachim

Hello Joachim,

just to let you know, after reading you post and having also updated to MacOS 10.14.6 (2019 MBP) yesterday, I checked my old installation (built from commit 8694e0e0b1db71f8e54a87a2bc236cbc04d56231) and it still worked as normal. I also did a clean build from the latest sources and the GUI also works without a problem for me.

Best wishes,
Henry

find some partial solution here:

FYI: I’m using even Catalina 10.15 Beta (19A526h)

Launching Netgen via click at netgen.app doesn’t work.
But the GUI can be started via command line
% /Applications/Netgen.app/Contents/MacOS/startup.sh

Then everything is fine, except that you then have to load any .py from inside netgen and not directly via
% netgen mypathyn.py

Thank you for confirming that Netgen runs on 10.15 Catalina !

startup.sh is only a script setting a few path variables.
If you set them manually, can you start directly netgen ?
Then you can give the arguments.

By clicking on the netgen.app, we first start the script Netgen1.
Can you start it manually via
/Applications/Netgen.app/Contents/MacOS/Netgen1

best, Joachim

[quote=“joachim” post=1794]Thank you for confirming that Netgen runs on 10.15 Catalina !

By clicking on the netgen.app, we first start the script Netgen1.
Can you start it manually via
/Applications/Netgen.app/Contents/MacOS/Netgen1

best, Joachim[/quote]

Negative, that results in following error:
jfk@Trill ~ % /Applications/Netgen.app/Contents/MacOS/Netgen1
FSPathMakeRef(/Applications/Utilities/Terminal.app) failed with error -43.

FYI: I’m using the compiled binary as downloaded from the NGSolve website, not a manually compiled version.

I’m using the call to startup.sh to actually start the app.
Using this
% /Applications/Netgen.app/Contents/MacOS/startup.sh
in command-line immediately brings up the GUI, no additional calls.

Best regards,

Jürgen

[quote=“jfk68” post=1796]
Negative, that results in following error:
jfk@Trill ~ % /Applications/Netgen.app/Contents/MacOS/Netgen1
FSPathMakeRef(/Applications/Utilities/Terminal.app) failed with error -43.

FYI: I’m using the compiled binary as downloaded from the NGSolve website, not a manually compiled version.

I’m using the call to startup.sh to actually start the app.
Using this
% /Applications/Netgen.app/Contents/MacOS/startup.sh
in command-line immediately brings up the GUI, no additional calls.

Best regards,

Jürgen[/quote]

Hi Jürgen,

to start the GUI from the command line you have to set some environment variables first, as described in the “Getting started” section in the documentation:
https://ngsolve.org/docu/latest/install/gettingstarted.html#mac-os-x

The startup.sh script does the same internally.

Best,
Matthias

All-clear !
NGSolve runs now smoothly also on MacOS 10.14.6
We have updated the Tcl/Tk version which includes fixes for the latest MacOS.