Forum Message



We have moved the forum to . This is an archived version of the topics until 05/05/23. All the topics were moved to the new forum and conversations can be continued there. This forum is just kept as legacy to not invalidate old links. If you want to continue a conversation just look for the topic in the new forum.


The forum is in read only mode.

Conda installers available!

3 years 9 months ago - 3 years 9 months 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/ /usr/lib/ ~$

and about netgen/ngsolve,
~$ python3 -c "import netgen;print(netgen.__file__)" /usr/share/miniconda3/lib/python3.7/site-packages/netgen/ ~$ python3 -c "import ngsolve;print(ngsolve.__file__)" importing NGSolve-6.2.1909-72-g3c8f3a0d /usr/share/miniconda3/lib/python3.7/site-packages/ngsolve/
Last edit: 3 years 9 months ago by liubenyuan.
3 years 8 months ago #2259 by jorgens
Replied by jorgens on topic Conda installers available!
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?
3 years 8 months 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.
3 years 8 months ago #2264 by jorgens
Replied by jorgens on topic Conda installers available!
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 .

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...
3 years 8 months ago #2293 by Guosheng Fu

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.

3 years 8 months 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!!!
Time to create page: 0.164 seconds