Hi,
I’ve generated an error I haven’t seen before with a suite (u-cu408) which was working fine previously.
File “/work/n02/n02/jweber/cylc-run/u-cu408/app/install_ancil/bin/create_ancil_links.py”, line 86
print ‘Link {0} to {1}’.format(link, target)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to ‘print’. Did you mean print(…)?
[FAIL] create_ancil_links.py <<‘STDIN’
[FAIL]
[FAIL] ‘STDIN’ # return-code=1
2023-03-21T14:22:27Z CRITICAL - failed/EXIT
This looks like a python version error. I think this may have come about as made some changes to the python environment because I wanted to use cf python on Archer2 to extract particular fields before transferring model output to Jasmin to save space and reduce transfer time. I ran the commands in Section 1-4 of this Reducing UM-UKCA data output using flight-track simulation document first in my work (incorrectly) and then in home (correctly).
cfpython is now working on Archer2 but do I need to need to switch back to a different python version to run UKESM?
Cheers,
James