mirror of
https://github.com/sfilippone/psblas3.git
synced 2026-10-07 07:04:57 +00:00
Add CSERIALMPI for --enable-serial
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user