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:
parent
4a08b1710f
commit
e16b341a9c
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user