- Thank you received: 6
proper environment setup for MPI in jupyter notebook
- Guosheng Fu
- Topic Author
- Offline
- Elite Member
Less
More
4 years 5 months ago #2856
by Guosheng Fu
Replied by Guosheng Fu on topic proper environment setup for MPI in jupyter notebook
Hi Lukas,
Thanks for the magic lines, it's all working now.
In my case, I have to preload libmpi.so and libpetsc.so. My ngspy doesn't preload libmkl_rt.so. (NO idea why this is the case, but the code runs anyway)
Also, I have a side question related to jupyter notebook: I would like to print out the convergence history and iteration counts for CGSolver, but it didn't show up in the notebook. Instead, the iteration counts are printed out in my terminal. Any suggestion how to bring these output to notebook?
Best,
Guosheng
Thanks for the magic lines, it's all working now.
In my case, I have to preload libmpi.so and libpetsc.so. My ngspy doesn't preload libmkl_rt.so. (NO idea why this is the case, but the code runs anyway)
Also, I have a side question related to jupyter notebook: I would like to print out the convergence history and iteration counts for CGSolver, but it didn't show up in the notebook. Instead, the iteration counts are printed out in my terminal. Any suggestion how to bring these output to notebook?
Best,
Guosheng
- christopher
- Offline
- Administrator
Less
More
- Thank you received: 101
4 years 5 months ago #2857
by christopher
Replied by christopher on topic proper environment setup for MPI in jupyter notebook
In ngsolve.krylovspace there is a CGSolver python class. If you use that you should be able to get that information.
Best
Best
- Guosheng Fu
- Topic Author
- Offline
- Elite Member
Less
More
- Thank you received: 6
4 years 5 months ago #2858
by Guosheng Fu
Replied by Guosheng Fu on topic proper environment setup for MPI in jupyter notebook
Ah-ha, there are two CGSolvers... didn't notice that, lol
Thanks, Christopher.
Thanks, Christopher.
4 years 1 month ago #3230
by Libo-Yan
Replied by Libo-Yan on topic proper environment setup for MPI in jupyter notebook
Hello Christopher,
I would like to ask, how to install NGSolve MPI/PETESC in Anaconda (win10)?
Thanks in advance!
Libo Yan
I would like to ask, how to install NGSolve MPI/PETESC in Anaconda (win10)?
Thanks in advance!
Libo Yan
- christopher
- Offline
- Administrator
Less
More
- Thank you received: 101
4 years 1 month ago #3232
by christopher
Replied by christopher on topic proper environment setup for MPI in jupyter notebook
Hi, sorry there is no windows mpi version yet. Afaik petsc there is no petsc package for win in conda as well. If you want to try NGSolve with petsc I suggest a virtual machine
Best
Best
The following user(s) said Thank You: Libo-Yan
Time to create page: 0.108 seconds