[CP2K:7333] Re: CP2K compilation error - Error: Missing actual argument for argument 'mpi_comm_all' at (1)

Michael Banck mba... at gmx.net
Fri Jan 15 09:51:37 UTC 2016


Hi,
g
On Thu, Jan 14, 2016 at 02:14:24PM -0800, Ben Fotovich wrote:
> I spoke too soon!
> 
> Looking in elpa/src/elpa_c_interface.F90
> Line 117 shows:
> 
> function solve_elpa2_evp_real_wrapper(na, nev, ncols, a, lda, ev, q, ldq, 
> nblk,    &
>                                   mpi_comm_rows, mpi_comm_cols, 
> mpi_comm_all, &
>                                   THIS_REAL_ELPA_KERNEL_API, 
> useQR)           &
>                                   result(success) 
> bind(C,name="elpa_solve_evp_real_2stage")
> 
> and line 141 shows:
> 
> successFortran = solve_evp_real_2stage(na, nev, a, lda, ev, q, ldq, nblk, 
> mpi_comm_rows, mpi_comm_cols, mpi_comm_all, &
>                                            THIS_REAL_ELPA_KERNEL_API, 
> useQRFortran)
> 
> I may be misreading, but this looks like it is slightly different than what 
> was called from the CP2K code. Thoughts?

Indeed, ELPA changed interface between 2015.05 and 2015.11. As you are
using 2015.11, you should defined -D__ELPA3 instead of -D__ELPA2 I
believe, does that work?


Michael



More information about the CP2K-user mailing list