Add CSERIALMPI for --enable-serial

This commit is contained in:
sfilippone
2025-03-08 12:55:28 +01:00
parent 01220d4639
commit 39b5886b63
3 changed files with 10 additions and 1 deletions
+4
View File
@@ -4,6 +4,8 @@
#include <math.h>
#include <complex.h>
@CSERIALMPI@
@IPKDEF@
@LPKDEF@
@@ -34,3 +36,5 @@ typedef float psb_s_t;
typedef double psb_d_t;
typedef float complex psb_c_t;
typedef double complex psb_z_t;
#endif
Vendored
+3
View File
@@ -692,6 +692,7 @@ CHAVEAMD
CREALMETIS
CINTMETIS
CHAVEMETIS
CSERIALMPI
LPKDEF
IPKDEF
FINCLUDES
@@ -4643,6 +4644,7 @@ if test x"$pac_cv_serial_mpi" == x"yes" ; then
MPIFC="$FC";
MPICC="$CC";
MPICXX="$CXX";
CSERIALMPI="#define SERIAL_MPI"
else
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
@@ -11180,6 +11182,7 @@ FDEFINES=$(PSBFDEFINES)
###############################################################################
+3 -1
View File
@@ -139,7 +139,8 @@ if test x"$pac_cv_serial_mpi" == x"yes" ; then
FAKEMPI="fakempi.o";
MPIFC="$FC";
MPICC="$CC";
MPICXX="$CXX";
MPICXX="$CXX";
CSERIALMPI="#define SERIAL_MPI"
else
AC_LANG([C])
if test "X$MPICC" = "X" ; then
@@ -1025,6 +1026,7 @@ FDEFINES=$(PSBFDEFINES)
AC_SUBST(IPKDEF)
AC_SUBST(LPKDEF)
AC_SUBST(CSERIALMPI)
AC_SUBST(CHAVEMETIS)
AC_SUBST(CINTMETIS)
AC_SUBST(CREALMETIS)