| b82a6ca9 | 03-Apr-2024 |
Barry Smith <bsmith@mcs.anl.gov> |
configure: Add checkKandRFlags() to use with external pkgs that need additional compiler flags to build with gcc-14 and Xcode/Clang
And update updatePackageCFlags() to use checkKandRFlags()
Co-Auth
configure: Add checkKandRFlags() to use with external pkgs that need additional compiler flags to build with gcc-14 and Xcode/Clang
And update updatePackageCFlags() to use checkKandRFlags()
Co-Authored-by: Satish Balay <balay@mcs.anl.gov>
chaco:
mpicc -c -Imain -fPIC -Wno-lto-type-mismatch -Wno-stringop-overflow -g -O0 -o input/check_input.o input/check_input.c input/check_input.c: In function ‘check_assignment’: input/check_input.c:472:12: error: type of ‘ndims’ defaults to ‘int’ [-Wimplicit-int] 472 | static int check_assignment(assignment, nvtxs, nsets_tot, ndims, local_method) | ^~~~~~~~~~~~~~~~ input/check_input.c:472:12: error: type of ‘local_method’ defaults to ‘int’ [-Wimplicit-int]
spai:
/home/balay/petsc/arch-ci-linux-pkgs-cxx-mlib/bin/mpicc -DSPAI_USE_MPI -Wno-lto-type-mismatch -Wno-stringop-overflow -g -O -I/home/balay/petsc/arch-ci-linux-pkgs-cxx-mlib/include -c basics.c basics.c: In function ‘init_SPAI’: basics.c:19:3: error: implicit declaration of function ‘init_timers’ [-Wimplicit-function-declaration] 19 | init_timers(); | ^~~~~~~~~~~
scalapack:
/home/balay/petsc/arch-ci-linux-pkgs-cxx-mlib/externalpackages/git.scalapack/BLACS/SRC/sgamx2d_.c: In function ‘sgamx2d_’: /home/balay/petsc/arch-ci-linux-pkgs-cxx-mlib/externalpackages/git.scalapack/BLACS/SRC/sgamx2d_.c:204:7: error: implicit declaration of function ‘BI_smvcopy’; did you mean ‘BI_cmvcopy’? [-Wimplicit-function-declaration] 204 | BI_smvcopy(Mpval(m), Mpval(n), A, tlda, bp->Buff); | ^~~~~~~~~~
ptscotch:
/home/balay/petsc/arch-ci-linux-pkgs-cxx-mlib/bin/mpicc -Wno-lto-type-mismatch -Wno-stringop-overflow -g -O -I/home/balay/petsc/arch-ci-linux-pkgs-cxx-mlib/include -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_PTHREAD -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_RENAME -Drestrict="restrict" -DINTSIZE32 -DSCOTCH_METIS_PREFIX -I../../include -I../libscotch -c metis_graph_part_dual_f.c -o metis_graph_part_dual_f_v3.o metis_graph_part_dual_f.c: In function ‘METIS_PARTMESHDUAL’: metis_graph_part_dual_f.c:82:3: error: implicit declaration of function ‘METIS_PartMeshDual’; did you mean ‘metis_partmeshdual’? [-Wimplicit-function-declaration] 82 | METIS_PartMeshDual (ne, nn, eptr, eind, vwgt, vsize, ncommon, nparts, tpwgts, options, objval, epart, npart); | ^~~~~~~~~~~~~~~~~~ | metis_partmeshdual
pastix:
/home/balay/petsc/arch-linux-c-debug/bin/mpicc -fPIC -Wno-lto-type-mismatch -Wno-stringop-overflow -g -O0 -I/home/balay/petsc/arch-linux-c-debug/include -DFORCE_INT32 -DWITH_HWLOC -I/home/balay/petsc/arch-linux-c-debug/include -DNUMA_ALLOC -DDISTRIBUTED -DWITH_SCOTCH -I/home/balay/petsc/arch-linux-c-debug/include -DVERSION='""' -DX_ARCHi686_pc_linux -DDOF_CONSTANT -DVERSION='""' -DX_ARCHi686_pc_linux -DDOF_CONSTANT -I./common/src -I./order/src -I./symbol/src -I./fax/src -I./perf/src -I./blend/src -I./kass/src -I./sopalin/src -I./utils/src -I./matrix_drivers/src -I./wrapper/src -I./sparse-matrix/src -Imurge/include -DCHOL_SOPALIN -c sopalin/obj/i686_pc_linux/coefinit_c.c -o sopalin/obj/i686_pc_linux/coefinit_c.o In file included from ./common/src/common_pastix.h:366, from ./sopalin/src/coefinit.c:40, from sopalin/obj/i686_pc_linux/coefinit_c.c:8: ./sopalin/src/coefinit.c: In function ‘C_pastix_getDiag’: ./common/src/redefine_functions.h:89:30: error: implicit declaration of function ‘C_GetMpiType’; did you mean ‘GetMpiType’? [-Wimplicit-function-declaration] 89 | #define PASTIX_PREFIX_F(x) C_ ## x | ^~ ./common/src/redefine_functions.h:433:26: note: in expansion of macro ‘PASTIX_PREFIX_F’ 433 | #define GetMpiType PASTIX_PREFIX_F(GetMpiType) | ^~~~~~~~~~~~~~~ ./common/src/common_pastix.h:286:24: note: in expansion of macro ‘GetMpiType’ 286 | # define COMM_FLOAT GetMpiType() | ^~~~~~~~~~ ./sopalin/src/coefinit.c:554:50: note: in expansion of macro ‘COMM_FLOAT’ 554 | MPI_Allreduce((void *) btemp, (void *) b, n, COMM_FLOAT, COMM_SUM, pastix_comm); | ^~~~~~~~~~
show more ...
|
| c40e87ba | 04-Apr-2024 |
Satish Balay <balay@mcs.anl.gov> |
pastix: update to snapshot with build fixes for MPI-3 errors [wrt OpenMPI-5.0]
/home/balay/petsc/arch-linux-c-debug/bin/mpicc -fPIC -Wno-lto-type-mismatch -Wno-stringop-overflow -g -O0 -Wno-implic
pastix: update to snapshot with build fixes for MPI-3 errors [wrt OpenMPI-5.0]
/home/balay/petsc/arch-linux-c-debug/bin/mpicc -fPIC -Wno-lto-type-mismatch -Wno-stringop-overflow -g -O0 -Wno-implicit-function-declaration -Wno-implicit-int -Wno-deprecated-non-prototype -fno-common -I/home/balay/petsc/arch-linux-c-debug/include -DFORCE_INT32 -DWITH_HWLOC -I/home/balay/petsc/arch-linux-c-debug/include -DNUMA_ALLOC -DDISTRIBUTED -DWITH_SCOTCH -I/home/balay/petsc/arch-linux-c-debug/include -DVERSION='""' -DX_ARCHi686_pc_linux -DDOF_CONSTANT -DVERSION='""' -DX_ARCHi686_pc_linux -DDOF_CONSTANT -I./common/src -I./order/src -I./symbol/src -I./fax/src -I./perf/src -I./blend/src -I./kass/src -I./sopalin/src -I./utils/src -I./matrix_drivers/src -I./wrapper/src -I./sparse-matrix/src -Imurge/include -DCHOL_SOPALIN -c sopalin/src/sopalin3d.c -o sopalin/obj/i686_pc_linux/sopalin3d.o In file included from sopalin/src/sopalin3d.c:85: sopalin/src/./sopalin_sendrecv.c: In function ‘po_send_one_fanin’: /home/balay/petsc/arch-linux-c-debug/include/mpi.h:350:59: error: static assertion failed: "MPI_Address was removed in MPI-3.0. Use MPI_Get_address instead." 350 | #define THIS_FUNCTION_WAS_REMOVED_IN_MPI30(func, newfunc) _Static_assert(0, #func " was removed in MPI-3.0. Use " #newfunc " instead.") | ^~~~~~~~~~~~~~ /home/balay/petsc/arch-linux-c-debug/include/mpi.h:3179:27: note: in expansion of macro ‘THIS_FUNCTION_WAS_REMOVED_IN_MPI30’ 3179 | #define MPI_Address(...) THIS_FUNCTION_WAS_REMOVED_IN_MPI30(MPI_Address, MPI_Get_address) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sopalin/src/./sopalin_sendrecv.c:1303:12: note: in expansion of macro ‘MPI_Address’ 1303 | CALL_MPI MPI_Address(FANIN_INFOTAB(t),&(thread_data->gtaboffs[packnbr])); | ^~~~~~~~~~~
show more ...
|