Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xESMF #386

Open
5 tasks
laraPPr opened this issue Aug 13, 2024 · 7 comments
Open
5 tasks

xESMF #386

laraPPr opened this issue Aug 13, 2024 · 7 comments
Assignees
Labels
difficulty: easy software that should be easy to support easyconfig Easyconfig is available priority: low Python site:t1_ugent_hortense Software installation request for Tier-1 Hortense update

Comments

@laraPPr
Copy link
Collaborator

laraPPr commented Aug 13, 2024

  • link to support ticket: #2024081260000761
  • website: https://xesmf.readthedocs.io/en/stable/
  • installation docs: https://xesmf.readthedocs.io/en/stable/installation.html
  • toolchain: foss/2023b or 'foss/2023a' if too many of the dependencies are still missing
  • easyblock to use: PythonPackage
  • required dependencies:
    • Python
    • SciPy-bundle # for numpy, scipy
    • ESMPy
    • xarray
  • optional dependencies:
    • ...
  • notes:
    • The user also asks for xarray and cf-array (since array is a dependency will open a second ticket for it but will also open one for cf-array)
  • effort: (TBD)
  • other install methods
    • conda: yes (link?) / no
    • container image: yes (link?) / no
    • pre-built binaries (RHEL8 Linux x86_64): yes (link?) / no
    • easyconfig outside EasyBuild: yes / no
@laraPPr laraPPr added difficulty: easy software that should be easy to support priority: low Python update site:t1_ugent_hortense Software installation request for Tier-1 Hortense easyconfig Easyconfig is available labels Aug 13, 2024
@laraPPr laraPPr mentioned this issue Aug 13, 2024
2 tasks
@lexming
Copy link
Collaborator

lexming commented Aug 14, 2024

I have a PR open for this 🙂

@pavelToman pavelToman self-assigned this Nov 5, 2024
@laraPPr
Copy link
Collaborator Author

laraPPr commented Nov 7, 2024

@pavelToman I'm gonna leave it open until it is installed and informed the user.

@laraPPr laraPPr reopened this Nov 7, 2024
@laraPPr
Copy link
Collaborator Author

laraPPr commented Nov 7, 2024

@pavelToman I've created an new list of items for software that still needs to be installed and where the user is not informed yet. So than you can close the issues.

@laraPPr
Copy link
Collaborator Author

laraPPr commented Nov 8, 2024

@lexming I'm trying to get ESMPy installed on Hertense but it is failing

export 

PYTHONPATH=/tmp/eb-exlczbtv/tmp10woyzzy/lib/python3.11/site-packages:$PYTHONPAT

H && sed -i 's/^\(DATA_URL.*earthsystemmodeling.org\)/# \1/;s/# 

\(DATA_URL.*github.com\)/\1/' src/esmpy/util/cache_data.py && unset 

ESMPY_DATA_DIR && export ESMPY_DATA_NEW_DIR=/tmp &&  pytest

  >> command completed: exit 1, ran in 00h00m08s

@lexming
Copy link
Collaborator

lexming commented Nov 8, 2024

@laraPPr hmmm... I can reproduce this error in Hortense, but the same easyconfig works in Hydra 🙂 I'll try to figure out why

@lexming
Copy link
Collaborator

lexming commented Nov 9, 2024

@laraPPr Got it. The tests of ESMPy need a sane MPI environment and the problem is that Hortense does not have one by default. So you have to do extra work and load vsc-mympirun and then run the tests with something like mpirun --mpirunoptions="-np 1" pytest.

@laraPPr
Copy link
Collaborator Author

laraPPr commented Nov 26, 2024

@boegel Could I do this via a hook? Or do you know another way how to best do this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty: easy software that should be easy to support easyconfig Easyconfig is available priority: low Python site:t1_ugent_hortense Software installation request for Tier-1 Hortense update
Projects
None yet
Development

No branches or pull requests

3 participants