-
Notifications
You must be signed in to change notification settings - Fork 134
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
Add gnuplot to the conda environment #483
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Dave!
I'm not sure why this is failing. It seems to be building the conda environment correctly ... |
Could you comment out the gnuplot addition then push that change. Lets see if that fails ghactions. If not, turn it back on then resubmit, lets see if the failure is a problem in ghactions or gnuplot. It seems to be failing on debug+histcdf. I wonder if adding gnuplot is messing with the netcdf somehow. |
Did you build and run the icepack test suite on your mac or just verify that gnuplot was part of the environment? |
Looks like ghactions may have changed and now things are not working, see #484. Occurs far too often. Let me look into it. |
@dabail10, if you get a chance, can you run the io_suite on your mac laptop and let me know if you get any failures. I'm having trouble duplicating this error with my mac env (older OS), and I'm not getting much useful info from the log files on github actions. I'm updating my conda env now and will try a laptop shortly to see if I can make any progress. Just wondering if a newer mac OS which you might have will pick this up. |
I updated my conda env on my mac desktop, I'm seeing the failure now. Will try to debug. @dabail10, don't need anything from you at the moment. |
This worked on my mac: #------- Descriptors: 28 measured results of 28 total results |
OK, it did for me too until I updated to the latest conda env. You can update your conda env by doing something like conda env create -f configuration/scripts/machines/environment.yml --force from the top of cice or icepack. I've decided this is a compiler issue. It's failing in nf90_create when debug is on, in particular with ffpe-trap=invalid. So, I'm going to turn off that debug flag. Will update #484 with this fix, we can merge that, then we can restart ghactions testing on this PR. |
@dabail10, can you update your branch from main then push the update. That should allow ghactions to run. |
I changed a comment line and committed and pushed, but it did not restart GHActions. |
I just commented out the gnuplot line and comitted / pushed and still not working. |
ghactions ran and passed. Can you update the branch again with gnuplot. |
* Add gnuplot to the conda environment This fix allows the timeseries.csh script to be used for Icepack standalone runs.
For detailed information about submitting Pull Requests (PRs) to the CICE-Consortium,
please refer to: https://github.com/CICE-Consortium/About-Us/wiki/Resource-Index#information-for-developers
PR checklist
Just adds gnuplot to the conda environment.
dabail10 (D. Bailey)
Tested on my Mac conda environment.
[cgdm-hurricane:~/icepack-tutorial/icepack_master] dbailey% conda env create -f configuration/scripts/machines/environment.yml
Channels:
Platform: osx-64
Collecting package metadata (repodata.json): done
Solving environment: done
Downloading and Extracting Packages:
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
To activate this environment, use
$ conda activate icepack
To deactivate an active environment, use
$ conda deactivate
[cgdm-hurricane:
/icepack-tutorial/icepack_master] dbailey% conda activate icepack/icepack-tutorial/icepack_master] dbailey% which gnuplot(icepack) [cgdm-hurricane:
/Users/dbailey/miniconda3/envs/icepack/bin/gnuplot
This fix allows the timeseries.csh script to be used for Icepack standalone runs.