Hi all, Loris, to test this, you can download the updated easyblock from https://raw.githubusercontent.com/easybuilders/easybuild-easyblocks/de9f76f02681aacec9543e14f7fd6e2edcec8683/easybuild/easyblocks/s/siesta.py and use --include-easyblock with the downloaded file on the command line along the lines of:
eb Siesta-4.1-b4-foss-2018b.eb --include-easyblock siesta.py > On 19 Feb 2020, at 16:42, Maik Schmidt <[email protected]> wrote: > > Hi Loris, > > just yesterday, I opened an issue concerning the very same problem, see: > > https://github.com/easybuilders/easybuild-easyblocks/issues/1965 > https://github.com/easybuilders/easybuild-easyblocks/pull/1967 > > This adds the NetCDF-4 support. No MPI-IO and METIS ordering support yet, > though. Maybe this should be added to the easyblock, too. > > Best, > Maik > > Am 19.02.20 um 16:29 schrieb Loris Bennett: >> Hi, >> >> I'm having difficulty getting tbtrans from Siesta to use NetCDF 4. >> Apparently, when tbtrans is run it should print out >> >> PARALLEL version >> NetCDF support >> NetCDF-4 support >> NetCDF-4 MPI-IO support >> METIS ordering support >> >> but I just get >> >> PARALLEL version >> NetCDF support >> >> The script to build the version of netCDF which comes with Siesta >> implies that the following flags need to be set >> >> FPPFLAGS += -DCDF -DNCDF -DNCDF_4 >> >> Thus I changed the following line in the Siesta easyblock from >> >> (r"^(FPPFLAGS\s*=.*)$", r"\1 -DCDF $(NETCDF_INCLUDE)"), >> >> to >> >> (r"^(FPPFLAGS\s*=.*)$", r"\1 -DCDF -DNCDF -DNCDF_4 >> $(NETCDF_INCLUDE) "), >> >> but I still don't get >> >> NetCDF-4 support >> >> The Siesta documentation also mentions setting >> >> COMP_LIBS += libncdf.a libfdict.a >> >> in order to compile against the Siesta version of NetCDF. This seems to >> conflict with >> >> libnetcdff.a >> >> which is the static library provided by the EC for netCDF-Fortran. >> >> Any ideas? >> >> Cheers, >> >> Loris >> > > -- > Maik Schmidt > HPC Services > > Technische Universität Dresden > Zentrum für Informationsdienste und Hochleistungsrechnen (ZIH) > Andreas-Pfitzmann-Bau E049 > D-01187 Dresden > Telefon: +49 351 463-32836 -- Terje Kvernes Head sysadmin Department of Mathematics University of Oslo

