error while installing MED
Forum rules
Please read the forum usage recommendations before posting.
Please read the forum usage recommendations before posting.
error while installing MED
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>
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>
-
- Posts: 4077
- Joined: Mon Feb 20, 2012 3:25 pm
Re: error while installing MED
Hello,
Could you provide the other recommended info (install method, logs, ...as per the forum guidelines) ?
Regards,
Yvan
Could you provide the other recommended info (install method, logs, ...as per the forum guidelines) ?
Regards,
Yvan
Re: error while installing MED
Hi
Attached
Thanks
Attached
Thanks
- Attachments
-
- install_saturne.log
- (2.18 KiB) Downloaded 442 times
-
- Posts: 4077
- Joined: Mon Feb 20, 2012 3:25 pm
Re: error while installing MED
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
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
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
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
-
- Posts: 4077
- Joined: Mon Feb 20, 2012 3:25 pm
Re: error while installing MED
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
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
I have attached it
I am using the setup file and executing the install_saturne.py
I am using the setup file and executing the install_saturne.py
- Attachments
-
- config.log
- (21.07 KiB) Downloaded 313 times
-
- Posts: 4077
- Joined: Mon Feb 20, 2012 3:25 pm
Re: error while installing MED
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
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
Hi
I am using Ubuntu 16.04 LTS
I am using Ubuntu 16.04 LTS
-
- Posts: 4077
- Joined: Mon Feb 20, 2012 3:25 pm
Re: error while installing MED
Hello,
Not sure of the package's name on Ubuntu, but I think it is libz4g-dev.
Regards,
Yvan
Not sure of the package's name on Ubuntu, but I think it is libz4g-dev.
Regards,
Yvan