When the MPI include flags are added to CFLAGS, the compilation of dlamch.c

can break.  The easiest fix is to set HYPRE_SEQUENTIAL in f2c.h since MPI is
not needed in either the lapack or blas routines.
This commit is contained in:
falgout 2011-02-24 21:58:07 +00:00
parent 4a08b1710f
commit e16b341a9c
2 changed files with 8 additions and 0 deletions

View File

@ -22,6 +22,10 @@
#ifndef F2C_INCLUDE
#define F2C_INCLUDE
/* MPI is not needed here, so don't include mpi.h */
#ifndef HYPRE_SEQUENTIAL
#define HYPRE_SEQUENTIAL 1
#endif
#include "_hypre_utilities.h"
#ifdef HYPRE_BIGINT

View File

@ -22,6 +22,10 @@
#ifndef F2C_INCLUDE
#define F2C_INCLUDE
/* MPI is not needed here, so don't include mpi.h */
#ifndef HYPRE_SEQUENTIAL
#define HYPRE_SEQUENTIAL 1
#endif
#include "_hypre_utilities.h"
#ifdef HYPRE_BIGINT