PIP installers available!

More
6 months 4 weeks ago - 6 months 3 weeks ago #4222 by matthiash
 
Dear NGSolve users,

Finally we managed to provide pip-installers for our software. This means, installing NGSolve on your computer now becomes as easy as py!
pip install ngsolve

For Linux, we also provide an ngsolve-avx2 package which is compiled using AVX2 instructions (only working on supported hardware).

Also nightly builds will be provided (use the --pre flag of pip to install prerelease versions).

Similar to the conda installers, run-time code generation is currently not supported on all platforms, but we are working on it.

Best,
The NGSolve Team
Code:
test
 
Last edit: 6 months 3 weeks ago by matthiash.
The following user(s) said Thank You: alex.v

Please Log in or Create an account to join the conversation.

More
6 months 2 weeks ago #4236 by matthiash
Replied by matthiash on topic PIP installers available!
Some people reported problems starting Python after installing the ngsolve pip-package on MacOS, and after rebooting. Updating ngsolve to the NGSolve-6.2.2202 release solves the problem.
If pip is also not working (because of this problem), you can manually delete the directory /Library/Frameworks/Python.framework/Versions/3.10/Contents ( change 3.10 to your python version).

The error message you get, when having this problem looks like this:
dyld[3600]: Library not loaded: /Library/Frameworks/Python.framework/Versions/3.10/Python
  Referenced from: /Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10
  Reason: tried:  '/Library/Frameworks/Python.framework/Versions/3.10/Python' (code signature invalid (errno=1) sliceOffset=0x004B0000, codeBlobOffset=0x00483BA0, codeBlobSize=0x000135F0 for 

Best,
Matthias

Please Log in or Create an account to join the conversation.

More
6 months 5 hours ago #4283 by alex.v
Replied by alex.v on topic PIP installers available!
I am having issues with installing it through pip on Ubuntu 21.10. It does not seem to install with umfpack, something that the apt version did.

Running the following line ```a_assembled.mat.Inverse(freedofs=freedofs, inverse="umfpack")``` works with the apt version, but crashes the pip installation.

Is this an oversight, a temporary limitation, or a permanent limitation of the pip install?

Additionally, this page  shows the default CMake options when building from source. Is there a list to show which options are enabled for the different distribution modes (pip, apt, conda, etc.) of NGSolve?
 

Please Log in or Create an account to join the conversation.

More
4 months 3 weeks ago #4367 by alex.v
Replied by alex.v on topic PIP installers available!
Any update on this?

Please Log in or Create an account to join the conversation.

Time to create page: 0.135 seconds