Loading geometry from command line
- brittany-e
- Topic Author
- New Member
Less
More
2 years 6 months ago #4355
by brittany-e
Loading geometry from command line was created by brittany-e
Hello there,
I just installed Netgen on my MBP. From the command line I can open it from command line with
netgen
If I'm in the folder containing the geometries, I can open one, e.g. File -> Load Geometry -> sculpture.geo
But I cannot do this from the command line using
netgen sculpture.geo
(netgen opens but geometry does not load).
At this point I have not added to my bash start up file the following: export PYTHONPATH=$PYTHONPATH:/Applications/Netgen.app/Contents/Resources/lib/python3.8/site-packages:.
export NETGENDIR=/Applications/Netgen.app/Contents/MacOS
export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:$NETGENDIR
export DYLD_FRAMEWORK_PATH=$DYLD_FRAMEWORK_PATH:$NETGENDIR/../Frameworks
export PATH=$NETGENDIR:$PATH
When I do, and I again call
netgen
I get the error below. Can you provide some advice on what to do?
dyld: Library not loaded: /Library/Frameworks/Python.framework/Versions/3.8/Python Referenced from: /Applications/Netgen.app/Contents/MacOS/netgen Reason: image not foundzsh: abort netgen
ALSO: are you aware that this link is broken: ngsolve.org/docu/latest/install/gettingstarted.html
although this one works: docu.ngsolve.org/latest/install/gettingstarted.html
Thanks!
I just installed Netgen on my MBP. From the command line I can open it from command line with
netgen
If I'm in the folder containing the geometries, I can open one, e.g. File -> Load Geometry -> sculpture.geo
But I cannot do this from the command line using
netgen sculpture.geo
(netgen opens but geometry does not load).
At this point I have not added to my bash start up file the following: export PYTHONPATH=$PYTHONPATH:/Applications/Netgen.app/Contents/Resources/lib/python3.8/site-packages:.
export NETGENDIR=/Applications/Netgen.app/Contents/MacOS
export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:$NETGENDIR
export DYLD_FRAMEWORK_PATH=$DYLD_FRAMEWORK_PATH:$NETGENDIR/../Frameworks
export PATH=$NETGENDIR:$PATH
When I do, and I again call
netgen
I get the error below. Can you provide some advice on what to do?
dyld: Library not loaded: /Library/Frameworks/Python.framework/Versions/3.8/Python Referenced from: /Applications/Netgen.app/Contents/MacOS/netgen Reason: image not foundzsh: abort netgen
ALSO: are you aware that this link is broken: ngsolve.org/docu/latest/install/gettingstarted.html
although this one works: docu.ngsolve.org/latest/install/gettingstarted.html
Thanks!
Time to create page: 0.083 seconds