Forum Message

 

 

We have moved the forum to https://forum.ngsolve.org . 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.

Notice

The forum is in read only mode.

Conda installer: using MPI

More
4 years 3 months ago #2254 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!
More
4 years 3 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
More
4 years 3 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!
More
1 year 10 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?
More
1 year 10 months ago #4419 by christopher
The mentioned bug was fixed in 9.3 afaik
Time to create page: 0.151 seconds