Error: Function `GA MPI Comm pgroup default' implicitly converted to pointer at util getppn.c:45


Click here for full thread
Clicked A Few Times
Depending on the compiler flags, the "MPI_Comm ga_comm=GA_MPI_Comm_pgroup_default();" line in src/util/util_getppn.c, line 45 results in a warning or an error. In particular, the Ubuntu autobuilders reject nwchem due to this.

It seems to be including ga-mpi.h next to ga.h in util_getppn.c would silence that warning/resolve that error, but no other NWChem source file includes ga-mpi.h so I am asking here about how to solve it in 6.6?

Or is a fix already in the development version and/or one of the published patches? (I had a quick look through the patches but could not find anything).