[FLASH-USERS] Compiling issue due to MPI with LaserSlab example
BolañOs, Simon
sbolanos at UCSD.EDU
Fri Aug 6 16:20:02 EDT 2021
Hello,
I am trying to compile the LaserSlab example (2D) but I got the following error when compiling :
/src/hypre/include -ggdb -c -O2 -Wuninitialized -D_FORTIFY_SOURCE=2 -Wno-error=implicit-function-declaration -DFLASH_3T -DMAXBLOCKS=1000 -DNXB=16 -DNYB=16 -DNZB=1 -DN_DIM=2 -DDarwin io_set_grid_mpi_types.c
io_set_grid_mpi_types.c:198:8: error: expected expression
err = MPI_Type_extent(varStencil,&printNewExtent);
^
/opt/homebrew/include/mpi.h:2865:31: note: expanded from macro 'MPI_Type_extent'
#define MPI_Type_extent(...) THIS_FUNCTION_WAS_REMOVED_IN_MPI30(MPI_Type_extent, MPI_Type_get_extent)
^
/opt/homebrew/include/mpi.h:327:59: note: expanded from macro 'THIS_FUNCTION_WAS_REMOVED_IN_MPI30'
#define THIS_FUNCTION_WAS_REMOVED_IN_MPI30(func, newfunc) _Static_assert(0, #func " was removed in MPI-3.0. Use " #newfunc " instead.")
It seems a MPI function has been deprecated. Do you know how to circumvent such an issue?
Cheers,
SImon,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20210806/12c0558f/attachment.htm>
More information about the flash-users
mailing list