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

-- 
Dr. Loris Bennett (Mr.)
ZEDAT, Freie Universität Berlin         Email [email protected]

Reply via email to