Configuring with NetCDF
Posted: Fri Sep 19, 2014 12:01 pm
Dear all,
I have a problem to build abinit with NetCDF.
I am compiling the version 7.8.2.
The configuration works fine and complation seems ok but at running time I have a crash:
--- !ERROR
message: |
Netcdf Error while closing the OUT.nc file: NetCDF: Not a valid ID
src_file: outvars.F90
src_line: 359
...
I compared file outvars.F90 to older 7.3.1 version file and they are different:
some preprocessor directive conscerning HAVE_TRIO_NETCDF HAVE_TRIO_ETSF_IO
(Test and configuration work very well with 7.3.1 version).
There is a problem or I made a wrong configuration?
Thanks.
Best regard,
Marco
NB: I put here my configuration file
# Config file for ABINIT on PC-reseau O
# with G95 compiler
# =====================================
with_mpi_prefix="/opt/open-mpi/1.8.1/intel_14.0/"
enable_mpi="yes"
enable_mpi_io="yes"
disable_all_plugins="yes"
with_trio_flavor="netcdf"
with_netcdf_incs="-I/opt/netcdf/4.3/intel_14/include"
with_netcdf_libs="-L/opt/netcdf/4.3/intel_14/lib -lnetcdff -lnetcdf"
with_linalg_flavor="mkl"
with_linalg_libs="-L/opt/intel/14.0/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -liomp5 -lpthread -lm"
with_linalg_incs="-I/opt/intel/14.0/mkl/include/"
with_dft_flavor="none"
enable_gw_dpc="no"
enable_maintainer_checks="no"
I have a problem to build abinit with NetCDF.
I am compiling the version 7.8.2.
The configuration works fine and complation seems ok but at running time I have a crash:
--- !ERROR
message: |
Netcdf Error while closing the OUT.nc file: NetCDF: Not a valid ID
src_file: outvars.F90
src_line: 359
...
I compared file outvars.F90 to older 7.3.1 version file and they are different:
some preprocessor directive conscerning HAVE_TRIO_NETCDF HAVE_TRIO_ETSF_IO
(Test and configuration work very well with 7.3.1 version).
There is a problem or I made a wrong configuration?
Thanks.
Best regard,
Marco
NB: I put here my configuration file
# Config file for ABINIT on PC-reseau O
# with G95 compiler
# =====================================
with_mpi_prefix="/opt/open-mpi/1.8.1/intel_14.0/"
enable_mpi="yes"
enable_mpi_io="yes"
disable_all_plugins="yes"
with_trio_flavor="netcdf"
with_netcdf_incs="-I/opt/netcdf/4.3/intel_14/include"
with_netcdf_libs="-L/opt/netcdf/4.3/intel_14/lib -lnetcdff -lnetcdf"
with_linalg_flavor="mkl"
with_linalg_libs="-L/opt/intel/14.0/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -liomp5 -lpthread -lm"
with_linalg_incs="-I/opt/intel/14.0/mkl/include/"
with_dft_flavor="none"
enable_gw_dpc="no"
enable_maintainer_checks="no"