Skip to content

UFS_IC_generator.py Python error on Hera #255

Discussion options

You must be logged in to vote

@wzzheng90 This is a python2/3 problem. The UFS_IC_generator.py script as it sits in the repository is not updated to use python3 yet, but the Hera_setup_intel.csh script is loading python3.

This file has been updated to use python3 in #224, but I haven't tested that code sufficiently enough to have it merged into the master. You can try a couple of different things:

  1. Get the new version of UFS_IC_generator.py from the #224 pull request and try it
  2. Try an older version of scm/etc/Hera_setup_intel.csh that still loads a python2 environment (like the one before python3 was introduced: 478b8e3#diff-1968ed9b2cf3fa296f74530e35efc7586e41c0ece288f14a529688f3de88ff3a)

Replies: 4 comments 2 replies

Comment options

grantfirl
Apr 20, 2021
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by grantfirl
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@grantfirl
Comment options

grantfirl Apr 20, 2021
Maintainer Author

Comment options

You must be logged in to vote
1 reply
@grantfirl
Comment options

grantfirl Apr 22, 2021
Maintainer Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants