Skip to content

STOP-ALL ERROR: Error in netcdf routine #108

@AlexanderdeMeij

Description

@AlexanderdeMeij

Dear,
I am contacting you about a problem I experience with the EMEP model using WRF meteorology. I previously contacted you via email, but I agree that's better to contact you via Github.

I am running the model (rv4_34) on a docker system here at the JRC (Ispra), see issue #76

With the IFS meteo, the EMEP model works fine, but when I used WRF meteo it gives me the following error:
"Input/output error
STOP-ALL ERROR: Error in netcdf routine".

This happens at any random day. This means that when I re-launch the model, it stops let say in February. When I re-launch again the model stops in June (and the problem in February doesn't pop up anymore), with the same error message.
I've created new WRF meteo (different physics) and different resolution to reduce the file size. Currently I am trying to run the model with WRF meteo files of ~2.0GB.

I have no idea what thee problem is. I am also in contact with Massimo Vieno and he told me to add this line in NetCDF_mod.f90

!send all data to me=0
     !outCDFtag=outCDFtag+1 
     ! Alex:
     outCDFtag=mod(outCDFtag+1,100000) !!! MV 04/21 Peter fix fo MPI_SEND tag error
     ! Alex

Still I get the same error message.

As suggested by you I've tried the command ldd name_executable. This is what I get:

        linux-vdso.so.1 (0x00007ffd407ce000)
	libnetcdff.so.6 => not found
	libnetcdf.so.13 => not found
	libmpi_f90.so.1 => not found
	libmpi_f77.so.1 => not found
	libmpi.so.1 => not found
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f1c7d475000)
	libhwloc.so.5 => not found
	libgfortran.so.3 => not found
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f1c7d326000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f1c7d30b000)
	libquadmath.so.0 => /lib/x86_64-linux-gnu/libquadmath.so.0 (0x00007f1c7d2c1000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f1c7d29c000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f1c7d0aa000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f1c7d498000)

Also, this netCDF 4.6.2 has been built with the following features:

  --cc            -> mpicc
  --cflags        -> -I/usr/include 
  --libs          -> -L/usr/lib -lnetcdf

  --has-c++       -> no
  --cxx           -> 

  --has-c++4      -> no
  --cxx4          -> 

  --has-fortran   -> yes
  --fc            -> /usr/bin/gfortran
  --fflags        -> -I/usr/local/include
  --flibs         -> -L/usr/local/lib -lnetcdff -L/usr/local/lib -lnetcdf -lnetcdf
  --has-f90       -> no
  --has-f03       -> yes

  --has-dap       -> yes
  --has-dap2      -> yes
  --has-dap4      -> yes
  --has-nc2       -> yes
  --has-nc4       -> yes
  --has-hdf5      -> yes
  --has-hdf4      -> no
  --has-logging   -> no
  --has-pnetcdf   -> no
  --has-szlib     -> no
  --has-cdf5      -> yes
  --has-parallel4 -> yes
  --has-parallel  -> yes

  --prefix        -> /usr
  --includedir    -> /usr/include
  --libdir        -> /usr/lib
  --version       -> netCDF 4.6.2

Do we miss something when we compile the EMEP code?

Best regards,
Alexander de Meij

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions