abinit-fallbacks issueshttps://gitlab.abinit.org/buildbot/abinit-fallbacks/-/issues2020-03-06T16:52:52+01:00https://gitlab.abinit.org/buildbot/abinit-fallbacks/-/issues/16netcdf4_fortran needs bins <item>2020-03-06T16:52:52+01:00Administratornetcdf4_fortran needs bins <item>```
(bb) [buildbot@atlas bin]$ ./abinit-fallbacks-config --avail netcdf4
bins cflags cppflags incs ldflags libs
```
```
(bb) [buildbot@atlas bin]$ ./abinit-fallbacks-config --avail netcdf4_fortran
cflags cppflags fcflags fppflags incs l...```
(bb) [buildbot@atlas bin]$ ./abinit-fallbacks-config --avail netcdf4
bins cflags cppflags incs ldflags libs
```
```
(bb) [buildbot@atlas bin]$ ./abinit-fallbacks-config --avail netcdf4_fortran
cflags cppflags fcflags fppflags incs ldflags libs
```
but nf-config is in **netcdf4_fortran/default/bin**
```
(bb) [buildbot@atlas bin]$ ll ../netcdf4_fortran/default/bin/nf-config
-rwxr-xr-x 1 buildbot buildbot 3156 Mar 5 16:18 ../netcdf4_fortran/default/bin/nf-config
```https://gitlab.abinit.org/buildbot/abinit-fallbacks/-/issues/15it seems --disable-hdf5 doesn't work2018-06-20T22:24:59+02:00Administratorit seems --disable-hdf5 doesn't work```
CC=mpicc CXX=mpicxx FC=mpif90 \
../configure \
--prefix=/usr/local/fallbacks/gnu/4.9/cov \
--disable-hdf5 \
--with-linalg-libs="-L/opt/intel/composerxe_14/mkl/lib/intel64 -Wl,--start-group -lmkl_gf_lp64 -lmkl_sequential -lm...```
CC=mpicc CXX=mpicxx FC=mpif90 \
../configure \
--prefix=/usr/local/fallbacks/gnu/4.9/cov \
--disable-hdf5 \
--with-linalg-libs="-L/opt/intel/composerxe_14/mkl/lib/intel64 -Wl,--start-group -lmkl_gf_lp64 -lmkl_sequential -lmkl_core -Wl,--end-group"
```
**it still looks for and found libs**
```
...
checking for HDF5 libraries to try... -lhdf5_hl -lhdf5
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking curl/curl.h usability... no
checking curl/curl.h presence... no
checking for curl/curl.h... no
checking for library containing deflateInit... no
checking for library containing curl_easy_init... no
configure: WARNING: missing prerequisite C headers
configure: WARNING: missing prerequisite libraries
checking for h5pcc... no
checking for HDF5 type... neither
checking for HDF5 libraries... no
configure: WARNING:
Unable to locate parallel HDF5 compilation helper script 'h5pcc'.
Please specify --with-hdf5=<LOCATION> as the full path to h5pcc.
HDF5 support is being disabled (equivalent to --with-hdf5=no).
configure: no parallel HDF5 found, looking for a serial one
checking for h5cc... /home/buildbot/anaconda2/bin/h5cc
checking for HDF5 type... serial
checking for HDF5 libraries... yes (version 1.8.17)
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
checking which HDF5 version we have... 1.8.17
...
```
**but, it will not use it...**
```
+----------------+--------+--------+--------+--------+
|Fallback |Status |Install |Custom |Tricks |
+----------------+--------+--------+--------+--------+
|atompaw |ok |yes |no |yes |
|bigdft |ok |yes |no |yes |
|libpsml |ok |yes |no |no |
|libxc |ok |yes |no |yes |
|linalg |ok |no |no |unknown |
|netcdf4 |ok |yes |no |partial |
|netcdf4_fortran |ok |yes |no |partial |
|wannier90 |ok |yes |no |yes |
|xmlf90 |ok |yes |no |no |
|yaml |ok |yes |no |yes |
+----------------+--------+--------+--------+--------+
Note: HDF5 support is disabled in NetCDF4.
```
**but, configure failed during compilation of netcdf-4.4.1.1**
```
...
checking for library containing H5Fflush... no
configure: error: Can't find or link to the hdf5 library. Use --disable-netcdf-4, or see config.log for errors.
make[2]: *** [stamps/netcdf4-config-stamp] Error 1
make[2]: Leaving directory `/home/local/src/abinit-fallbacks/tmp-tikal_gcc49_cov'
make[1]: [all-local] Error 2 (ignored)
Checking build of netcdf4 fallback
test -e stamps/netcdf4-install-stamp
make[1]: *** [all-local] Error 1
make[1]: Leaving directory `/home/local/src/abinit-fallbacks/tmp-tikal_gcc49_cov'
make: *** [all-recursive] Error 1
...
```
if I use --disable-netcdf-4, netcdf-4 is not compiled...
gcc 4.9.4Yann PouillonYann Pouillonhttps://gitlab.abinit.org/buildbot/abinit-fallbacks/-/issues/14'make tests' failed2018-03-06T10:41:44+01:00Administrator'make tests' failedthe "general" make checks failed :
```
(bb) [buildbot@atlas tmp_atlas_intel_18.0_openmpi2]$ make check
Making check in src
make[1]: Entering directory `/data/TOOLS/abinit-fallbacks/tmp_atlas_intel_18.0_openmpi2/src'
make[1]: Nothing to ...the "general" make checks failed :
```
(bb) [buildbot@atlas tmp_atlas_intel_18.0_openmpi2]$ make check
Making check in src
make[1]: Entering directory `/data/TOOLS/abinit-fallbacks/tmp_atlas_intel_18.0_openmpi2/src'
make[1]: Nothing to be done for `check'.
...
make check-local
make[2]: Entering directory `/data/TOOLS/abinit-fallbacks/tmp_atlas_intel_18.0_openmpi2'
cd sources/libxc-3.0.1 && make check
make[3]: Entering directory `/data/TOOLS/abinit-fallbacks/tmp_atlas_intel_18.0_openmpi2/sources/libxc-3.0.1'
make[3]: *** No rule to make target `check'. Stop.
....
```
need to take account of tmp-build/
```
cd sources/libxc-3.0.1/
(bb) [buildbot@atlas libxc-3.0.1]$ make check
make: *** No rule to make target `check'. Stop.
```
```
cd tmp-build/
(bb) [buildbot@atlas tmp_atlas_intel_18.0_openmpi2]$ cd sources/libxc-3.0.1/tmp-build/
(bb) [buildbot@atlas tmp-build]$ make check
Making check in build
...
```Yann PouillonYann Pouillonhttps://gitlab.abinit.org/buildbot/abinit-fallbacks/-/issues/13abinit-fallbacks configure doesn't support --disable-shared2018-06-18T17:11:25+02:00Administratorabinit-fallbacks configure doesn't support --disable-shared`configure: WARNING: unrecognized options: --disable-shared`
need to disable generation of dynamic libraries of libpsml and xmlf90 fallbacks`configure: WARNING: unrecognized options: --disable-shared`
need to disable generation of dynamic libraries of libpsml and xmlf90 fallbacksYann PouillonYann Pouillonhttps://gitlab.abinit.org/buildbot/abinit-fallbacks/-/issues/10issue with install-symlinks.sh script2018-02-26T18:33:04+01:00Administratorissue with install-symlinks.sh scripttest with master/6fd93c02 : relaunch a "make" cmd produces a error !
```
(bb) [buildbot@atlas tmp_atlas_intel_18.0_serial]$ make
Making all in src
make[1]: Entering directory `/data/TOOLS/abinit-fallbacks/tmp_atlas_intel_18.0_serial/src...test with master/6fd93c02 : relaunch a "make" cmd produces a error !
```
(bb) [buildbot@atlas tmp_atlas_intel_18.0_serial]$ make
Making all in src
make[1]: Entering directory `/data/TOOLS/abinit-fallbacks/tmp_atlas_intel_18.0_serial/src'
./install-symlinks.sh
ln: failed to create symbolic link ‘/usr/local/fallbacks/intel/18.0/serial/atompaw/default/4.0.0.14’: File exists
ln: failed to create symbolic link ‘/usr/local/fallbacks/intel/18.0/serial/bigdft/default/1.7.1.24’: File exists
...
make[1]: Leaving directory `/data/TOOLS/abinit-fallbacks/tmp_atlas_intel_18.0_serial/src'
make: *** [all-recursive] Error 1
```8.7.0Yann PouillonYann Pouillonhttps://gitlab.abinit.org/buildbot/abinit-fallbacks/-/issues/8Dispatch maintenance of individual fallbacks2017-11-07T23:23:45+01:00Yann PouillonDispatch maintenance of individual fallbacksThis is a discussion item for the 2017/11/29 meeting in Paris.
Time has become one of the most precious substances in the world. Giving a project the time it requires can effectively be achieved by replacing single persons -- who inevit...This is a discussion item for the 2017/11/29 meeting in Paris.
Time has become one of the most precious substances in the world. Giving a project the time it requires can effectively be achieved by replacing single persons -- who inevitably become single points of failure -- by teams. This is what has been done over the last couple of years for the fallbacks.
Here is a proposal to formalise the dispatching of fallbacks responsibilities to a team of Abinit Core Developers:
- Marc: LibXC, AtomPAW, BigDFT;
- Yann: XMLF90, LibPSML, Wannier90;
- Matteo?: NetCDF, NetCDF-Fortran, YAML.
The task here is mostly to keep Abinit in sync with recent versions of the fallbacks: upgrade of Abinit wrt to the external dependency, integration of the new dependency version into the fallbacks, deployment on the test farm.
In addition:
- Jean-Michel is responsible for the deployment of the fallbacks on the Abinit Test Farm;
- Marc is responsible of the coordination with the developers of BigDFT;
- Yann is responsible for the build system of the fallbacks.
Could Matteo take the responsibility for the HDF5+NetCDF topic?8.7.0