proper environment setup for MPI in jupyter notebook

More
4 years 5 months ago #2856 by Guosheng Fu
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
More
4 years 5 months ago #2857 by christopher
In ngsolve.krylovspace there is a CGSolver python class. If you use that you should be able to get that information.
Best
More
4 years 5 months ago #2858 by Guosheng Fu
Ah-ha, there are two CGSolvers... didn't notice that, lol
Thanks, Christopher.
More
4 years 1 month ago #3230 by Libo-Yan
Hello Christopher,

I would like to ask, how to install NGSolve MPI/PETESC in Anaconda (win10)?

Thanks in advance!

Libo Yan
More
4 years 1 month ago #3232 by christopher
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
The following user(s) said Thank You: Libo-Yan
More
4 years 1 month ago #3233 by Libo-Yan
Hello Ikogler,

must we include "intel MPI" in the proper environment setup for MPI in jupyter notebook?
Time to create page: 0.108 seconds