>Date: Sun, 23 Dec 2018 19:45:08 -0800 >From: Kurt H Maier <k...@sciops.net> >To: Slurm User Community List <slurm-users@lists.schedmd.com> >Subject: Re: [slurm-users] Unable to locate HDF5 compilation helper > scripts 'h5cc' or 'h5pcc'. >Message-ID: <20181224034508.GA56809@wopr> >Content-Type: text/plain; charset=us-ascii > >On Mon, Dec 24, 2018 at 11:23:24AM +0800, slurm-users wrote: >> >> It seems doesn't recognize the hdf5, and output the following errors. > > >Possibly related bug: https://bugs.schedmd.com/show_bug.cgi?id=1990 > >Without knowing more about how you built HDF5, or more from your slurm >configure.log, it's going to be tough to help further. > >khm >
First, I build hdf5 with "CC=mpicc ./configure --prefix=/usr/local/hdf5-1.10.3 --enable-parallel". And the I build it with "./configure --prefix=/usr/local/hdf5-1.10.3-nompi". Both the two way doesn't work. I have assigned the h5cc file with "--with-hdf5=/usr/local/hdf5-1.10.3-nompi/bin/h5cc", and it works. The following is output: checking Using provided HDF5 C wrapper... /usr/local/hdf5-1.10.3-nompi/bin/h5cc checking for HDF5 type... serial checking for HDF5 libraries... yes (version 1.10.3) checking hdf5.h usability... yes checking hdf5.h presence... yes checking for hdf5.h... yes checking for H5Fcreate in -lhdf5... yes checking for main in -lhdf5_hl... yes checking for matching HDF5 Fortran wrapper... no