<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Aug 6, 2021, at 4:20 PM, BolañOs, Simon <<a href="mailto:sbolanos@UCSD.EDU" class="">sbolanos@UCSD.EDU</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta charset="UTF-8" class=""><div style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;" class="">Hello,</div><div style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;" class="">I am trying to compile the LaserSlab example (2D) but I got the following error when compiling :</div><div style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;" class=""><div style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; font-size: 18px; line-height: normal; font-family: "Courier New"; color: rgb(242, 242, 242); background-color: rgba(0, 0, 0, 0.85);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">/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</span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; font-size: 18px; line-height: normal; font-family: "Courier New"; color: rgb(255, 255, 255); background-color: rgba(0, 0, 0, 0.85);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><b class="">io_set_grid_mpi_types.c:198:8:<span class="Apple-converted-space"> </span></b></span><span style="font-variant-ligatures: no-common-ligatures; color: rgb(180, 36, 25);" class=""><b class="">error:<span class="Apple-converted-space"> </span></b></span><span style="font-variant-ligatures: no-common-ligatures;" class=""><b class="">expected expression</b></span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; font-size: 18px; line-height: normal; font-family: "Courier New"; color: rgb(242, 242, 242); background-color: rgba(0, 0, 0, 0.85);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><span class="Apple-converted-space"> <span class="Apple-converted-space"> </span></span>err = MPI_Type_extent(varStencil,&printNewExtent);</span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; font-size: 18px; line-height: normal; font-family: "Courier New"; color: rgb(47, 180, 29); background-color: rgba(0, 0, 0, 0.85);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><b class=""><span class="Apple-converted-space"> <span class="Apple-converted-space"> </span></span>^</b></span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; font-size: 18px; line-height: normal; font-family: "Courier New"; color: rgb(242, 242, 242); background-color: rgba(0, 0, 0, 0.85);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: rgb(255, 255, 255);" class=""><b class="">/opt/homebrew/include/mpi.h:2865:31:<span class="Apple-converted-space"> </span></b></span><span style="font-variant-ligatures: no-common-ligatures;" class=""><b class="">note:<span class="Apple-converted-space"> </span></b></span><span style="font-variant-ligatures: no-common-ligatures;" class="">expanded from macro 'MPI_Type_extent'</span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; font-size: 18px; line-height: normal; font-family: "Courier New"; color: rgb(242, 242, 242); background-color: rgba(0, 0, 0, 0.85);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">#define MPI_Type_extent(...)<span class="Apple-converted-space"> <span class="Apple-converted-space"> </span></span>THIS_FUNCTION_WAS_REMOVED_IN_MPI30(MPI_Type_extent, MPI_Type_get_extent)</span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; font-size: 18px; line-height: normal; font-family: "Courier New"; color: rgb(47, 180, 29); background-color: rgba(0, 0, 0, 0.85);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><b class=""><span class="Apple-converted-space"> <span class="Apple-converted-space"> </span></span>^</b></span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; font-size: 18px; line-height: normal; font-family: "Courier New"; color: rgb(242, 242, 242); background-color: rgba(0, 0, 0, 0.85);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: rgb(255, 255, 255);" class=""><b class="">/opt/homebrew/include/mpi.h:327:59:<span class="Apple-converted-space"> </span></b></span><span style="font-variant-ligatures: no-common-ligatures;" class=""><b class="">note:<span class="Apple-converted-space"> </span></b></span><span style="font-variant-ligatures: no-common-ligatures;" class="">expanded from macro 'THIS_FUNCTION_WAS_REMOVED_IN_MPI30'</span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; font-size: 18px; line-height: normal; font-family: "Courier New"; color: rgb(242, 242, 242); background-color: rgba(0, 0, 0, 0.85);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">#define THIS_FUNCTION_WAS_REMOVED_IN_MPI30(func, newfunc) _Static_assert(0, #func " was removed in MPI-3.0.<span class="Apple-converted-space"> <span class="Apple-converted-space"> </span></span>Use " #newfunc " instead.")</span></div><br class=""></div><div style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;" class="">It seems a MPI function has been deprecated. Do you know how to circumvent such an issue? </div></div></blockquote><br class=""></div><div>The output above explains how to rename the routine (the middle line @ 2865). Also, e.g. Open-MPI can be built with MPI1 compatibility if you want to go that kind of route.</div><div><br class=""></div>Tony<div class=""><br class=""></div></body></html>