hypre-space / hypre

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

Issue while install Hypre library. #169

Closed nghiakvnvsd closed 4 years ago

nghiakvnvsd commented 4 years ago

Hello everyone! I'm a newbie using Hypre library. I have some problems when I install the library like: ~> tar -zxvf hypre-2.19.0.tar.gz ~> cd hypre-2.19.0/src/ ~/hypre-2.19.0/src> ./configure --disable-fortran ~/hypre-2.19.0/src> make -j ~/hypre-2.19.0/src> cd ../.. ~> ln -s hypre-2.19.0 hypre

When I run make -j, it reports:

Making blas ... make[1]: Entering directory '/home/ubuntu/Downloads/hypre-2.19.0/src/blas' O -DHAVE_CONFIG_H -I.. -I../utilities -c dasum.c O -DHAVE_CONFIG_H -I.. -I../utilities -c daxpy.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'dasum.o' failed make[1]: [dasum.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../utilities -c dcopy.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'daxpy.o' failed make[1]: [daxpy.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../utilities -c ddot.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'dcopy.o' failed make[1]: [dcopy.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../utilities -c dgemm.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'ddot.o' failed make[1]: [ddot.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../utilities -c dgemv.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'dgemm.o' failed make[1]: [dgemm.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../utilities -c dger.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'dgemv.o' failed make[1]: [dgemv.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../utilities -c dnrm2.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'dger.o' failed make[1]: [dger.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../utilities -c drot.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'dnrm2.o' failed make[1]: [dnrm2.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../utilities -c dscal.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'drot.o' failed make[1]: [drot.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../utilities -c dswap.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'dscal.o' failed make[1]: [dscal.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../utilities -c dsymm.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'dswap.o' failed make[1]: [dswap.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../utilities -c dsymv.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'dsymm.o' failed make[1]: [dsymm.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../utilities -c dsyr2.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'dsymv.o' failed make[1]: [dsymv.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../utilities -c dsyr2k.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'dsyr2.o' failed make[1]: [dsyr2.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../utilities -c dsyrk.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'dsyr2k.o' failed make[1]: [dsyr2k.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../utilities -c dtrmm.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'dsyrk.o' failed make[1]: [dsyrk.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../utilities -c dtrmv.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'dtrmm.o' failed make[1]: [dtrmm.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../utilities -c dtrsm.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'dtrmv.o' failed make[1]: [dtrmv.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../utilities -c dtrsv.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'dtrsm.o' failed make[1]: [dtrsm.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../utilities -c f2c.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'dtrsv.o' failed make[1]: [dtrsv.o] Error 127 (ignored) make[1]: O: Command not found O -DHAVE_CONFIG_H -I.. -I../utilities -c idamax.c ../config/Makefile.config:42: recipe for target 'f2c.o' failed make[1]: [f2c.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../utilities -c lsame.c make[1]: O: Command not found O -DHAVE_CONFIG_H -I.. -I../utilities -c xerbla.c ../config/Makefile.config:42: recipe for target 'idamax.o' failed make[1]: [idamax.o] Error 127 (ignored) make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'lsame.o' failed make[1]: [lsame.o] Error 127 (ignored) make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'xerbla.o' failed make[1]: [xerbla.o] Error 127 (ignored) make[1]: Leaving directory '/home/ubuntu/Downloads/hypre-2.19.0/src/blas'

Making lapack ... make[1]: Entering directory '/home/ubuntu/Downloads/hypre-2.19.0/src/lapack' O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dbdsqr.c make[1]: O: Command not found O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dgebd2.c ../config/Makefile.config:42: recipe for target 'dbdsqr.o' failed make[1]: [dbdsqr.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dgebrd.c make[1]: O: Command not found O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dgelq2.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'dgebd2.o' failed make[1]: [dgebd2.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dgelqf.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'dgebrd.o' failed make[1]: [dgebrd.o] Error 127 (ignored) ../config/Makefile.config:42: recipe for target 'dgelq2.o' failed make[1]: [dgelq2.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dgels.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'dgelqf.o' failed make[1]: [dgelqf.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dgeqr2.c make[1]: O: Command not found O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dgeqrf.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'dgels.o' failed make[1]: [dgels.o] Error 127 (ignored) ../config/Makefile.config:42: recipe for target 'dgeqr2.o' failed make[1]: [dgeqr2.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dgesvd.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'dgeqrf.o' failed make[1]: [dgeqrf.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dgetrf.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'dgesvd.o' failed make[1]: [dgesvd.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dgetri.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'dgetrf.o' failed make[1]: [dgetrf.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dgetrs.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'dgetri.o' failed make[1]: [dgetri.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dgetf2.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'dgetrs.o' failed make[1]: [dgetrs.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dlabad.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'dgetf2.o' failed make[1]: [dgetf2.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dlabrd.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'dlabad.o' failed make[1]: [dlabad.o] Error 127 (ignored) make[1]: O: Command not found O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dlacpy.c ../config/Makefile.config:42: recipe for target 'dlabrd.o' failed make[1]: [dlabrd.o] Error 127 (ignored) make[1]: O: Command not found O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dlae2.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'dlacpy.o' failed make[1]: [dlacpy.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dlaev2.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'dlae2.o' failed make[1]: [dlae2.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dlange.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'dlaev2.o' failed make[1]: [dlaev2.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dlanst.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'dlange.o' failed make[1]: [dlange.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dlansy.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'dlanst.o' failed make[1]: [dlanst.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dlapy2.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'dlansy.o' failed make[1]: [dlansy.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dlarfb.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'dlapy2.o' failed make[1]: [dlapy2.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dlarf.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'dlarfb.o' failed make[1]: [dlarfb.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dlarfg.c ../config/Makefile.config:42: recipe for target 'dlarf.o' failed make[1]: O: Command not found make[1]: [dlarf.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dlarft.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'dlarfg.o' failed make[1]: [dlarfg.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dlartg.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'dlarft.o' failed make[1]: [dlarft.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dlas2.c ../config/Makefile.config:42: recipe for target 'dlartg.o' failed make[1]: O: Command not found make[1]: [dlartg.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dlascl.c ../config/Makefile.config:42: recipe for target 'dlas2.o' failed make[1]: O: Command not found make[1]: [dlas2.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dlaset.c ../config/Makefile.config:42: recipe for target 'dlascl.o' failed make[1]: O: Command not found make[1]: [dlascl.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dlasq1.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'dlaset.o' failed make[1]: [dlaset.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dlasq2.c ../config/Makefile.config:42: recipe for target 'dlasq1.o' failed make[1]: [dlasq1.o] Error 127 (ignored) make[1]: O: Command not found O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dlasq3.c ../config/Makefile.config:42: recipe for target 'dlasq2.o' failed make[1]: O: Command not found make[1]: [dlasq2.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dlasq4.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'dlasq3.o' failed make[1]: [dlasq3.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dlasq5.c ../config/Makefile.config:42: recipe for target 'dlasq4.o' failed make[1]: O: Command not found make[1]: [dlasq4.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dlasq6.c ../config/Makefile.config:42: recipe for target 'dlasq5.o' failed make[1]: [dlasq5.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dlasr.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'dlasq6.o' failed make[1]: [dlasq6.o] Error 127 (ignored) make[1]: O: Command not found O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dlasrt.c ../config/Makefile.config:42: recipe for target 'dlasr.o' failed make[1]: [dlasr.o] Error 127 (ignored) make[1]: O: Command not found O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dlassq.c ../config/Makefile.config:42: recipe for target 'dlasrt.o' failed make[1]: [dlasrt.o] Error 127 (ignored) make[1]: O: Command not found O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dlaswp.c ../config/Makefile.config:42: recipe for target 'dlassq.o' failed make[1]: O: Command not found make[1]: [dlassq.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dlasv2.c ../config/Makefile.config:42: recipe for target 'dlaswp.o' failed make[1]: [dlaswp.o] Error 127 (ignored) make[1]: O: Command not found O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dlatrd.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'dlasv2.o' failed make[1]: [dlasv2.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dorg2l.c ../config/Makefile.config:42: recipe for target 'dlatrd.o' failed make[1]: [dlatrd.o] Error 127 (ignored) make[1]: O: Command not found O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dorg2r.c ../config/Makefile.config:42: recipe for target 'dorg2l.o' failed make[1]: O: Command not found make[1]: [dorg2l.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dorgbr.c ../config/Makefile.config:42: recipe for target 'dorg2r.o' failed make[1]: O: Command not found make[1]: [dorg2r.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dorgl2.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'dorgbr.o' failed make[1]: [dorgbr.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dorglq.c ../config/Makefile.config:42: recipe for target 'dorgl2.o' failed make[1]: O: Command not found make[1]: [dorgl2.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dorgql.c ../config/Makefile.config:42: recipe for target 'dorglq.o' failed make[1]: O: Command not found make[1]: [dorglq.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dorgqr.c ../config/Makefile.config:42: recipe for target 'dorgql.o' failed make[1]: [dorgql.o] Error 127 (ignored) make[1]: O: Command not found O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dorgtr.c ../config/Makefile.config:42: recipe for target 'dorgqr.o' failed make[1]: [dorgqr.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dorm2r.c make[1]: O: Command not found O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dormbr.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'dorgtr.o' failed make[1]: [dorgtr.o] Error 127 (ignored) ../config/Makefile.config:42: recipe for target 'dorm2r.o' failed make[1]: [dorm2r.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dorml2.c make[1]: O: Command not found O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dormlq.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'dormbr.o' failed make[1]: [dormbr.o] Error 127 (ignored) ../config/Makefile.config:42: recipe for target 'dorml2.o' failed make[1]: [dorml2.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dormqr.c make[1]: O: Command not found O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dpotf2.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'dormlq.o' failed make[1]: [dormlq.o] Error 127 (ignored) ../config/Makefile.config:42: recipe for target 'dormqr.o' failed make[1]: [dormqr.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dpotrf.c make[1]: O: Command not found O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dpotrs.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'dpotf2.o' failed make[1]: [dpotf2.o] Error 127 (ignored) ../config/Makefile.config:42: recipe for target 'dpotrf.o' failed make[1]: [dpotrf.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dsteqr.c make[1]: O: Command not found O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dsterf.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'dpotrs.o' failed make[1]: [dpotrs.o] Error 127 (ignored) ../config/Makefile.config:42: recipe for target 'dsteqr.o' failed make[1]: [dsteqr.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dsyev.c make[1]: O: Command not found O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dsygs2.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'dsterf.o' failed make[1]: [dsterf.o] Error 127 (ignored) ../config/Makefile.config:42: recipe for target 'dsyev.o' failed make[1]: [dsyev.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dsygst.c make[1]: O: Command not found O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dsygv.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'dsygs2.o' failed make[1]: [dsygs2.o] Error 127 (ignored) ../config/Makefile.config:42: recipe for target 'dsygst.o' failed make[1]: [dsygst.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dsytd2.c make[1]: O: Command not found O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dsytrd.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'dsygv.o' failed make[1]: [dsygv.o] Error 127 (ignored) ../config/Makefile.config:42: recipe for target 'dsytd2.o' failed make[1]: [dsytd2.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dtrtri.c make[1]: O: Command not found O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dtrti2.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'dsytrd.o' failed make[1]: [dsytrd.o] Error 127 (ignored) ../config/Makefile.config:42: recipe for target 'dtrtri.o' failed make[1]: [dtrtri.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c ieeeck.c make[1]: O: Command not found O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c ilaenv.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'dtrti2.o' failed make[1]: [dtrti2.o] Error 127 (ignored) ../config/Makefile.config:42: recipe for target 'ieeeck.o' failed make[1]: [ieeeck.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c lsame.c make[1]: O: Command not found O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c xerbla.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'ilaenv.o' failed make[1]: [ilaenv.o] Error 127 (ignored) ../config/Makefile.config:42: recipe for target 'lsame.o' failed make[1]: [lsame.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I../blas -I../utilities -c dlamch.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'xerbla.o' failed make[1]: [xerbla.o] Error 127 (ignored) make[1]: O: Command not found Makefile:109: recipe for target 'dlamch.o' failed make[1]: [dlamch.o] Error 127 (ignored) make[1]: Leaving directory '/home/ubuntu/Downloads/hypre-2.19.0/src/lapack'

Making utilities ... make[1]: Entering directory '/home/ubuntu/Downloads/hypre-2.19.0/src/utilities' O -DHAVE_CONFIG_H -I.. -I./.. -I. -c F90_HYPRE_error.c O -DHAVE_CONFIG_H -I.. -I./.. -I. -c F90_HYPRE_general.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'F90_HYPRE_error.o' failed make[1]: [F90_HYPRE_error.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I./.. -I. -c HYPRE_version.c make[1]: O: Command not found O -DHAVE_CONFIG_H -I.. -I./.. -I. -c amg_linklist.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'F90_HYPRE_general.o' failed make[1]: [F90_HYPRE_general.o] Error 127 (ignored) ../config/Makefile.config:42: recipe for target 'HYPRE_version.o' failed make[1]: [HYPRE_version.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I./.. -I. -c binsearch.c make[1]: O: Command not found O -DHAVE_CONFIG_H -I.. -I./.. -I. -c exchange_data.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'amg_linklist.o' failed make[1]: [amg_linklist.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I./.. -I. -c fortran_matrix.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'binsearch.o' failed make[1]: [binsearch.o] Error 127 (ignored) ../config/Makefile.config:42: recipe for target 'exchange_data.o' failed make[1]: [exchange_data.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I./.. -I. -c hypre_ap.c make[1]: O: Command not found O -DHAVE_CONFIG_H -I.. -I./.. -I. -c hypre_complex.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'fortran_matrix.o' failed make[1]: [fortran_matrix.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I./.. -I. -c hypre_cuda_utils.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'hypre_ap.o' failed make[1]: [hypre_ap.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I./.. -I. -c hypre_error.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'hypre_complex.o' failed make[1]: [hypre_complex.o] Error 127 (ignored) ../config/Makefile.config:42: recipe for target 'hypre_cuda_utils.o' failed make[1]: [hypre_cuda_utils.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I./.. -I. -c hypre_general.c make[1]: O: Command not found O -DHAVE_CONFIG_H -I.. -I./.. -I. -c hypre_hopscotch_hash.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'hypre_error.o' failed make[1]: [hypre_error.o] Error 127 (ignored) make[1]: O: Command not found O -DHAVE_CONFIG_H -I.. -I./.. -I. -c hypre_memory.c ../config/Makefile.config:42: recipe for target 'hypre_general.o' failed make[1]: [hypre_general.o] Error 127 (ignored) ../config/Makefile.config:42: recipe for target 'hypre_hopscotch_hash.o' failed make[1]: [hypre_hopscotch_hash.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I./.. -I. -c hypre_merge_sort.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'hypre_memory.o' failed make[1]: [hypre_memory.o] Error 127 (ignored) make[1]: O: Command not found O -DHAVE_CONFIG_H -I.. -I./.. -I. -c hypre_mpi_comm_f2c.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'hypre_merge_sort.o' failed make[1]: [hypre_merge_sort.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I./.. -I. -c hypre_nvtx.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'hypre_mpi_comm_f2c.o' failed make[1]: [hypre_mpi_comm_f2c.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I./.. -I. -c hypre_omp_device.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'hypre_nvtx.o' failed make[1]: [hypre_nvtx.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I./.. -I. -c hypre_prefix_sum.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'hypre_omp_device.o' failed make[1]: [hypre_omp_device.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I./.. -I. -c hypre_printf.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'hypre_prefix_sum.o' failed make[1]: [hypre_prefix_sum.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I./.. -I. -c hypre_qsort.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'hypre_printf.o' failed make[1]: [hypre_printf.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I./.. -I. -c mpistubs.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'hypre_qsort.o' failed make[1]: [hypre_qsort.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I./.. -I. -c qsplit.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'mpistubs.o' failed make[1]: [mpistubs.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I./.. -I. -c random.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'qsplit.o' failed make[1]: [qsplit.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I./.. -I. -c threading.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'random.o' failed make[1]: [random.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I./.. -I. -c timer.c make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'threading.o' failed make[1]: [threading.o] Error 127 (ignored) O -DHAVE_CONFIG_H -I.. -I./.. -I. -c timing.c ../config/Makefile.config:42: recipe for target 'timer.o' failed make[1]: [timer.o] Error 127 (ignored) make[1]: O: Command not found ../config/Makefile.config:42: recipe for target 'timing.o' failed make[1]: [timing.o] Error 127 (ignored) Building libHYPRE_utilities.a ... ar -rcu libHYPRE_utilities.a .o ar: u' modifier ignored sinceD' is the default (see `U') ar: .o: No such file or directory Makefile:93: recipe for target 'libHYPRE_utilities.a' failed make[1]: [libHYPRE_utilities.a] Error 1 make[1]: Leaving directory '/home/ubuntu/Downloads/hypre-2.19.0/src/utilities' Makefile:86: recipe for target 'all' failed make: [all] Error 1

I have no idea about it. May you help me?

Thank you!

victorapm commented 4 years ago

Hi @nghiakvnvsd,

it looks like the configure script was not able to find a working compiler in your machine (you can look at src/config.log).

Best, Victor

nghiakvnvsd commented 4 years ago

Hi @nghiakvnvsd,

it looks like the configure script was not able to find a working compiler in your machine (you can look at src/config.log).

Best, Victor

Thanks for replying. How can I fix it?

src/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.19.0, which was generated by GNU Autoconf 2.69. Invocation command line was

$ ./configure

---------

Platform.

---------

hostname = ubuntu uname -m = x86_64 uname -r = 5.3.0-62-generic uname -s = Linux uname -v = #56~18.04.1-Ubuntu SMP Wed Jun 24 16:17:03 UTC 2020

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

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

PATH: /home/ubuntu/anaconda3/bin PATH: /home/ubuntu/anaconda3/condabin PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /usr/games PATH: /usr/local/games PATH: /snap/bin PATH: /usr/local/cuda/bin

-----------

Core tests.

-----------

configure:2675: checking build system type configure:2689: result: x86_64-pc-linux-gnu configure:2713: checking host system type configure:2726: result: x86_64-pc-linux-gnu configure:4178: checking for mpxlc configure:4208: result: no configure:4178: checking for mpixlc configure:4208: result: no configure:4178: checking for mpiicc configure:4208: result: no configure:4178: checking for mpigcc configure:4208: result: no configure:4178: checking for mpicc configure:4208: result: no configure:4178: checking for mpipgcc configure:4208: result: no configure:4178: checking for mpipgicc configure:4208: result: no configure:4459: checking for mpxlC configure:4489: result: no configure:4459: checking for mpixlcxx configure:4489: result: no configure:4459: checking for mpixlC configure:4489: result: no configure:4459: checking for mpiicpc configure:4489: result: no configure:4459: checking for mpig++ configure:4489: result: no configure:4459: checking for mpic++ configure:4489: result: no configure:4459: checking for mpicxx configure:4489: result: no configure:4459: checking for mpiCC configure:4489: result: no configure:4459: checking for mpipgCC configure:4489: result: no configure:4459: checking for mpipgic++ configure:4489: result: no configure:4648: checking for mpxlf configure:4678: result: no configure:4648: checking for mpixlf77 configure:4678: result: no configure:4648: checking for mpiifort configure:4678: result: no configure:4648: checking for mpif77 configure:4678: result: no configure:4648: checking for mpipgf77 configure:4678: result: no configure:4648: checking for mpipgifort configure:4678: result: no configure:4695: checking whether make sets $(MAKE) configure:4717: result: yes configure:4769: checking for ranlib configure:4785: found /usr/bin/ranlib configure:4796: result: ranlib configure:6782: checking for MPI_Init configure:6782: -o conftest conftest.c >&5 ./configure: line 1880: -o: command not found configure:6782: $? = 127 configure: failed program was: / confdefs.h / #define PACKAGE_NAME "hypre" #define PACKAGE_TARNAME "hypre" #define PACKAGE_VERSION "2.19.0" #define PACKAGE_STRING "hypre 2.19.0" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" #define HYPRE_RELEASE_NAME "hypre" #define HYPRE_RELEASE_VERSION "2.19.0" #define HYPRE_RELEASE_DATE "2020/05/26" #define HYPRE_RELEASE_TIME "00:00:00" #define HYPRE_RELEASE_BUGS "hypre-support@llnl.gov" #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:6782: result: no configure:6790: checking for MPI_Init in -lmpi configure:6823: -o conftest conftest.c -lmpi >&5 ./configure: line 1880: -o: command not found configure:6823: $? = 127 configure: failed program was: / confdefs.h / #define PACKAGE_NAME "hypre" #define PACKAGE_TARNAME "hypre" #define PACKAGE_VERSION "2.19.0" #define PACKAGE_STRING "hypre 2.19.0" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" #define HYPRE_RELEASE_NAME "hypre" #define HYPRE_RELEASE_VERSION "2.19.0" #define HYPRE_RELEASE_DATE "2020/05/26" #define HYPRE_RELEASE_TIME "00:00:00" #define HYPRE_RELEASE_BUGS "hypre-support@llnl.gov" #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:6832: result: no configure:6841: checking for MPI_Init in -lmpich configure:6874: -o conftest conftest.c -lmpich >&5 ./configure: line 1880: -o: command not found configure:6874: $? = 127 configure: failed program was: / confdefs.h / #define PACKAGE_NAME "hypre" #define PACKAGE_TARNAME "hypre" #define PACKAGE_VERSION "2.19.0" #define PACKAGE_STRING "hypre 2.19.0" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" #define HYPRE_RELEASE_NAME "hypre" #define HYPRE_RELEASE_VERSION "2.19.0" #define HYPRE_RELEASE_DATE "2020/05/26" #define HYPRE_RELEASE_TIME "00:00:00" #define HYPRE_RELEASE_BUGS "hypre-support@llnl.gov" #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:6883: result: no configure:6940: checking for MPI_Comm_f2c configure:6940: -o conftest conftest.c >&5 ./configure: line 1880: -o: command not found configure:6940: $? = 127 configure: failed program was: / confdefs.h / #define PACKAGE_NAME "hypre" #define PACKAGE_TARNAME "hypre" #define PACKAGE_VERSION "2.19.0" #define PACKAGE_STRING "hypre 2.19.0" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" #define HYPRE_RELEASE_NAME "hypre" #define HYPRE_RELEASE_VERSION "2.19.0" #define HYPRE_RELEASE_DATE "2020/05/26" #define HYPRE_RELEASE_TIME "00:00:00" #define HYPRE_RELEASE_BUGS "hypre-support@llnl.gov" #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:6940: result: no configure:6954: checking how to run the C preprocessor configure:6985: -E conftest.c ./configure: line 2000: -E: command not found configure:6985: $? = 127 configure: failed program was: | / confdefs.h / | #define PACKAGE_NAME "hypre" | #define PACKAGE_TARNAME "hypre" | #define PACKAGE_VERSION "2.19.0" | #define PACKAGE_STRING "hypre 2.19.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define HYPRE_RELEASE_NAME "hypre" | #define HYPRE_RELEASE_VERSION "2.19.0" | #define HYPRE_RELEASE_DATE "2020/05/26" | #define HYPRE_RELEASE_TIME "00:00:00" | #define HYPRE_RELEASE_BUGS "hypre-support@llnl.gov" | #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:6985: -E conftest.c ./configure: line 2000: -E: command not found configure:6985: $? = 127 configure: failed program was: | / confdefs.h / | #define PACKAGE_NAME "hypre" | #define PACKAGE_TARNAME "hypre" | #define PACKAGE_VERSION "2.19.0" | #define PACKAGE_STRING "hypre 2.19.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define HYPRE_RELEASE_NAME "hypre" | #define HYPRE_RELEASE_VERSION "2.19.0" | #define HYPRE_RELEASE_DATE "2020/05/26" | #define HYPRE_RELEASE_TIME "00:00:00" | #define HYPRE_RELEASE_BUGS "hypre-support@llnl.gov" | #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:6985: -E -traditional-cpp conftest.c ./configure: line 2000: -E: command not found configure:6985: $? = 127 configure: failed program was: | / confdefs.h / | #define PACKAGE_NAME "hypre" | #define PACKAGE_TARNAME "hypre" | #define PACKAGE_VERSION "2.19.0" | #define PACKAGE_STRING "hypre 2.19.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define HYPRE_RELEASE_NAME "hypre" | #define HYPRE_RELEASE_VERSION "2.19.0" | #define HYPRE_RELEASE_DATE "2020/05/26" | #define HYPRE_RELEASE_TIME "00:00:00" | #define HYPRE_RELEASE_BUGS "hypre-support@llnl.gov" | #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:6985: -E -traditional-cpp conftest.c ./configure: line 2000: -E: command not found configure:6985: $? = 127 configure: failed program was: | / confdefs.h / | #define PACKAGE_NAME "hypre" | #define PACKAGE_TARNAME "hypre" | #define PACKAGE_VERSION "2.19.0" | #define PACKAGE_STRING "hypre 2.19.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define HYPRE_RELEASE_NAME "hypre" | #define HYPRE_RELEASE_VERSION "2.19.0" | #define HYPRE_RELEASE_DATE "2020/05/26" | #define HYPRE_RELEASE_TIME "00:00:00" | #define HYPRE_RELEASE_BUGS "hypre-support@llnl.gov" | #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:6985: /lib/cpp conftest.c configure:6985: $? = 0 configure:6999: /lib/cpp conftest.c conftest.c:18:10: fatal error: ac_nonexistent.h: No such file or directory

include

      ^~~~~~~~~~~~~~~~~~

compilation terminated. configure:6999: $? = 1 configure: failed program was: | / confdefs.h / | #define PACKAGE_NAME "hypre" | #define PACKAGE_TARNAME "hypre" | #define PACKAGE_VERSION "2.19.0" | #define PACKAGE_STRING "hypre 2.19.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define HYPRE_RELEASE_NAME "hypre" | #define HYPRE_RELEASE_VERSION "2.19.0" | #define HYPRE_RELEASE_DATE "2020/05/26" | #define HYPRE_RELEASE_TIME "00:00:00" | #define HYPRE_RELEASE_BUGS "hypre-support@llnl.gov" | #define HYPRE_MAXDIM 3 | #define HYPRE_FMANGLE 0 | #define HYPRE_FMANGLE_BLAS 0 | #define HYPRE_FMANGLE_LAPACK 0 | / end confdefs.h. / | #include configure:7024: result: /lib/cpp configure:7044: /lib/cpp conftest.c configure:7044: $? = 0 configure:7058: /lib/cpp conftest.c conftest.c:18:10: fatal error: ac_nonexistent.h: No such file or directory

include

      ^~~~~~~~~~~~~~~~~~

compilation terminated. configure:7058: $? = 1 configure: failed program was: | / confdefs.h / | #define PACKAGE_NAME "hypre" | #define PACKAGE_TARNAME "hypre" | #define PACKAGE_VERSION "2.19.0" | #define PACKAGE_STRING "hypre 2.19.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define HYPRE_RELEASE_NAME "hypre" | #define HYPRE_RELEASE_VERSION "2.19.0" | #define HYPRE_RELEASE_DATE "2020/05/26" | #define HYPRE_RELEASE_TIME "00:00:00" | #define HYPRE_RELEASE_BUGS "hypre-support@llnl.gov" | #define HYPRE_MAXDIM 3 | #define HYPRE_FMANGLE 0 | #define HYPRE_FMANGLE_BLAS 0 | #define HYPRE_FMANGLE_LAPACK 0 | / end confdefs.h. / | #include configure:7087: checking for grep that handles long lines and -e configure:7145: result: /bin/grep configure:7150: checking for egrep configure:7212: result: /bin/grep -E configure:7217: checking whether MPI_Comm_f2c is a macro conftest.c:19:10: fatal error: mpi.h: No such file or directory

include

      ^~~~~~~
compilation terminated. configure:7239: result: no configure:8031: checking for cabs in -lm configure:8064: -o conftest -O conftest.c -lm >&5 ./configure: line 1880: -o: command not found configure:8064: $? = 127 configure: failed program was: / confdefs.h / #define PACKAGE_NAME "hypre" #define PACKAGE_TARNAME "hypre" #define PACKAGE_VERSION "2.19.0" #define PACKAGE_STRING "hypre 2.19.0" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" #define HYPRE_RELEASE_NAME "hypre" #define HYPRE_RELEASE_VERSION "2.19.0" #define HYPRE_RELEASE_DATE "2020/05/26" #define HYPRE_RELEASE_TIME "00:00:00" #define HYPRE_RELEASE_BUGS "hypre-support@llnl.gov" #define HYPRE_MAXDIM 3 #define HYPRE_FMANGLE 0 #define HYPRE_FMANGLE_BLAS 0 #define HYPRE_FMANGLE_LAPACK 0 #define HYPRE_NO_GLOBAL_PARTITION 1 #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:8073: result: no configure:8729: checking the hostname configure:8740: result: ubuntu configure:8744: checking the architecture configure:8775: result: LINUX configure:9040: creating ./config.status

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

Running config.status.

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

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

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

on ubuntu

config.status:885: creating config/Makefile.config config.status:885: 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_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_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='/bin/grep -E' ac_cv_path_GREP=/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='' CUFLAGS='' CXX='' CXXFLAGS='-O ' DEFS='-DHAVE_CONFIG_H' DSUPERLU_INCLUDE='' DSUPERLU_LIBS='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/bin/grep -E' EXEEXT='' FC='' FCFLAGS='' FCLIBS='' FFLAGS='-O' FLIBS='' GREP='/bin/grep' HOSTNAME='ubuntu' HYPRE_ARCH='LINUX' HYPRE_BUGS='hypre-support@llnl.gov' HYPRE_CUDA_INCL='' HYPRE_CUDA_LIBS='' HYPRE_DATE='2020/05/26' HYPRE_DISTRIBUTED_LS_DIR='/home/ubuntu/Downloads/hypre-2.19.0/src/distributed_ls' HYPRE_EUCLID_FILES='/home/ubuntu/Downloads/hypre-2.19.0/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_INCINSTALL='${prefix}/include' HYPRE_INSTALLDIR='NONE' HYPRE_KOKKOS_INCLUDE='' HYPRE_KOKKOS_INC_FILE='' HYPRE_KOKKOS_LIB='' HYPRE_KOKKOS_LIB_DIR='' HYPRE_KOKKOS_PATH='' HYPRE_LIBINSTALL='${exec_prefix}/lib' HYPRE_LIBSUFFIX='.a' HYPRE_NAME='hypre' HYPRE_NAP_INCLUDE='' HYPRE_PARASAILS_FILES='/home/ubuntu/Downloads/hypre-2.19.0/src/distributed_ls/ParaSails/.o' HYPRE_PILUT_FILES='/home/ubuntu/Downloads/hypre-2.19.0/src/distributed_ls/pilut/*.o' HYPRE_RAJA_INCLUDE='' HYPRE_RAJA_LIB='' HYPRE_RAJA_LIB_DIR='' HYPRE_SRCDIR='/home/ubuntu/Downloads/hypre-2.19.0/src' HYPRE_TIME='00:00:00' HYPRE_VERSION='2.19.0' KOKKOS_LIBS='' LAPACKLIBDIRS='' LAPACKLIBS='' LDFLAGS='' LIBOBJS='' LIBS='' LINK_CC='' LINK_CXX='' LINK_FC='' LTLIBOBJS='' MPIFLAGS='' MPIINCLUDE='' MPILIBDIRS='' MPILIBS='' OBJEXT='' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_URL='' PACKAGE_VERSION='' PATH_SEPARATOR=':' PYTHON='' RAJA_LIBS='' 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/ubuntu/Downloads/hypre-2.19.0/src/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.19.0"

define PACKAGE_STRING "hypre 2.19.0"

define PACKAGE_BUGREPORT ""

define PACKAGE_URL ""

define HYPRE_RELEASE_NAME "hypre"

define HYPRE_RELEASE_VERSION "2.19.0"

define HYPRE_RELEASE_DATE "2020/05/26"

define HYPRE_RELEASE_TIME "00:00:00"

define HYPRE_RELEASE_BUGS "hypre-support@llnl.gov"

define HYPRE_MAXDIM 3

define HYPRE_FMANGLE 0

define HYPRE_FMANGLE_BLAS 0

define HYPRE_FMANGLE_LAPACK 0

define HYPRE_NO_GLOBAL_PARTITION 1

define HYPRE_USING_HYPRE_BLAS 1

define HYPRE_USING_HYPRE_LAPACK 1

define HYPRE_USING_CUDA_STREAMS 1

define HYPRE_USING_HOST_MEMORY 1

define HYPRE_LINUX 1

configure: exit 0

victorapm commented 4 years ago

Hi @nghiakvnvsd,

try installing openmpi in your system:

sudo apt install openmpi-bin

Then, check the output of which mpicc to make sure you have access to an MPI compiler and rerun the configure script. This time, the script should be able to find it.

nghiakvnvsd commented 4 years ago

when I install

Hi @nghiakvnvsd,

try installing openmpi in your system:

sudo apt install openmpi-bin

Then, check the output of which mpicc to make sure you have access to an MPI compiler and rerun the configure script. This time, the script should be able to find it.

when I install openmpi, it returns:

Reading package lists... Done Building dependency tree
Reading state information... Done openmpi-bin is already the newest version (2.1.1-8). 0 upgraded, 0 newly installed, 0 to remove and 182 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] y debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable Setting up hddtemp (0.3-beta15-53) ... debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable dpkg: error processing package hddtemp (--configure): installed hddtemp package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: hddtemp E: Sub-process /usr/bin/dpkg returned an error code (1)

I have no idea about it

nghiakvnvsd commented 4 years ago

Also, I don't know why when I install any package, it always return it. I have search the error on google and try installation but this doesn't work.

victorapm commented 4 years ago

There's probably another process running on the background which is updating packages in your computer. Try restarting it and redoing the openmpi installation.

nghiakvnvsd commented 4 years ago

There's probably another process running on the background which is updating packages in your computer. Try restarting it and redoing the openmpi installation.

Maybe I have installed openmpi. After I type sudo apt install openmpi-bin and enter it reports: Reading package lists... Done Building dependency tree
Reading state information... Done openmpi-bin is already the newest version (2.1.1-8). 0 upgraded, 0 newly installed, 0 to remove and 186 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] y Setting up hddtemp (0.3-beta15-53) ... W: APT had planned for dpkg to do more than it reported back (0 vs 4). Affected packages: hddtemp:amd64

But then I try installing hypre-2.19.0 again, it also report the error when I'm at step: ~/hypre-2.19.0/src> make -j

victorapm commented 4 years ago

Hi @nghiakvnvsd,

what is the output of which mpicc?

nghiakvnvsd commented 4 years ago

Hi @nghiakvnvsd,

what is the output of which mpicc?

Hi victorapm!

I already installed it. Thank you for your supporting!