- Thank you received: 0
Conda installers available!
- liubenyuan
- Offline
- New Member
Less
More
4 years 9 months ago - 4 years 9 months ago #2206
by liubenyuan
Replied by liubenyuan on topic Conda installers available!
I installed tcl/tk globally in my archlinux
and about netgen/ngsolve,
Code:
~$ 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,
Code:
~$ 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
Last edit: 4 years 9 months ago by liubenyuan.
4 years 9 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?
- christopher
- Offline
- Administrator
Less
More
- Thank you received: 101
4 years 9 months ago #2263
by christopher
Replied by christopher on topic Conda installers available!
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
Best
Christopher
4 years 9 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
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...
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...
- Guosheng Fu
- Offline
- Elite Member
Less
More
- Thank you received: 6
4 years 8 months ago #2293
by Guosheng Fu
Replied by Guosheng Fu on topic Conda installers available!
Hello,
I used the following lines to install ngsolve via the Conda installer in my local cluster:
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
I used the following lines to install ngsolve via the Conda installer in my local cluster:
Code:
module load conda
conda create --prefix ~/NGSolve
source activate ~/NGSolve
conda config --add channels conda-forge
conda config --add channels ngsolve
conda install ngsolve
However, the gui is not working properly, it only pops up a window without any information. See attached photo.
Best,
Guosheng
Attachments:
- Guosheng Fu
- Offline
- Elite Member
Less
More
- Thank you received: 6
4 years 8 months ago #2294
by Guosheng Fu
Replied by Guosheng Fu on topic Conda installers available!
Hello again, please discard the previous message, after run
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!!!
Code:
python3 -c "import netgen; print(netgen.__file__)"
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.122 seconds