- Thank you received: 0
Conda installer: using MPI
4 years 10 months ago #2254
by Thauwa
Conda installer: using MPI was created by Thauwa
Firstly, many thanks to the developers for their hard work! I tried for several weeks to make NGSolve run on a cluster on which I had limited permissions, and the Conda installer finally solved the problem for me.
My current issue is that all my processes using mpirun have rank 0 when I try using NGSolve. Online, others say that this is due to clashing MPI libraries. However, I checked and this does not seem to be the case.
So, would someone mind clarifying:
1) Whether the Conda installer had MPI enabled?
2) How would I go about enabling MPI if it is not? Should I edit some CMake file in the installer manually and reinstall it in Conda?
3) What compiler/version should I use to make mpirun work best? I tried ICC 2017, 2019, GCC 2017 and OMPI.
The cluster uses CentOS7.
Thanks in advance for your time - and Happy 2020!
My current issue is that all my processes using mpirun have rank 0 when I try using NGSolve. Online, others say that this is due to clashing MPI libraries. However, I checked and this does not seem to be the case.
So, would someone mind clarifying:
1) Whether the Conda installer had MPI enabled?
2) How would I go about enabling MPI if it is not? Should I edit some CMake file in the installer manually and reinstall it in Conda?
3) What compiler/version should I use to make mpirun work best? I tried ICC 2017, 2019, GCC 2017 and OMPI.
The cluster uses CentOS7.
Thanks in advance for your time - and Happy 2020!
4 years 10 months ago #2256
by lkogler
Replied by lkogler on topic Conda installer: using MPI
As you have correctly recognized, when all processes have rank 0, you are usually dealing with a non-MPI version of NGSolve.
1) As far as I know, MPI is disabled for the anaconda installer.
2) I have no idea how the anaconda stuff works, sorry. Generally, for an MPI version, you have to compile NGSolve yourself.
3) I think there have been issues with the intel compiler in the past, so I would suggest sticking to gcc or clang. gcc versions 8.2 as well as 9.1/9.2 have bugs that break NGSolve. Use the same compilers for NGSolve and MPI. (Also, if you are using mpi4py, take care that it uses the same MPI installation as NGSolve).
Best,
Lukas
1) As far as I know, MPI is disabled for the anaconda installer.
2) I have no idea how the anaconda stuff works, sorry. Generally, for an MPI version, you have to compile NGSolve yourself.
3) I think there have been issues with the intel compiler in the past, so I would suggest sticking to gcc or clang. gcc versions 8.2 as well as 9.1/9.2 have bugs that break NGSolve. Use the same compilers for NGSolve and MPI. (Also, if you are using mpi4py, take care that it uses the same MPI installation as NGSolve).
Best,
Lukas
4 years 10 months ago #2257
by Thauwa
Replied by Thauwa on topic Conda installer: using MPI
Thank you for clarifying! I, nor the supercomputer's administrators, have been able to compile NGSolve for the system for several months due to very tough security restrictions. The Conda alternative helped alleviate this problem, but I guess I will wait for further developments. Happy 2020!
- arashgmn
- New Member
Less
More
2 years 5 months ago #4418
by arashgmn
Replied by arashgmn on topic Conda installer: using MPI
Just curious, does this bug exist in GCC>9.2? Is there a chance to get NGSolve run?
- christopher
- Offline
- Administrator
Less
More
- Thank you received: 101
2 years 5 months ago #4419
by christopher
Replied by christopher on topic Conda installer: using MPI
The mentioned bug was fixed in 9.3 afaik
Time to create page: 0.109 seconds