Conda installers available!

1 month 1 week ago - 1 month 1 week ago #2206 by liubenyuan
I installed tcl/tk globally in my archlinux
~$ pacman -Q tcl
tcl 8.6.10-1
~$ pacman -Q tk
tk 8.6.10-1
~$ ls /usr/lib/libtcl8.6.so 
/usr/lib/libtcl8.6.so
~$ 

and about netgen/ngsolve,
~$ python3 -c "import netgen;print(netgen.__file__)"
/usr/share/miniconda3/lib/python3.7/site-packages/netgen/__init__.py
~$ python3 -c "import ngsolve;print(ngsolve.__file__)"
importing NGSolve-6.2.1909-72-g3c8f3a0d
/usr/share/miniconda3/lib/python3.7/site-packages/ngsolve/__init__.py

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

2 weeks 14 hours ago #2259 by jorgens
Looks like UMFPACK is not part of the conda package. This leads to problems. For example when using the Elasticity Modeltemplate. Would it be possible to add UMFPACK?

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

1 week 6 days ago #2263 by christopher
Not sure why mhochsteger disabled umfpack, maybe there was a problem with the suitesparse dependency in conda. I will have a look into this next week or so. In the meantime, the pardiso solver should be available in the conda installer and should work instead of umpfack.
Best
Christopher

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

1 week 6 days ago #2264 by jorgens
Thanks a lot for the quick reply and fantastic tools! My Problem with the missing UMFPack is that I am using the Elastic Templates, specifically I am looking at the example github.com/NGSolve/modeltemplates/blob/m...amples/elasticity.py .

So I am working on a quite high level.

You can get Elasticity to work without the UMFPack, if you use HookeMaterial and set nonlinear to False. But otherwise initiating the class will fail and I do not really see how I would change to the paradiso solver.

Anyways I have succeeded to compile the code from scratch within my docker setup so the issue is not pressing. Just wanted to let you know...

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

4 days 14 hours ago #2293 by Guosheng Fu
Hello,

I used the following lines to install ngsolve via the Conda installer in my local cluster:
module load conda
conda create --prefix ~/NGSolve
source activate ~/NGSolve
conda config --add channels conda-forge
conda config --add channels ngsolve
conda install ngsolve
The installation was successful, everything is local in my folder ~/NGSolve
However, the gui is not working properly, it only pops up a window without any information. See attached photo.


Best,
Guosheng
Attachments:

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

4 days 13 hours ago #2294 by Guosheng Fu
Hello again, please discard the previous message, after run
python3 -c "import netgen; print(netgen.__file__)"
I realized that it is pointing to an older build from source without GUI.

After a correct environment setup, everything seems working up to now. In particular, the umfpack and pardiso solver are all working nicely.

Thanks again for all your effort to make easier the installation!!!

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

© 2019 Netgen/NGSolve