Opened 14 months ago

Last modified 14 months ago

#331 closed Support

problem with importing eccodes library in flex_extract_v7.1.3 — at Initial Version

Reported by: gance Owned by:
Priority: major Milestone:
Component: flex_extract Version: flex_extract_v7.1
Keywords: Cc:

Description

Hello
I can't solve a problem with running the new run_bologna script to extract ecmwf fields using the remote access on my new ATOS home directory.

I got the following error message in the job output message

MARS retrieve done ...

Prepare 20220831/to/20220831
Traceback (most recent call last):

File "/home/tpn/flex_extract_v7.1.3/Source/Python/submit.py", line 272, in <module>

main()

File "/home/tpn/flex_extract_v7.1.3/Source/Python/submit.py", line 110, in main

prepare_flexpart(ppid, c)

File "/home/tpn/flex_extract_v7.1.3/Source/Python/Mods/prepare_flexpart.py", line 161, in prepare_flexpart

flexpart.deacc_fluxes(inputfiles, c)

File "/home/tpn/flex_extract_v7.1.3/Source/Python/Classes/EcFlexpart.py", line 974, in deacc_fluxes

from eccodes import (codes_index_select, codes_get,

File "/usr/local/apps/python3/3.8.8-01/lib/python3.8/site-packages/eccodes/init.py", line 13, in <module>

from .eccodes import * # noqa

File "/usr/local/apps/python3/3.8.8-01/lib/python3.8/site-packages/eccodes/eccodes.py", line 12, in <module>

from gribapi import (

File "/usr/local/apps/python3/3.8.8-01/lib/python3.8/site-packages/gribapi/init.py", line 13, in <module>

from .gribapi import * # noqa

File "/usr/local/apps/python3/3.8.8-01/lib/python3.8/site-packages/gribapi/gribapi.py", line 34, in <module>

from gribapi.errors import GribInternalError?

File "/usr/local/apps/python3/3.8.8-01/lib/python3.8/site-packages/gribapi/errors.py", line 16, in <module>

from .bindings import ENC, ffi, lib

File "/usr/local/apps/python3/3.8.8-01/lib/python3.8/site-packages/gribapi/bindings.py", line 35, in <module>

raise RuntimeError?("Cannot find the ecCodes library")

RuntimeError?: Cannot find the ecCodes library

I have checked that eccodes is indeed mounted using python3 -m eccodes selfcheck

The submitscript.template looks correct with

module load python3

module load ecmwf-toolbox
module load ecaccess

Error occurs when processing the flux accumulated fields.

Could you help to solve this problem ?

Best regards

Gerard

Change History (0)

Note: See TracTickets for help on using tickets.
hosted by ZAMG