Skip to content

HDF5 problem. #3

@paullglebrun

Description

@paullglebrun

Hi Andrew,

I am trying to install Galacticus from source code, such that I can learn from the code a bit of Astrophysics.. I am running on a up to date CentOs9 system. After installing, as root, normal install, using usual yum of dnf, most dependency packkages (except qhull..for some unknown reason, it got re-install in galacticus-master/galacticusInstallWork), the script ran fine, but stop on F90 compiler error, handling the hdf5 package. The relevant part of the log file is:

building Galacticus
--> make -j1 Galacticus.exe
gfortran -c ./work/build/utility.IO.HDF5.p.F90 -o ./work/build/utility.IO.HDF5.o -ffree-line-length-none -frecursive -DBUILDPATH='./work/build' -J./work/build/moduleBuild/ -I./work/build/ -fintrinsic-modules-path /home/lebrun/Galacticus/Tools/finclude -fintrinsic-modules-path /home/lebrun/Galacticus/Tools/include -fintrinsic-modules-path /home/lebrun/Galacticus/Tools/include/gfortran -fintrinsic-modules-path /home/lebrun/Galacticus/Tools/lib/gfortran/modules -fintrinsic-modules-path /usr/local/finclude -fintrinsic-modules-path /usr/local/include/gfortran -fintrinsic-modules-path /usr/local/include -fintrinsic-modules-path /usr/lib/gfortran/modules -fintrinsic-modules-path /usr/include/gfortran -fintrinsic-modules-path /usr/include -fintrinsic-modules-path /usr/finclude -fintrinsic-modules-path /usr/lib64/gfortran/modules -L/home/lebrun/Galacticus/Tools/lib -L/home/lebrun/Galacticus/Tools/lib64 -pthread -Wall -fbacktrace -ffpe-trap=invalid,zero,overflow -fdump-core -O3 -ffinite-math-only -fno-math-errno -fopenmp -g -DPROCPS -DOFDAVAIL -DFFTW3AVAIL -DANNUNAVAIL -DQHULLUNAVAIL -DMATHEVALUNAVAIL 2>&1 | ./scripts/build/postprocess.pl ./work/build/utility.IO.HDF5.p.F90
source/utility.IO.HDF5.F90; line 454 [preprocessed line 543]; code 43

543 | & H5T_NATIVE_DOUBLE, H5T_NATIVE_INT, H5T_NATIVE_INT_8, H5T_STD_I32BE , &
| 1
Error: Symbol ‘h5t_native_int’ referenced at (1) not found in module ‘hdf5’
source/utility.IO.HDF5.F90; line 454 [preprocessed line 543]; code 59

543 | & H5T_NATIVE_DOUBLE, H5T_NATIVE_INT, H5T_NATIVE_INT_8, H5T_STD_I32BE , &
| 1
Error: Symbol ‘h5t_native_int_8’ referenced at (1) not found in module ‘hdf5’
source/utility.IO.HDF5.F90; line 1342 [preprocessed line 1572]; code 90

....

No idea why H5T_NATIVE would cause problems.. The version of hfdf5 is

root@syn-2603-7080-ff01-8658-0000-0000-0000-1b5a lebrun]# yum info hdf5-devel
Last metadata expiration check: 1:51:03 ago on Fri 05 Jul 2024 12:58:41 PM EDT.
Installed Packages
Name : hdf5-devel
Version : 1.12.1
Release : 7.el9.1
Architecture : x86_64
Size : 3.9 M
Source : hdf5-1.12.1-7.el9.1.src.rpm
Repository : @System
From repo : epel
Summary : HDF5 development files
URL : https://portal.hdfgroup.org/display/HDF5/HDF5
License : BSD
Description : HDF5 development headers and libraries.

[root@syn-2603-7080-ff01-8658-0000-0000-0000-1b5a lebrun]#

Thanks

Paul

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions