hypre-space / hypre

Parallel solvers for sparse linear systems featuring multigrid methods.
https://www.llnl.gov/casc/hypre/
Other
670 stars 183 forks source link

Make not working on WSL2 #811

Closed EmilySusanFoster closed 1 year ago

EmilySusanFoster commented 1 year ago

Hello, I am new to Linux. I am trying to install Hypre on my WSL2. I am unable to do ./configure and make without any errors

Here are the contents of my config.log This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake.

It was created by hypre configure 2.27.0, which was generated by GNU Autoconf 2.69. Invocation command line was

$ ./configure --prefix=/home/esfoster/opt/hypre

---------

Platform.

---------

hostname = mesoscale uname -m = x86_64 uname -r = 5.15.79.1-microsoft-standard-WSL2 uname -s = Linux uname -v = #1 SMP Wed Nov 23 01:01:46 UTC 2022

/usr/bin/uname -p = x86_64 /bin/uname -X = unknown

/bin/arch = x86_64 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown

PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /snap/bin

-----------

Core tests.

-----------

configure:2769: NOTE: Could not find .git directory configure:2864: checking build system type configure:2878: result: x86_64-pc-linux-gnu configure:2902: checking host system type configure:2915: result: x86_64-pc-linux-gnu configure:4656: checking for mpxlc configure:4686: result: no configure:4656: checking for mpixlc configure:4686: result: no configure:4656: checking for mpiicc configure:4686: result: no configure:4656: checking for mpiicx configure:4686: result: no configure:4656: checking for mpigcc configure:4686: result: no configure:4656: checking for mpicc configure:4686: result: no configure:4656: checking for mpipgcc configure:4686: result: no configure:4656: checking for mpipgicc configure:4686: result: no configure:4845: checking for mpxlC configure:4875: result: no configure:4845: checking for mpixlcxx configure:4875: result: no configure:4845: checking for mpixlC configure:4875: result: no configure:4845: checking for mpiicpc configure:4875: result: no configure:4845: checking for mpiicpx configure:4875: result: no configure:4845: checking for mpig++ configure:4875: result: no configure:4845: checking for mpic++ configure:4875: result: no configure:4845: checking for mpicxx configure:4875: result: no configure:4845: checking for mpiCC configure:4875: result: no configure:4845: checking for mpipgCC configure:4875: result: no configure:4845: checking for mpipgic++ configure:4875: result: no configure:5034: checking for mpxlf configure:5064: result: no configure:5034: checking for mpixlf77 configure:5064: result: no configure:5034: checking for mpiifort configure:5064: result: no configure:5034: checking for mpiifx configure:5064: result: no configure:5034: checking for mpif77 configure:5064: result: no configure:5034: checking for mpipgf77 configure:5064: result: no configure:5034: checking for mpipgifort configure:5064: result: no configure:5424: checking whether make sets $(MAKE) configure:5446: result: yes configure:5498: checking for ranlib configure:5514: found /usr/bin/ranlib configure:5525: result: ranlib configure:7511: checking for MPI_Init configure:7511: -o conftest conftest.c >&5 ./configure: line 1987: -o: command not found configure:7511: $? = 127 configure: failed program was: / confdefs.h / #define PACKAGE_NAME "hypre" #define PACKAGE_TARNAME "hypre" #define PACKAGE_VERSION "2.27.0" #define PACKAGE_STRING "hypre 2.27.0" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" #define HYPRE_RELEASE_NAME "hypre" #define HYPRE_RELEASE_VERSION "2.27.0" #define HYPRE_RELEASE_NUMBER 22700 #define HYPRE_RELEASE_DATE "2022/12/20" #define HYPRE_RELEASE_TIME "00:00:00" #define HYPRE_RELEASE_BUGS "https://github.com/hypre-space/hypre/issues" #define HYPRE_MAXDIM 3 #define HYPRE_FMANGLE 0 #define HYPRE_FMANGLE_BLAS 0 #define HYPRE_FMANGLE_LAPACK 0 / end confdefs.h. / /* Define MPI_Init to an innocuous variant, in case declares MPI_Init. For example, HP-UX 11i declares gettimeofday. */ #define MPI_Init innocuous_MPI_Init
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char MPI_Init (); below.
Prefer to if STDC is defined, since
exists even on freestanding compilers. */
#ifdef STDC
# include
#else
# include
#endif
#undef MPI_Init
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
#ifdef __cplusplus
extern "C"
#endif
char MPI_Init ();
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined __stub_MPI_Init defined __stub___MPI_Init
choke me
#endif
#ifdef FC_DUMMY_MAIN
#ifndef FC_DUMMY_MAIN_EQ_F77
# ifdef __cplusplus
extern "C"
# endif
int FC_DUMMY_MAIN() { return 1; }
#endif
#endif
int
main ()
{
return MPI_Init ();
;
return 0;
}
configure:7511: result: no configure:7519: checking for MPI_Init in -lmpi configure:7552: -o conftest conftest.c -lmpi >&5 ./configure: line 1987: -o: command not found configure:7552: $? = 127 configure: failed program was: / confdefs.h / #define PACKAGE_NAME "hypre" #define PACKAGE_TARNAME "hypre" #define PACKAGE_VERSION "2.27.0" #define PACKAGE_STRING "hypre 2.27.0" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" #define HYPRE_RELEASE_NAME "hypre" #define HYPRE_RELEASE_VERSION "2.27.0" #define HYPRE_RELEASE_NUMBER 22700 #define HYPRE_RELEASE_DATE "2022/12/20" #define HYPRE_RELEASE_TIME "00:00:00" #define HYPRE_RELEASE_BUGS "https://github.com/hypre-space/hypre/issues" #define HYPRE_MAXDIM 3 #define HYPRE_FMANGLE 0 #define HYPRE_FMANGLE_BLAS 0 #define HYPRE_FMANGLE_LAPACK 0 / end confdefs.h. /
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
#ifdef __cplusplus
extern "C"
#endif
char MPI_Init ();
#ifdef FC_DUMMY_MAIN
#ifndef FC_DUMMY_MAIN_EQ_F77
# ifdef __cplusplus
extern "C"
# endif
int FC_DUMMY_MAIN() { return 1; }
#endif
#endif
int
main ()
{
return MPI_Init ();
;
return 0;
}
configure:7561: result: no configure:7570: checking for MPI_Init in -lmpich configure:7603: -o conftest conftest.c -lmpich >&5 ./configure: line 1987: -o: command not found configure:7603: $? = 127 configure: failed program was: / confdefs.h / #define PACKAGE_NAME "hypre" #define PACKAGE_TARNAME "hypre" #define PACKAGE_VERSION "2.27.0" #define PACKAGE_STRING "hypre 2.27.0" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" #define HYPRE_RELEASE_NAME "hypre" #define HYPRE_RELEASE_VERSION "2.27.0" #define HYPRE_RELEASE_NUMBER 22700 #define HYPRE_RELEASE_DATE "2022/12/20" #define HYPRE_RELEASE_TIME "00:00:00" #define HYPRE_RELEASE_BUGS "https://github.com/hypre-space/hypre/issues" #define HYPRE_MAXDIM 3 #define HYPRE_FMANGLE 0 #define HYPRE_FMANGLE_BLAS 0 #define HYPRE_FMANGLE_LAPACK 0 / end confdefs.h. /
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
#ifdef __cplusplus
extern "C"
#endif
char MPI_Init ();
#ifdef FC_DUMMY_MAIN
#ifndef FC_DUMMY_MAIN_EQ_F77
# ifdef __cplusplus
extern "C"
# endif
int FC_DUMMY_MAIN() { return 1; }
#endif
#endif
int
main ()
{
return MPI_Init ();
;
return 0;
}
configure:7612: result: no configure:7669: checking for MPI_Comm_f2c configure:7669: -o conftest conftest.c >&5 ./configure: line 1987: -o: command not found configure:7669: $? = 127 configure: failed program was: / confdefs.h / #define PACKAGE_NAME "hypre" #define PACKAGE_TARNAME "hypre" #define PACKAGE_VERSION "2.27.0" #define PACKAGE_STRING "hypre 2.27.0" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" #define HYPRE_RELEASE_NAME "hypre" #define HYPRE_RELEASE_VERSION "2.27.0" #define HYPRE_RELEASE_NUMBER 22700 #define HYPRE_RELEASE_DATE "2022/12/20" #define HYPRE_RELEASE_TIME "00:00:00" #define HYPRE_RELEASE_BUGS "https://github.com/hypre-space/hypre/issues" #define HYPRE_MAXDIM 3 #define HYPRE_FMANGLE 0 #define HYPRE_FMANGLE_BLAS 0 #define HYPRE_FMANGLE_LAPACK 0 / end confdefs.h. / /* Define MPI_Comm_f2c to an innocuous variant, in case declares MPI_Comm_f2c. For example, HP-UX 11i declares gettimeofday. */ #define MPI_Comm_f2c innocuous_MPI_Comm_f2c
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char MPI_Comm_f2c (); below.
Prefer to if STDC is defined, since
exists even on freestanding compilers. */
#ifdef STDC
# include
#else
# include
#endif
#undef MPI_Comm_f2c
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
#ifdef __cplusplus
extern "C"
#endif
char MPI_Comm_f2c ();
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined __stub_MPI_Comm_f2c defined __stub___MPI_Comm_f2c
choke me
#endif
#ifdef FC_DUMMY_MAIN
#ifndef FC_DUMMY_MAIN_EQ_F77
# ifdef __cplusplus
extern "C"
# endif
int FC_DUMMY_MAIN() { return 1; }
#endif
#endif
int
main ()
{
return MPI_Comm_f2c ();
;
return 0;
}
configure:7669: result: no configure:7683: checking how to run the C preprocessor configure:7714: -E conftest.c ./configure: line 2107: -E: command not found configure:7714: $? = 127 configure: failed program was: / confdefs.h / #define PACKAGE_NAME "hypre" #define PACKAGE_TARNAME "hypre" #define PACKAGE_VERSION "2.27.0" #define PACKAGE_STRING "hypre 2.27.0" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" #define HYPRE_RELEASE_NAME "hypre" #define HYPRE_RELEASE_VERSION "2.27.0" #define HYPRE_RELEASE_NUMBER 22700 #define HYPRE_RELEASE_DATE "2022/12/20" #define HYPRE_RELEASE_TIME "00:00:00" #define HYPRE_RELEASE_BUGS "https://github.com/hypre-space/hypre/issues" #define HYPRE_MAXDIM 3 #define HYPRE_FMANGLE 0 #define HYPRE_FMANGLE_BLAS 0 #define HYPRE_FMANGLE_LAPACK 0 / end confdefs.h. / #ifdef STDC # include #else # include #endif Syntax error configure:7714: -E conftest.c ./configure: line 2107: -E: command not found configure:7714: $? = 127 configure: failed program was: / confdefs.h / #define PACKAGE_NAME "hypre" #define PACKAGE_TARNAME "hypre" #define PACKAGE_VERSION "2.27.0" #define PACKAGE_STRING "hypre 2.27.0" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" #define HYPRE_RELEASE_NAME "hypre" #define HYPRE_RELEASE_VERSION "2.27.0" #define HYPRE_RELEASE_NUMBER 22700 #define HYPRE_RELEASE_DATE "2022/12/20" #define HYPRE_RELEASE_TIME "00:00:00" #define HYPRE_RELEASE_BUGS "https://github.com/hypre-space/hypre/issues" #define HYPRE_MAXDIM 3 #define HYPRE_FMANGLE 0 #define HYPRE_FMANGLE_BLAS 0 #define HYPRE_FMANGLE_LAPACK 0 / end confdefs.h. / #ifdef STDC # include #else # include #endif Syntax error configure:7714: -E -traditional-cpp conftest.c ./configure: line 2107: -E: command not found configure:7714: $? = 127 configure: failed program was: / confdefs.h / #define PACKAGE_NAME "hypre" #define PACKAGE_TARNAME "hypre" #define PACKAGE_VERSION "2.27.0" #define PACKAGE_STRING "hypre 2.27.0" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" #define HYPRE_RELEASE_NAME "hypre" #define HYPRE_RELEASE_VERSION "2.27.0" #define HYPRE_RELEASE_NUMBER 22700 #define HYPRE_RELEASE_DATE "2022/12/20" #define HYPRE_RELEASE_TIME "00:00:00" #define HYPRE_RELEASE_BUGS "https://github.com/hypre-space/hypre/issues" #define HYPRE_MAXDIM 3 #define HYPRE_FMANGLE 0 #define HYPRE_FMANGLE_BLAS 0 #define HYPRE_FMANGLE_LAPACK 0 / end confdefs.h. / #ifdef STDC # include #else # include #endif Syntax error configure:7714: -E -traditional-cpp conftest.c ./configure: line 2107: -E: command not found configure:7714: $? = 127 configure: failed program was: / confdefs.h / #define PACKAGE_NAME "hypre" #define PACKAGE_TARNAME "hypre" #define PACKAGE_VERSION "2.27.0" #define PACKAGE_STRING "hypre 2.27.0" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" #define HYPRE_RELEASE_NAME "hypre" #define HYPRE_RELEASE_VERSION "2.27.0" #define HYPRE_RELEASE_NUMBER 22700 #define HYPRE_RELEASE_DATE "2022/12/20" #define HYPRE_RELEASE_TIME "00:00:00" #define HYPRE_RELEASE_BUGS "https://github.com/hypre-space/hypre/issues" #define HYPRE_MAXDIM 3 #define HYPRE_FMANGLE 0 #define HYPRE_FMANGLE_BLAS 0 #define HYPRE_FMANGLE_LAPACK 0 / end confdefs.h. / #ifdef STDC # include #else # include #endif Syntax error configure:7714: /lib/cpp conftest.c configure:7714: $? = 0 configure:7728: /lib/cpp conftest.c conftest.c:19:10: fatal error: ac_nonexistent.h: No such file or directory 19 #include ^~~~~~ compilation terminated. configure:7728: $? = 1 configure: failed program was: / confdefs.h / #define PACKAGE_NAME "hypre" #define PACKAGE_TARNAME "hypre" #define PACKAGE_VERSION "2.27.0" #define PACKAGE_STRING "hypre 2.27.0" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" #define HYPRE_RELEASE_NAME "hypre" #define HYPRE_RELEASE_VERSION "2.27.0" #define HYPRE_RELEASE_NUMBER 22700 #define HYPRE_RELEASE_DATE "2022/12/20" #define HYPRE_RELEASE_TIME "00:00:00" #define HYPRE_RELEASE_BUGS "https://github.com/hypre-space/hypre/issues" #define HYPRE_MAXDIM 3 #define HYPRE_FMANGLE 0 #define HYPRE_FMANGLE_BLAS 0 #define HYPRE_FMANGLE_LAPACK 0 / end confdefs.h. / #include configure:7753: result: /lib/cpp configure:7773: /lib/cpp conftest.c configure:7773: $? = 0 configure:7787: /lib/cpp conftest.c conftest.c:19:10: fatal error: ac_nonexistent.h: No such file or directory 19 #include ^~~~~~ compilation terminated. configure:7787: $? = 1 configure: failed program was: / confdefs.h / #define PACKAGE_NAME "hypre" #define PACKAGE_TARNAME "hypre" #define PACKAGE_VERSION "2.27.0" #define PACKAGE_STRING "hypre 2.27.0" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" #define HYPRE_RELEASE_NAME "hypre" #define HYPRE_RELEASE_VERSION "2.27.0" #define HYPRE_RELEASE_NUMBER 22700 #define HYPRE_RELEASE_DATE "2022/12/20" #define HYPRE_RELEASE_TIME "00:00:00" #define HYPRE_RELEASE_BUGS "https://github.com/hypre-space/hypre/issues" #define HYPRE_MAXDIM 3 #define HYPRE_FMANGLE 0 #define HYPRE_FMANGLE_BLAS 0 #define HYPRE_FMANGLE_LAPACK 0 / end confdefs.h. / #include configure:7816: checking for grep that handles long lines and -e configure:7874: result: /usr/bin/grep configure:7879: checking for egrep configure:7941: result: /usr/bin/grep -E configure:7946: checking whether MPI_Comm_f2c is a macro conftest.c:20:10: fatal error: mpi.h: No such file or directory 20 #include ^~~ compilation terminated. configure:7968: result: no configure:8770: checking for cabs in -lm configure:8803: -o conftest -O conftest.c -lm >&5 ./configure: line 1987: -o: command not found configure:8803: $? = 127 configure: failed program was: / confdefs.h / #define PACKAGE_NAME "hypre" #define PACKAGE_TARNAME "hypre" #define PACKAGE_VERSION "2.27.0" #define PACKAGE_STRING "hypre 2.27.0" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" #define HYPRE_RELEASE_NAME "hypre" #define HYPRE_RELEASE_VERSION "2.27.0" #define HYPRE_RELEASE_NUMBER 22700 #define HYPRE_RELEASE_DATE "2022/12/20" #define HYPRE_RELEASE_TIME "00:00:00" #define HYPRE_RELEASE_BUGS "https://github.com/hypre-space/hypre/issues" #define HYPRE_MAXDIM 3 #define HYPRE_FMANGLE 0 #define HYPRE_FMANGLE_BLAS 0 #define HYPRE_FMANGLE_LAPACK 0 #define HYPRE_USING_HYPRE_BLAS 1 #define HYPRE_USING_HYPRE_LAPACK 1 / end confdefs.h. /
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
#ifdef __cplusplus
extern "C"
#endif
char cabs ();
#ifdef FC_DUMMY_MAIN
#ifndef FC_DUMMY_MAIN_EQ_F77
# ifdef __cplusplus
extern "C"
# endif
int FC_DUMMY_MAIN() { return 1; }
#endif
#endif
int
main ()
{
return cabs ();
;
return 0;
}

configure:8812: result: no configure:9952: checking the hostname configure:9963: result: mesoscale configure:9967: checking the architecture configure:9998: result: LINUX configure:10273: creating ./config.status

----------------------

Running config.status.

----------------------

This file was extended by hypre config.status 2.27.0, which was generated by GNU Autoconf 2.69. Invocation command line was

CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status

on mesoscale

config.status:894: creating config/Makefile.config config.status:894: creating HYPRE_config.h

----------------

Cache variables.

----------------

ac_cv_build=x86_64-pc-linux-gnu ac_cv_env_CCC_set= ac_cv_env_CCC_value= ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_CUCC_set= ac_cv_env_CUCC_value= ac_cv_env_CUDA_HOME_set= ac_cv_env_CUDA_HOME_value= ac_cv_env_CUFLAGS_set= ac_cv_env_CUFLAGS_value= ac_cv_env_CXXFLAGS_set= ac_cv_env_CXXFLAGS_value= ac_cv_env_CXX_set= ac_cv_env_CXX_value= ac_cv_env_FCFLAGS_set= ac_cv_env_FCFLAGS_value= ac_cv_env_FC_set= ac_cv_env_FC_value= ac_cv_env_HYPRE_CUDA_SM_set= ac_cv_env_HYPRE_CUDA_SM_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_func_MPI_Comm_f2c=no ac_cv_func_MPI_Init=no ac_cv_host=x86_64-pc-linux-gnu ac_cv_lib_m_cabs=no ac_cv_lib_mpi_MPI_Init=no ac_cv_lib_mpich_MPI_Init=no ac_cv_path_EGREP='/usr/bin/grep -E' ac_cv_path_GREP=/usr/bin/grep ac_cv_prog_CPP=/lib/cpp ac_cv_prog_ac_ct_RANLIB=ranlib ac_cv_prog_make_make_set=yes hypre_cv_func_MPI_Comm_f2c_macro=no

-----------------

Output variables.

-----------------

AR='ar -rcu' BLASLIBDIRS='' BLASLIBS='' BUILD_CC_SHARED='' BUILD_CXX_SHARED='' BUILD_FC_SHARED='' BUILD_JAVA='0' BUILD_PYTHON='0' CALIPER_INCLUDE='' CALIPER_LIBS='' CC='' CFLAGS='-O ' CPP='/lib/cpp' CPPFLAGS='' CUCC='' CUDA_HOME='' CUFLAGS=' ' CXX='' CXXFLAGS='-O ' DEFS='-DHAVE_CONFIG_H' DSUPERLU_INCLUDE='' DSUPERLU_LIBS='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/usr/bin/grep -E' EXEEXT='' FC='' FCFLAGS='' FCLIBS='' FFLAGS='-O' FLIBS='' GREP='/usr/bin/grep' HOSTNAME='mesoscale' HYPRE_ARCH='LINUX' HYPRE_BUGS='https://github.com/hypre-space/hypre/issues' HYPRE_CUDA_GENCODE='' HYPRE_CUDA_INCLUDE='' HYPRE_CUDA_LIBS='' HYPRE_CUDA_PATH='' HYPRE_CUDA_SM='' HYPRE_DATE='2022/12/20' HYPRE_DISTRIBUTED_LS_DIR='/home/esfoster/opt/hypre-master/src/distributed_ls' HYPRE_EUCLID_FILES='/home/esfoster/opt/hypre-master/src/distributed_ls/Euclid/.o' HYPRE_FEI_BASE_DIR='' HYPRE_FEI_FEMLI_FILES='' HYPRE_FEI_HYPRE_FILES='' HYPRE_FEI_SRC_DIR='' HYPRE_FEI_SUBDIRS='' HYPRE_HIP_INCL='' HYPRE_HIP_LIBS='' HYPRE_INCINSTALL='${prefix}/include' HYPRE_INSTALLDIR='/home/esfoster/opt/hypre' HYPRE_KOKKOS_INCLUDE='' HYPRE_KOKKOS_LIB='' HYPRE_KOKKOS_LIB_DIR='' HYPRE_KOKKOS_SRC_DIR='' HYPRE_LIBINSTALL='${exec_prefix}/lib' HYPRE_LIBSUFFIX='.a' HYPRE_NAME='hypre' HYPRE_NAP_INCLUDE='' HYPRE_NUMBER='22700' HYPRE_PARASAILS_FILES='/home/esfoster/opt/hypre-master/src/distributed_ls/ParaSails/.o' HYPRE_PILUT_FILES='/home/esfoster/opt/hypre-master/src/distributed_ls/pilut/*.o' HYPRE_RAJA_INCLUDE='' HYPRE_RAJA_LIB='' HYPRE_RAJA_LIB_DIR='' HYPRE_ROCM_PREFIX='' HYPRE_SRCDIR='/home/esfoster/opt/hypre-master/src' HYPRE_SYCL_INCL='' HYPRE_SYCL_LIBS='' HYPRE_TIME='00:00:00' HYPRE_UMPIRE_INCLUDE='' HYPRE_UMPIRE_LIB='' HYPRE_UMPIRE_LIB_DIR='' HYPRE_VERSION='2.27.0' LAPACKLIBDIRS='' LAPACKLIBS='' LDFLAGS='' LIBOBJS='' LIBS='' LINK_CC='${CC}' LINK_CXX='${CXX}' LINK_FC='${FC}' LTLIBOBJS='' MPIFLAGS='' MPIINCLUDE='' MPILIBDIRS='' MPILIBS='' OBJEXT='' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_URL='' PACKAGE_VERSION='' PATH_SEPARATOR=':' PYTHON='' RANLIB='ranlib' SET_MAKE='' SHARED_BUILD_FLAG='' SHARED_COMPILE_FLAG='' SHARED_OPTIONS='' SHARED_SET_SONAME='' SHELL='/bin/bash' SUPERLU_INCLUDE='' SUPERLU_LIBS='' ac_ct_CC='' ac_ct_CXX='' ac_ct_FC='' bindir='${exec_prefix}/bin' build='x86_64-pc-linux-gnu' build_alias='' build_cpu='x86_64' build_os='linux-gnu' build_vendor='pc' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='${prefix}' host='x86_64-pc-linux-gnu' host_alias='' host_cpu='x86_64' host_os='linux-gnu' host_vendor='pc' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/home/esfoster/opt/hypre' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias=''

-----------

confdefs.h.

-----------

/ confdefs.h /

define PACKAGE_NAME "hypre"

define PACKAGE_TARNAME "hypre"

define PACKAGE_VERSION "2.27.0"

define PACKAGE_STRING "hypre 2.27.0"

define PACKAGE_BUGREPORT ""

define PACKAGE_URL ""

define HYPRE_RELEASE_NAME "hypre"

define HYPRE_RELEASE_VERSION "2.27.0"

define HYPRE_RELEASE_NUMBER 22700

define HYPRE_RELEASE_DATE "2022/12/20"

define HYPRE_RELEASE_TIME "00:00:00"

define HYPRE_RELEASE_BUGS "https://github.com/hypre-space/hypre/issues"

define HYPRE_MAXDIM 3

define HYPRE_FMANGLE 0

define HYPRE_FMANGLE_BLAS 0

define HYPRE_FMANGLE_LAPACK 0

define HYPRE_USING_HYPRE_BLAS 1

define HYPRE_USING_HYPRE_LAPACK 1

define HYPRE_USING_HOST_MEMORY 1

define HYPRE_LINUX 1

configure: exit 0

victorapm commented 1 year ago

Hi @EmilySusanFoster, thanks for your interest in using hypre!

The error messages indicate that configure wasn't able to find a proper compiler. Please check if you have gcc or another C compiler such as icc or clang installed correctly. Also, you will need a MPI compiler wrapper for distributed parallel runs with hypre. Common MPI packages are Open MPI and mpich

EmilySusanFoster commented 1 year ago

Hey @victorapm I do have gcc installed and it is working. I also have an MPI wrapper, Open MPI.

my outputs from which gcc usr/bin/gcc

and my MPI wrapper, which mpicc (everything else for MPI is in this path) /home/esfoster/opt/intel/mpi/2021.8.0//bin/mpicc

When I configure with sudo: esfoster@mesoscale:~/opt/hypre-master/src$ sudo ./configure --prefix=/home/esfoster/opt/hypre configure: NOTE: Could not find .git directory checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for mpxlc... no checking for mpixlc... no checking for mpiicc... no checking for mpiicx... no checking for mpigcc... no checking for mpicc... no checking for mpipgcc... no checking for mpipgicc... no checking for mpxlC... no checking for mpixlcxx... no checking for mpixlC... no checking for mpiicpc... no checking for mpiicpx... no checking for mpig++... no checking for mpic++... no checking for mpicxx... no checking for mpiCC... no checking for mpipgCC... no checking for mpipgic++... no checking for mpxlf... no checking for mpixlf77... no checking for mpiifort... no checking for mpiifx... no checking for mpif77... no checking for mpipgf77... no checking for mpipgifort... no checking whether make sets $(MAKE)... yes checking for ranlib... ranlib checking for MPI_Init... no checking for MPI_Init in -lmpi... no checking for MPI_Init in -lmpich... no checking for MPI_Comm_f2c... no checking how to run the C preprocessor... /lib/cpp checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking whether MPI_Comm_f2c is a macro... no checking for cabs in -lm... no checking the hostname... mesoscale checking the architecture... LINUX configure: creating ./config.status config.status: creating config/Makefile.config config.status: creating HYPRE_config.h esfoster@mesoscale:~/opt/hypre-master/src$

victorapm commented 1 year ago

@EmilySusanFoster, I lost track on this, sorry!

Has your issue been resolved?

victorapm commented 1 year ago

Closing this issue due to inactivity. Please, feel free to reopen if necessary