-
Notifications
You must be signed in to change notification settings - Fork 5
Python
The current page provides instructions on how to use python scripts to each HPC, and it will be updated as we progress. In all the cases, we will try using anaconda.
There are several installations of the anaconda, the last update to version 4.7.10 broke the most libraries for the graphics. You can keep using the working versions that you have, but there is no guarantee that the graph modules will work.
For now, the most stable is the following:
module use -a /scratch2/NCEPDEV/marine/Todd.Spindler/save/modulefiles/
module load anaconda/1.0.0
Running jobs on computational nodes based on python will return an Errno 101. Something like this:
--- Logging error --- Traceback (most recent call last): File ".../lib/python3.7/logging/handlers.py", line 939, in emit self.socket.sendto(msg, self.address) OSError: [Errno 101] Network is unreachable
Note 1: There is an open ticket about this error.
Note 2: Despite the error, all the scripts are executed correctly, and the outputs are correct.
When you're thirsty and it seems that you could drink the entire ocean, that's faith; when you start to drink and finish only a glass or two, that's science. Anton Chekhov