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

Issues running/testing on Izumi #2645

Closed
ekluzek opened this issue Jul 12, 2024 · 2 comments
Closed

Issues running/testing on Izumi #2645

ekluzek opened this issue Jul 12, 2024 · 2 comments
Labels
bug something is working incorrectly closed: wontfix We won't fix this issue, because it would be too difficult and/or isn't important enough to fix enhancement new capability or improved behavior of existing capability investigation Needs to be verified and more investigation into what's going on. testing additions or changes to tests

Comments

@ekluzek
Copy link
Collaborator

ekluzek commented Jul 12, 2024

We've had trouble running on Izumi, where it will work for some -- but not others. Personally I had things working until ctsm5.2.007 where the CESM build went from python/3.7.0 to python/3.11.5. I did have to fiddle with things before that, but had it working. I also had tested a few cases when that change was coming and saw things working, but I found later that other tests would fail. It also started failing for @glemieux at this point as well. Others such as @samsrabin and @slevis-lmwg had things working. And I actually had both of them run tests for me during this time.

Below I reference some issues filed with NRIT CGD IT support regarding this (form HELP-????? for the ticket number). I worked with Joseph O'Neil and Garth D'Attilo on these things.

The problems I saw throughout this:

  • I couldn't run CESM tests (once we moved to ctsm5.2.007)
  • The ctsm_pylib environment created with python/3.11.5 was invalid (HELP-29204)
  • Some tests failed for me because it couldn't find "env" (HELP-27216)

We talked about this at our CTSM SE meeting yesterday. Here's a link to the notes, which includes some about people's setup that they had working:

https://docs.google.com/document/d/1tgDRocjAFF1svWjt0mvjjPaPLFuDZEHLpf4vlGIQs5o/edit#heading=h.yotzlypez1l7

This relates to #2622

@briandobbins

@ekluzek ekluzek added enhancement new capability or improved behavior of existing capability closed: wontfix We won't fix this issue, because it would be too difficult and/or isn't important enough to fix investigation Needs to be verified and more investigation into what's going on. bug something is working incorrectly testing additions or changes to tests labels Jul 12, 2024
@ekluzek
Copy link
Collaborator Author

ekluzek commented Jul 12, 2024

Joseph figured out that module environments interact with conda environments -- so you can only really have one or the other working at the same time. So this means a couple things

  1. Don't add module loads to ANY startup files
  2. Don't do any module loads before running CESM cases
  3. If you want to load a conda environment created with python/3.11.5 -- start a fresh shell and only load the conda environment

Once, I did that I could create a new ctsm_pylib environment with python/3.11.5. You create the environment with modules loaded and then only activate it in a new login shell where modules were NOT loaded.

@glemieux
Copy link
Collaborator

Thanks for this @ekluzek. I can confirm that following this cleared up the issues I was seeing.

@ekluzek ekluzek closed this as completed Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something is working incorrectly closed: wontfix We won't fix this issue, because it would be too difficult and/or isn't important enough to fix enhancement new capability or improved behavior of existing capability investigation Needs to be verified and more investigation into what's going on. testing additions or changes to tests
Projects
None yet
Development

No branches or pull requests

2 participants