Optional flags in setup: --mpi --omp
Fortran Compiler: gfortran 4.9.1
C Compiler: gcc 4.9.1
MPI : OpenMPI 1.6.5
and I get the following error from cmake/gfortran
Code: Select all
/home/pibemanden/es_prog/DALTON-Source/DALTON/abacus/her2fck.F:514.23: & offset_mat, 1 Error: Type mismatch in argument 'idispl' at (1); passed INTEGER(8) to INTEGER(4) CMakeFiles/dalton.dir/build.make:2779: recipe for target 'CMakeFiles/dalton.dir/DALTON/abacus/her2fck.F.o' failed make: *** [CMakeFiles/dalton.dir/DALTON/abacus/her2fck.F.o] Error 1 CMakeFiles/Makefile2:1055: recipe for target 'CMakeFiles/dalton.dir/all' failed make: *** [CMakeFiles/dalton.dir/all] Error 2 Makefile:123: recipe for target 'all' failed make: *** [all] Error 2
While the subrutine in DALTON/gp/one_sided_communication_wrappers.F90 (line 121) takes an integer (kind=MPI_ADDRESS_KIND).
So I am guessing that my setup has a difference between MPI_ADDRESS_KIND and MPI_OFFSET_KIND, but I still believe that these two variables should have been declared in the same way in both files, no?
Changing the offset_mat declaration to (kind=mpi_address_kind) fixed my problem and DALTON compiled fine(I am currently running make test, but that wont finish today), however I would like a more official solution if possible.