*** Configuring Parallel Tools ****
../ga-5.7.1/configure
...
checking how to run the C preprocessor... fpp -P
configure: error: in `/nopt/nrel/apps/nwchem/dist/nwchem-7.0.0-intel20/src/tools/build':
configure: error: C preprocessor "fpp -P " fails sanity check
See `config.log' for more details
I then checked the configure script and found the following commands fails:
fpp -P conftest.c
conftest.c file is:
#include "confdefs.h"
And confdefs.h is:
/* confdefs.h */
#define PACKAGE_NAME "Global Arrays (GA)"
#define PACKAGE_TARNAME "ga"
#define PACKAGE_VERSION "5.7.1"
#define PACKAGE_STRING "Global Arrays (GA) 5.7.1"
#define PACKAGE_BUGREPORT "hpct...@pnl.gov"
#define PACKAGE_URL "http://hpc.pnl.gov/globalarrays/"
#define LINUX 1
#define SYSV 1
#define PACKAGE "ga"
#define VERSION "5.7.1"
#define MSG_COMMS_MPI 1
#define ENABLE_PEIGS 1
#define ENABLE_EISPACK 0
#define ENABLE_PROFILING 0
/* end confdefs.h. */
#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif
The error message is:
assert.h(106): #error: #if: syntax error.
I have tried intel compiler 2018 and 2020. Both have this problem. Does anybody happen to know what may cause this? Many thanks!
Hai Long