CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > REEF3D

hypre-2.29.0( Could not find .git directory)

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 22, 2023, 13:01
Question hypre-2.29.0( Could not find .git directory)
  #1
Member
 
hithere
Join Date: Jun 2023
Posts: 46
Rep Power: 3
hridu is on a distinguished road
While installing hypre-2.29.0 showing an error 'Could not find .git directory'
not able to install hypre-2.29.0



1)


hrideesh@hrideesh-HP-Notebook:~/hypre-2.29.0/src$ ./configure --prefix=/usr/local/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




2)


hrideesh@hrideesh-HP-Notebook:~/hypre-2.29.0/src$ ./configure --prefix=/usr/local/hypre F77=/usr/local/bin/gfortran
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 whether make sets $(MAKE)... yes
checking for ranlib... ranlib
checking whether the compiler supports GNU Fortran... no
checking whether /usr/local/bin/gfortran accepts -g... no
checking how to get verbose linking output from /usr/local/bin/gfortran... configure: WARNING: compilation failed

checking for Fortran libraries of /usr/local/bin/gfortran...
checking for dummy main to link with Fortran libraries... unknown
configure: error: in `/home/hrideesh/hypre-2.29.0/src':
configure: error: linking to Fortran libraries from C fails
See `config.log' for more details




please help to install REEF3D......
hridu is offline   Reply With Quote

Old   July 23, 2023, 18:37
Default
  #2
Super Moderator
 
Hans Bihs
Join Date: Jun 2009
Location: Trondheim, Norway
Posts: 403
Rep Power: 19
valgrinda is on a distinguished road
Best to use hypre v2.27 for now.
__________________
Hans Bihs
Team REEF3D
www.reef3d.com
valgrinda is offline   Reply With Quote

Old   July 25, 2023, 04:11
Question hypre -2.27.0
  #3
Member
 
hithere
Join Date: Jun 2023
Posts: 46
Rep Power: 3
hridu is on a distinguished road
Quote:
Originally Posted by valgrinda View Post
Best to use hypre v2.27 for now.
hypre-2.27.0 showing the same issue..
please help me to install hypre


hridu@DESKTOP-VHTQJFA:~/libraries/hypre-2.27.0/src$ ./configure --prefix=/usr/local/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... mpicc
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++... mpic++
checking for mpxlf... no
checking for mpixlf77... no
checking for mpiifort... no
checking for mpiifx... no
checking for mpif77... mpif77
checking whether make sets $(MAKE)... yes
checking for ranlib... ranlib
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether mpicc accepts -g... yes
checking for mpicc option to accept ISO C89... none needed
checking whether we are using the GNU C++ compiler... yes
checking whether mpic++ accepts -g... yes
checking whether we are using the GNU Fortran compiler... yes
checking whether mpif77 accepts -g... yes
checking how to get verbose linking output from mpif77... -v
checking for Fortran libraries of mpif77... -L/usr/lib/x86_64-linux-gnu/openmpi/lib/fortran/gfortran -L/usr/lib/gcc/x86_64-linux-gnu/11 -L/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/11/../../.. -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lopen-rte -lopen-pal -lhwloc -levent_core -levent_pthreads -lgfortran -lm -lz -lquadmath
checking for dummy main to link with Fortran libraries... none
checking for Fortran name-mangling scheme... lower case, underscore, no extra underscore
checking for MPI_Init... yes
checking for mpi.h... yes
checking for MPI_Comm_f2c... yes
checking how to run the C preprocessor... mpicc -E
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... yes
checking the hostname... DESKTOP-VHTQJFA
checking the architecture... LINUX
configure: creating ./config.status
config.status: creating config/Makefile.config
config.status: creating HYPRE_config.h
hridu@DESKTOP-VHTQJFA:~/libraries/hypre-2.27.0/src$ make all
Making blas ...
make[1]: Entering directory '/home/hridu/libraries/hypre-2.27.0/src/blas'
mpicc -O2 -DHAVE_CONFIG_H -I.. -I../utilities -c dasum.c
mpicc -O2 -DHAVE_CONFIG_H -I.. -I../utilities -c daxpy.c
mpicc -O2 -DHAVE_CONFIG_H -I.. -I../utilities -c dcopy.c


why this always showing "Could not find .git directory"?????????????????????????????

Last edited by hridu; July 25, 2023 at 06:24.
hridu is offline   Reply With Quote

Old   July 25, 2023, 09:51
Default
  #4
Super Moderator
 
Hans Bihs
Join Date: Jun 2009
Location: Trondheim, Norway
Posts: 403
Rep Power: 19
valgrinda is on a distinguished road
Not sure about this problem then. Are you using Ubuntu on Windows?
__________________
Hans Bihs
Team REEF3D
www.reef3d.com
valgrinda is offline   Reply With Quote

Old   July 25, 2023, 11:35
Question
  #5
Member
 
hithere
Join Date: Jun 2023
Posts: 46
Rep Power: 3
hridu is on a distinguished road
Quote:
Originally Posted by valgrinda View Post
Not sure about this problem then. Are you using Ubuntu on Windows?
yes..
im using window 10 with ubuntu.
i installed ubuntu(dual booting) sepeately in my pc for installing REEF3D.in ubuntu also having same issue..
"Could not find .git directory"
I tried v.2.29,v2.28,v2.27
hridu is offline   Reply With Quote

Old   July 25, 2023, 11:58
Default
  #6
Member
 
Felix S.
Join Date: Feb 2021
Location: Germany, Braunschweig
Posts: 88
Rep Power: 6
Felix_Sp is on a distinguished road
If you read carefully it is just a NOTE not an error.

It just happens when you download hypre from GitHub as a zip folder and not by git clone.

If you cannot compile hypre there has to be another error.
Felix_Sp is offline   Reply With Quote

Old   July 25, 2023, 12:14
Question
  #7
Member
 
hithere
Join Date: Jun 2023
Posts: 46
Rep Power: 3
hridu is on a distinguished road
Quote:
Originally Posted by valgrinda View Post
Best to use hypre v2.27 for now.
i tried with hypre 2.22.0 (.git directory issue solved)

hridu@DESKTOP-VHTQJFA:~/libraries/hypre-2.22.0/src$ ./configure --prefix=/usr/local/hypre
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 mpigcc... no
checking for mpicc... mpicc
checking for mpxlC... no
checking for mpixlcxx... no
checking for mpixlC... no
checking for mpiicpc... no
checking for mpig++... no
checking for mpic++... mpic++
checking for mpxlf... no
checking for mpixlf77... no
checking for mpiifort... no
checking for mpif77... mpif77
checking whether make sets $(MAKE)... yes
checking for ranlib... ranlib
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether mpicc accepts -g... yes
checking for mpicc option to accept ISO C89... none needed
checking whether we are using the GNU C++ compiler... yes
checking whether mpic++ accepts -g... yes
checking whether we are using the GNU Fortran compiler... yes
checking whether mpif77 accepts -g... yes
checking how to get verbose linking output from mpif77... -v
checking for Fortran libraries of mpif77... -L/usr/local/openmpi/lib -L/usr/lib/gcc/x86_64-linux-gnu/11 -L/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/11/../../.. -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -lquadmath
checking for dummy main to link with Fortran libraries... none
checking for Fortran name-mangling scheme... lower case, underscore, no extra underscore
checking for MPI_Init... yes
checking for mpi.h... yes
checking for MPI_Comm_f2c... yes
checking how to run the C preprocessor... mpicc -E
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... yes
checking the hostname... DESKTOP-VHTQJFA
checking the architecture... LINUX
configure: creating ./config.status
config.status: creating config/Makefile.config
config.status: creating HYPRE_config.h

after sudo make install

hridu@DESKTOP-VHTQJFA:~/libraries/hypre-2.22.0/src$ sudo make install
[sudo] password for hridu:
Making blas ...
make[1]: Entering directory '/home/hridu/libraries/hypre-2.22.0/src/blas'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/hridu/libraries/hypre-2.22.0/src/blas'
continues
Making lib ...
make[1]: Entering directory '/home/hridu/libraries/hypre-2.22.0/src/lib'
cp -fR libHYPRE* /home/hridu/libraries/hypre-2.22.0/src/hypre/lib
make[1]: Leaving directory '/home/hridu/libraries/hypre-2.22.0/src/lib'

Installing hypre ...
end up witht the above


'mkdir -p -- /usr/local/hypre/lib/usr/local/hypre/include" this is not seen in the last?????
hridu is offline   Reply With Quote

Old   July 25, 2023, 12:23
Question
  #8
Member
 
hithere
Join Date: Jun 2023
Posts: 46
Rep Power: 3
hridu is on a distinguished road
Quote:
Originally Posted by Felix_Sp View Post
If you read carefully it is just a NOTE not an error.

It just happens when you download hypre from GitHub as a zip folder and not by git clone.

If you cannot compile hypre there has to be another error.
how to get git clone hypre??
hridu is offline   Reply With Quote

Old   January 22, 2024, 07:57
Default
  #9
New Member
 
Taufik
Join Date: Aug 2021
Posts: 6
Rep Power: 5
Taufik S is on a distinguished road
Hi Hyridu,

can you share hypre 2.22, i have same problem with hypre installer.
Taufik S is offline   Reply With Quote

Old   January 22, 2024, 09:42
Default
  #10
Member
 
hithere
Join Date: Jun 2023
Posts: 46
Rep Power: 3
hridu is on a distinguished road
use hypre 2.27
hridu is offline   Reply With Quote

Old   January 22, 2024, 15:50
Default
  #11
Super Moderator
 
Hans Bihs
Join Date: Jun 2009
Location: Trondheim, Norway
Posts: 403
Rep Power: 19
valgrinda is on a distinguished road
All hypre related issues should be resolved. I have taken another look: the main problem is that hypre cannot find MPI. So either it needs to be installed or at least be added to the PATH. You can find the details in the User Guide.
__________________
Hans Bihs
Team REEF3D
www.reef3d.com
valgrinda is offline   Reply With Quote

Old   January 22, 2024, 18:24
Thumbs up
  #12
New Member
 
Taufik
Join Date: Aug 2021
Posts: 6
Rep Power: 5
Taufik S is on a distinguished road
Quote:
Originally Posted by valgrinda View Post
All hypre related issues should be resolved. I have taken another look: the main problem is that hypre cannot find MPI. So either it needs to be installed or at least be added to the PATH. You can find the details in the User Guide.

Thank You, problem solved
Taufik S is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM.com] Installation Problems during Solver installation in OpenFOAM abdull12 OpenFOAM Installation 1 July 31, 2023 12:08
[OpenFOAM.org] Installing OpenFOAM-2.4.0-MNF on Ubuntu 18.0.4 mr35diamonds OpenFOAM Installation 4 March 4, 2023 00:40
polynomial BC srv537 OpenFOAM Pre-Processing 4 December 3, 2016 10:07
critical error during installation of openfoam Fabio88 OpenFOAM Installation 21 June 2, 2010 04:01
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug unoder OpenFOAM Installation 11 January 30, 2008 21:30


All times are GMT -4. The time now is 14:38.