Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: MED ./configure can't find some HDF5 files

MED ./configure can't find some HDF5 files 5 years 10 months ago #32447

  • marcioxyz
  • marcioxyz's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 1
Yugi

I did it now with --with-hdf5=/home/luke/Downloads/hdf5-1.8.14/hdf5 and it seems that something happened differently , because make and make install apparently ran till the end. I lost track of all the previous attempts I made, so I can't tell what was the difference now. Anyway, you can find the last screen lines I got after running make install (MED). It still announces some errors.
This weekend I'll try a full clean Telemac installation and see if the problem arises again. I'll let you know how it ended.
Thank you !


Makefile:1050: recipe for target '_medlibrary_la-medlibrary_int_wrap.lo' failed
make[2]: *** [_medlibrary_la-medlibrary_int_wrap.lo] Error 1
make[2]: Leaving directory '/home/luke/Downloads/med-3.2.0/python'
Makefile:1333: recipe for target 'install' failed
make[1]: *** [install] Error 2
make[1]: Leaving directory '/home/luke/Downloads/med-3.2.0/python'
Makefile:449: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1
The administrator has disabled public write access.

MED ./configure can't find some HDF5 files 5 years 10 months ago #32453

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
Good luck.
There are 10 types of people in the world: those who understand binary, and those who don't.
The administrator has disabled public write access.

MED ./configure can't find some HDF5 files 5 years 8 months ago #32980

  • marcioxyz
  • marcioxyz's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 1
Hi Yugi

I'm back to give you some feedback, since you were so kind to help. This week I finally had the time to clean install Telemav V8p0r0 on a new computer.

I followed your recommendations but had no success in including HDF5 and MED in the compilation. MED compilation seems to run until the end, at least there is no error message issued at the end of the screen output. You can find attached some relevant output. But I cannot find a build directory, neither in /usr/... nor in the directory tree of the source code.

This time I managed to install the parallel version, which was good. Curiously, compiling Metis the same way I did before -- that is, the way explained at Telemac installation guide site -- ended up without a "libmetis.a" file anywhere in the build directory (although the directories bin, include and lib were createed with some files inside them) . So I just took libmetis.a from my last successful compilation and it worked fine.

I think I will go on without HDF5 for now and hope that in some future version I can handle it better.

Best regards,
Márcio


File Attachment:

File Name: saidas_instalacao_limpa.txt
File Size: 6 KB
The administrator has disabled public write access.

MED ./configure can't find some HDF5 files 5 years 8 months ago #32983

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
Hi Marcio,

Happy it works.

I have two points that can help explain your issues:
- If you followed to guide on the website (this one wiki.opentelemac.org/doku.php?id=installation_linux_metis) you have two cases for metis:
If you compiled in dynamic it will generate a .so and not a .a file and if you did not add CMAKE_PREFIX_INSTALL the library should be in <metis_src>/libmetis/libmetis.a.
- For hdf5 the issue could be that you need to make an "out of source" installation. Which means that your installation folder can not be in the same folder as your sources. It is often the case for a lot of software
There are 10 types of people in the world: those who understand binary, and those who don't.
The administrator has disabled public write access.

MED ./configure can't find some HDF5 files 4 years 9 months ago #35382

  • AntoineTatin
  • AntoineTatin's Avatar
Hi,
I feel I kinda have a similar problem and (as a total beginner using Ubuntu and installing Telemac for the first time), I tried to find a solution and to read your discussion and MED manual but I don't figure what is failing.

Here is my problem :
I'm following the Linux installation guide.
hdf5 installation is ok, in the folder /home/damian/Documents/Telemac/hdf5-1.8.14, there is hdf5 in the folder.

(I also checked in /usr there is no folder hdf)

But for the med installation I tried several times with :

./configure
Results : configure: error: either use HDF5HOME env. var. or --with-hdf5=<path>

./configure --with-hdf5=</home/damian/Documents/Telemac/hdf5-1.8.14>.
Results : bash: .: Is a directory

I tried also ./configure --with-hdf5=</home/damian/Documents/Telemac/hdf5-1.8.14/hdf5>. and ./configure --with-hdf5=</home/damian/Documents/Telemac>.

And each time I enter make,it returns me :
"make: *** No targets specified and no makefile found. Stop."

If you have any suggestions on how to fix it, thanks a lot !
The administrator has disabled public write access.

MED ./configure can't find some HDF5 files 4 years 8 months ago #35618

  • luchardo
  • luchardo's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
Old post,

i had the same problem!, a lot of time searching the solution, ok.
the solution for me:
gcc-4.8
g++-4.8

example...
./configure --prefix=/home/luis/apps/telemac/v8p0r1/optionals/med --with-hdf5=/home/luis/apps/telemac/v8p0r1/optionals/hdf5 CC=gcc-4.8 CXX=g++-4.8

works.
The administrator has disabled public write access.

MED ./configure can't find some HDF5 files 4 years 7 months ago #35689

  • sag125
  • sag125's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
Hello, I have a similar problem, and I've tried with the suggestions but I can't figure it out. I've attached the config.log file.

Thanks.
checking for stdint.h... yes
checking for unistd.h... yes
checking absolute name of <H5public.h>... checking H5public.h usability... no
checking H5public.h presence... no
checking for H5public.h... no

checking absolute name of <H5Ipublic.h>... checking H5Ipublic.h usability... no
checking H5Ipublic.h presence... no
checking for H5Ipublic.h... no

checking for H5open in -lhdf5... no
configure: error: either use HDF5HOME env. var. or --with-hdf5=<path>
Attachments:
The administrator has disabled public write access.

MED ./configure can't find some HDF5 files 4 years 7 months ago #35762

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
Could you post your configure command as well as the content of your hdf5 install folder.
There are 10 types of people in the world: those who understand binary, and those who don't.
The administrator has disabled public write access.

MED ./configure can't find some HDF5 files 4 years 7 months ago #35775

  • sag125
  • sag125's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
Hello, this is the configure command I used:

./configure --prefix=/home/sergio/Downloads/libraries/med-3.2.0 --with-hdf5=/home/sergio/HDF_Install


And the content of my HDF5 install folder.


Thanks for your reply.
Attachments:
The administrator has disabled public write access.

MED ./configure can't find some HDF5 files 4 years 7 months ago #35792

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
It looks like you option is not taken into account.
Can you try:
export HDF5HOME=/home/sergio/HDF_Install
And then the configure again.

Also could you run pwd in the HDF_Install folder just to be sure.
There are 10 types of people in the world: those who understand binary, and those who don't.
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: borisb

The open TELEMAC-MASCARET template for Joomla!2.5, the HTML 4 version.