Conversation
|
cscs-ci run alps;system=balfrin;uarch=zen3;uenv=fdb:5.18 |
|
cscs-ci run alps;system=balfrin;uarch=zen3;uenv=fdb:5.18 |
|
cscs-ci run alps;system=balfrin;uarch=zen3;uenv=fdb:5.18 |
|
cscs-ci run alps;system=balfrin;uarch=zen3;uenv=fdb:5.18 |
Test if script is working without impoerting eccodes.
|
cscs-ci run alps;system=balfrin;uarch=zen3;uenv=fdb:5.18 |
recipes/fdb/5.18/post-install
Outdated
| jq --arg view "$view" '.views[$view].env.values.list.GRIB_DEFINITION_PATH = [{"op":"prepend","value":["/user-environment/data/share/eccodes-cosmo-mars/definitions", "/user-environment/data/share/definitions.edzw-2.38.3-1","/user-environment/env/fdb/share/eccodes/definitions"]}]' store/meta/env.json > tmp.json && mv tmp.json store/meta/env.json | ||
| jq --arg view "$view" '.views[$view].env.values.list.PATH[0].value |= ["/user-environment/venvs/fdb/bin/"] + .' store/meta/env.json > tmp.json && mv tmp.json store/meta/env.json | ||
| jq --arg view "$view" '.views[$view].env.values.list.FDB_ENABLE_GRIBJUMP = [{"op":"set","value":"1"}]' store/meta/env.json > tmp.json && mv tmp.json store/meta/env.json | ||
| jq --arg view "$view" '.views[$view].env.values.list.ECCODES_DIR = [{"op":"set","value":["/user-environment/env/$view/share/eccodes"]}]' store/meta/env.json > tmp.json && mv tmp.json store/meta/env.json |
There was a problem hiding this comment.
The variable should point to the view since findlib will search in a lib or lib64 sub path
There was a problem hiding this comment.
/user-environment/env/$view
recipes/fdb/5.18/post-install
Outdated
| $python_exe -m venv /user-environment/venvs/fdb | ||
| source /user-environment/venvs/fdb/bin/activate | ||
| /user-environment/bin/poetry install | ||
| poetry remove eccodeslib |
There was a problem hiding this comment.
This is currently not documented but it looks like the correct way to install without the binary is to set the env var DEPEND_ON_ECCODESLIB to 0 before calling poetry install
https://github.com/ecmwf/eccodes-python/blob/2.45.0/setup.py#L20
There was a problem hiding this comment.
Ok amazing I'll try:)
Remove eccodeslib dependency from poetry and set DEPEND_ON_ECCODESLIB to 0.
|
cscs-ci run alps;system=balfrin;uarch=zen3;uenv=fdb:5.18 |
|
cscs-ci run alps;system=balfrin;uarch=zen3;uenv=fdb:5.18 |
2 similar comments
|
cscs-ci run alps;system=balfrin;uarch=zen3;uenv=fdb:5.18 |
|
cscs-ci run alps;system=balfrin;uarch=zen3;uenv=fdb:5.18 |
|
Hi @bcumming, Thanks and all the best. |
|
cscs-ci run alps;system=balfrin;uarch=zen3;uenv=fdb:5.18 |
|
cscs-ci run alps;system=balfrin;uarch=zen3;uenv=fdb:5.18 |
Remove eccodeslib from poetry dependencies after installation.
|
cscs-ci run alps;system=balfrin;uarch=zen3;uenv=fdb:5.18 |
No description provided.