Page 1 of 3

error while installing MED

Posted: Thu Oct 13, 2016 10:26 am
by sofiane73
Hi
I am having trouble installing MED

this is what I am getting :

please help

note that HDF5 and cgnlib have been successfully installed

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking how to create a ustar tar archive... gnutar
checking whether to compile using MPI... no
checking for style of include used by make... GNU
checking for gcc... /usr/bin/cc
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 /usr/bin/cc accepts -g... yes
checking for /usr/bin/cc option to accept ISO C89... none needed
checking dependency style of /usr/bin/cc... gcc3
checking for /usr/bin/cc option to accept ISO C99... none needed
checking whether to compile using MPI... no
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
configure: Can't find a parallel version of HDF.
checking how to run the C preprocessor... /usr/bin/cc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking absolute name of <H5public.h>... checking H5public.h usability... yes
checking H5public.h presence... yes
checking for H5public.h... yes
///home/sofiane/Code_Saturne/4.0.6/hdf5-1.8.14/arch/Linux_x86_64/include/H5public.h
checking absolute name of <H5Ipublic.h>... checking H5Ipublic.h usability... yes
checking H5Ipublic.h presence... yes
checking for H5Ipublic.h... yes
///home/sofiane/Code_Saturne/4.0.6/hdf5-1.8.14/arch/Linux_x86_64/include/H5Ipublic.h
checking for H5open in -lhdf5... no
configure: error: either use HDF5HOME env. var. or --with-hdf5=<path>

Re: error while installing MED

Posted: Sun Oct 16, 2016 6:58 pm
by Yvan Fournier
Hello,

Could you provide the other recommended info (install method, logs, ...as per the forum guidelines) ?

Regards,

Yvan

Re: error while installing MED

Posted: Sat Oct 29, 2016 10:19 am
by sofiane73
Hi

Attached
Thanks

Re: error while installing MED

Posted: Sat Oct 29, 2016 3:45 pm
by Yvan Fournier
Hello,

You still did not specify whether you used the automatic installer or the MED configure directly.

If you used the installer, could you specify your setup file ?

In any case, if you export HDF5HOME to the HDF5 path before running the install, the issue should disappear (though this should not be necessary).

Regards,

Yvan

Re: error while installing MED

Posted: Wed Jan 25, 2017 9:20 am
by sofiane73
Hi

I did and I hope it is the right way

export HDF5HOME=/home/sofiane/Code_Saturne/4.0.6/hdf5-1.8.14/arch/Linux_x86_64
echo $HDF5HOME
/home/sofiane/Code_Saturne/4.0.6/hdf5-1.8.14/arch/Linux_x86_64/

but still have the same error when installing MED

Please help

Regards
Sofiane

Re: error while installing MED

Posted: Thu Jan 26, 2017 1:43 am
by Yvan Fournier
Hello,

could you post the "config.log" from the MED build directory (a subdirectory in the Code_Saturne build if you used the automatic installer) ?.

Regards,

Yvan

Re: error while installing MED

Posted: Thu Jan 26, 2017 5:40 am
by sofiane73
I have attached it
I am using the setup file and executing the install_saturne.py

Re: error while installing MED

Posted: Thu Jan 26, 2017 10:22 am
by Yvan Fournier
Hello,

It seems the error is due to a missing "-lz" library. So you must install libz and its headers.

Which type of system are you running on ?

Regards,

Yvan

Re: error while installing MED

Posted: Sat Jan 28, 2017 11:30 am
by sofiane73
Hi

I am using Ubuntu 16.04 LTS

Re: error while installing MED

Posted: Sat Jan 28, 2017 6:58 pm
by Yvan Fournier
Hello,

Not sure of the package's name on Ubuntu, but I think it is libz4g-dev.

Regards,

Yvan