Open mmohaghegh opened 2 years ago
Hi,
It seems as if the compiler picks up a version of the header file mpi.h which does not support the MPI C++ bindings. This could either be because the wrong mpi.h is included or that the MPI implementation on the HPC cluster does not support the C++ bindings. Could you perhaps bring this issue up with the support personel at your HPC site such that they could look into it?
Also, which version of MPI is your HPC site using?
Thank you for your quick response!
There are different versions available there, but so far I have used 3.1.1 and 4.0.3. I have installed MUSIC on PCs with these versions of MPI and there the compilation went fine, so this seems not to be a version-related problem.
Hello @mmohaghegh,
I'm having the same issue! Did you manage to solve this?
Best, Benedetta
Hi @benedettagambosi,
It was an issue for one specific computing resource that I wanted to work with. Since I did not need the resource back then, I stopped researching it further and following instructions in this comment.
Best,
Mohammad
C++ bindings in MPI are deprecated, see #27.
Hi all,
I would like to install MUSIC on an HPC. Despite loading all necessary modules for compiling MUSIC, I get this error and many errors like this during make: ./music/data_map.hh:46:13: error: ‘MPI’ does not name a type virtual MPI::Datatype type () = 0;
On my PC the compilation goes without any problem. I have tried with different versions of mpi on PC as well as on HPC, including 3.1.1 and 4.0.3, however I get the same error for all of the versions only on HPC.
Could someone help me on this issue?
Best,
Mohammad