Unsuccessful install with mpi
Posted: 07 Dec 2020, 17:44
Hi
I think Canada's computer cluster run on Redhat. Therefore I cannot use the Ubuntu binaries from Elmer's Github. So I downloaded the source files (version of April 2020) and since I require mpi, I generated the make files using
cmake -DWITH_OpenMP:BOOL=TRUE -DWITH_MPI:BOOL=TRUE ../install ../elmerfem
which showed no errors and so I proceeded with
make install
This is the output ( I use ...... to mean mpif-sizeof.h:nn:mm: Error: Array specification at (1) has more than 7 dimensions is repeated many times)
[ 1%] Built target matc
[ 1%] Built target Matc_bin
[ 1%] Built target umfpack_srcs
[ 41%] Built target umfpack
[ 41%] Built target amdf77
[ 44%] Built target amd
[ 44%] Built target fhuti
[ 45%] Built target Mesh2D
[ 50%] Built target arpack
[ 50%] Building Fortran object mathlibs/src/parpack/CMakeFiles/parpack.dir/pcgetv0.f.o
mpif-sizeof.h:75:48: Error: Array specification at (1) has more than 7 dimensions
............
mpif-sizeof.h44: Error: Array specification at (1) has more than 7 dimensions
mpif-sizeof.h72: Error: Ambiguous interfaces ‘mpi_sizeof_real64_r15’ and ‘mpi_sizeof_real64_r14’ in generic interface 'mpi_sizeof' at (1)
mpif-sizeof.h72: Error: Ambiguous interfaces ‘pmpi_sizeof_real64_r15’ and ‘pmpi_sizeof_real64_r14’ in generic interface 'pmpi_sizeof' at (1)
make[2]: *** [mathlibs/src/parpack/CMakeFiles/parpack.dir/build.make:63: mathlibs/src/parpack/CMakeFiles/parpack.dir/pcgetv0.f.o] Error 1
make[1]: *** [CMakeFiles/Makefile2 mathlibs/src/parpack/CMakeFiles/parpack.dir/all] Error 2
make: *** [Makefile:163: all] Error 2
Is it possible that the error is due to a wrong mpi package ? They have several versions but I happen to be using
openmpi/2.1.1
Any feedback welcome
Thanks
I think Canada's computer cluster run on Redhat. Therefore I cannot use the Ubuntu binaries from Elmer's Github. So I downloaded the source files (version of April 2020) and since I require mpi, I generated the make files using
cmake -DWITH_OpenMP:BOOL=TRUE -DWITH_MPI:BOOL=TRUE ../install ../elmerfem
which showed no errors and so I proceeded with
make install
This is the output ( I use ...... to mean mpif-sizeof.h:nn:mm: Error: Array specification at (1) has more than 7 dimensions is repeated many times)
[ 1%] Built target matc
[ 1%] Built target Matc_bin
[ 1%] Built target umfpack_srcs
[ 41%] Built target umfpack
[ 41%] Built target amdf77
[ 44%] Built target amd
[ 44%] Built target fhuti
[ 45%] Built target Mesh2D
[ 50%] Built target arpack
[ 50%] Building Fortran object mathlibs/src/parpack/CMakeFiles/parpack.dir/pcgetv0.f.o
mpif-sizeof.h:75:48: Error: Array specification at (1) has more than 7 dimensions
............
mpif-sizeof.h44: Error: Array specification at (1) has more than 7 dimensions
mpif-sizeof.h72: Error: Ambiguous interfaces ‘mpi_sizeof_real64_r15’ and ‘mpi_sizeof_real64_r14’ in generic interface 'mpi_sizeof' at (1)
mpif-sizeof.h72: Error: Ambiguous interfaces ‘pmpi_sizeof_real64_r15’ and ‘pmpi_sizeof_real64_r14’ in generic interface 'pmpi_sizeof' at (1)
make[2]: *** [mathlibs/src/parpack/CMakeFiles/parpack.dir/build.make:63: mathlibs/src/parpack/CMakeFiles/parpack.dir/pcgetv0.f.o] Error 1
make[1]: *** [CMakeFiles/Makefile2 mathlibs/src/parpack/CMakeFiles/parpack.dir/all] Error 2
make: *** [Makefile:163: all] Error 2
Is it possible that the error is due to a wrong mpi package ? They have several versions but I happen to be using
openmpi/2.1.1
Any feedback welcome
Thanks