Skip to content

Commit

Permalink
Updated HDF5, netcdf and netcdff libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
sangallidavide committed Oct 27, 2020
1 parent 3348ae8 commit e137d3e
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 19 deletions.
19 changes: 9 additions & 10 deletions lib/archive/package.list
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#
# storing options
#
#keep_iotk=no
keep_iotk=yes
keep_netcdf=no
keep_netcdff=no
Expand All @@ -18,9 +17,9 @@ keep_fftqe=no
# tarball names
#
tarball_iotk=iotk-y1.2.2.tar.gz
tarball_netcdf=netcdf-4.4.1.1.tar.gz
tarball_netcdff=netcdf-fortran-4.4.4.tar.gz
tarball_hdf5=hdf5-1.8.18.tar.gz
tarball_netcdf=netcdf-c-4.7.4.tar.gz
tarball_netcdff=netcdf-fortran-4.5.2.tar.gz
tarball_hdf5=hdf5-1.12.0.tar.gz
tarball_etsf_io=etsf_io-1.0.4.tar.gz
tarball_libxc=libxc-2.2.3.tar.gz
tarball_lapack=lapack-3.6.1.tar.gz
Expand All @@ -34,9 +33,9 @@ tarball_fftqe=fftqe.tar.gz
# package names
#
pkgname_iotk=iotk
pkgname_netcdf=netcdf-4.4.1.1
pkgname_netcdff=netcdf-fortran-4.4.4
pkgname_hdf5=hdf5-1.8.18
pkgname_netcdf=netcdf-c-4.7.4
pkgname_netcdff=netcdf-fortran-4.5.2
pkgname_hdf5=hdf5-1.12.0
pkgname_etsf_io=etsf_io-1.0.4
pkgname_libxc=libxc-2.2.3
pkgname_lapack=lapack-3.6.1
Expand All @@ -49,9 +48,9 @@ pkgname_fftqe=fftqe
#
# URL's
#
url_netcdf=https://github.com/yambo-code/yambo/files/855476/$(tarball_netcdf)
url_netcdff=https://github.com/yambo-code/yambo/files/855477/$(tarball_netcdff)
url_hdf5=https://github.com/yambo-code/yambo/files/838459/$(tarball_hdf5)
url_netcdf=https://github.com/yambo-code/yambo/files/4570415/$(tarball_netcdf)
url_netcdff=https://github.com/yambo-code/yambo/files/4570426/$(tarball_netcdff)
url_hdf5=https://github.com/yambo-code/yambo/files/4574415/$(tarball_hdf5)
url_libxc=https://github.com/yambo-code/yambo/files/783150/$(tarball_libxc)
url_iotk=https://github.com/yambo-code/yambo/files/962173/$(tarball_iotk)
url_etsf_io=https://github.com/yambo-code/yambo/files/845218/$(tarball_etsf)
Expand Down
3 changes: 0 additions & 3 deletions lib/hdf5/Makefile.loc
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,9 @@ configure-stamp: uncompress-stamp
./configure $(AUXFLAGS) \
CC="$(cc)" \
CPP="$(cpp)" \
CFLAGS="$(cflags)" \
CXX="$(cc)" \
CXXCPP="$(cpp)" \
CXXFLAGS="$(cflags)" \
FC="$(fc)" \
FCFLAGS="$(fcflags)" \
CPPFLAGS="$(netcdf_aux)" ); \
fi
touch configure-stamp
Expand Down
11 changes: 8 additions & 3 deletions lib/netcdf/Makefile.loc
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@ AUXFLAGS=--prefix=$(LIBPATH) \
--without-pic --enable-static --disable-shared \
--disable-dap $(netcdf_opt)

# DEBUG <
# This option is useful for debugging netcdf4 problems
# --enable-logging
# See also the connected call in src/setup/setup.F
# call netcdf_call(nf90_set_log_level(3),1)
# DEBUG >


#
# MAIN target
#
Expand All @@ -36,12 +44,9 @@ configure-stamp: uncompress-stamp
./configure $(AUXFLAGS) \
CC="$(cc)" \
CPP="$(cpp)" \
CFLAGS="$(cflags)" \
CXX="$(cc)" \
CXXCPP="$(cpp)" \
FC="$(fc)" \
FCFLAGS="$(fcflags)" \
FFLAGS="$(fflags)" \
CPPFLAGS="$(netcdf_flag) $(ihdf5)" \
LIBS="$(lhdf5)" \
F77="$(f77)" ); \
Expand Down
10 changes: 7 additions & 3 deletions lib/netcdff/Makefile.loc
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@ TARBALL=$(tarball_netcdff)
AUXFLAGS=--prefix=$(LIBPATH) \
--without-pic --enable-static --disable-shared

# DEBUG <
# This option is useful for debugging netcdf4 problems
# --enable-logging
# See also the connected call in src/setup/setup.F
# call netcdf_call(nf90_set_log_level(3),1)
# DEBUG >

#
# MAIN target
#
Expand All @@ -35,12 +42,9 @@ configure-stamp: uncompress-stamp
./configure $(AUXFLAGS) \
CC="$(cc)" \
CPP="$(cpp)" \
CFLAGS="$(cflags)" \
CXX="$(cc)" \
CXXCPP="$(cpp)" \
FC="$(fc)" \
FCFLAGS="$(fcflags)" \
FFLAGS="$(fflags)" \
CPPFLAGS="$(netcdf_flag) $(ihdf5) $(inetcdf)" \
LIBS="$(lnetcdf) $(lhdf5)" \
F77="$(f77)" ); \
Expand Down

0 comments on commit e137d3e

Please sign in to comment.