Closed EmilySusanFoster closed 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
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$
@EmilySusanFoster, I lost track on this, sorry!
Has your issue been resolved?
Closing this issue due to inactivity. Please, feel free to reopen if necessary
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.
-----------
~~~~~ compilation terminated. configure:7728: $? = 1 configure: failed program was:~~~~~ compilation terminated. configure:7787: $? = 1 configure: failed program was:~~ 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: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