-
Notifications
You must be signed in to change notification settings - Fork 0
Description
As of writing, when changing the PrgEnv on Archer (as per the configuration script) to GNU, the version of GCC that's loaded is gcc/5.1.0.
When compiling HDF5 1.8.9 with this version of gcc, I get the following error:
In file included from ../../../src/hdf5.h:45:0,
from gif.h:27,
from writehdf.c:19:
../../../src/H5FDlog.h:65:81: warning: ISO C90 does not support 'long long' [-Wlong-long]
H5_DLL herr_t H5Pset_fapl_log(hid_t fapl_id, const char *logfile, unsigned long long flags, size_t buf_si
^
make[3]: Leaving directory `/home4/e424/e424/vanwyk1/tmp/hdf5-1.8.9/hl/tools/gif2h5'
make[3]: Entering directory `/home4/e424/e424/vanwyk1/tmp/hdf5-1.8.9/hl/tools'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home4/e424/e424/vanwyk1/tmp/hdf5-1.8.9/hl/tools'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home4/e424/e424/vanwyk1/tmp/hdf5-1.8.9/hl/tools'
make[2]: Entering directory `/home4/e424/e424/vanwyk1/tmp/hdf5-1.8.9/hl'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home4/e424/e424/vanwyk1/tmp/hdf5-1.8.9/hl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home4/e424/e424/vanwyk1/tmp/hdf5-1.8.9/hl'
Making all in perform
make[1]: Entering directory `/home4/e424/e424/vanwyk1/tmp/hdf5-1.8.9/perform'
make[1]: *** No rule to make target `../tools/lib/libh5tools.la', needed by `h5perf_serial'. Stop.
make[1]: Leaving directory `/home4/e424/e424/vanwyk1/tmp/hdf5-1.8.9/perform'
make: *** [all-recursive] Error 1However, when I revert to gcc/4.8.1 HDF5 compiles fine suggesting we are falling behind when it comes to dependencies and leaving us with major headaches when we start fresh on a system. This issue documents what we use and what needs updating.
What version are we targeting? Helios is using an ancient gcc/4.4.7, whereas Archer now uses gcc/5.1 and will probably move to gcc/5.3 in the near future. Therefore gcc/5.1 is a reasonable target.
What we currently use:
- HDF5 1.8.9 (newest 1.8.16)
- NetCDF 4.2.1.1 (newest 4.4.0)
- GSL 1.16 (newest 2.1)
- Ruby set version (ideally 2.2.5 or higher)
- ncurses 5.9 (newest 6.0)
- readline 6.2 (newest 6.3)
- YAML 0.1.4 (newest .1.6)
Further comments will deal with updating these one by one using gcc/5.1.