hpc_intro
hpc_intro,
introduces the steps necessary to work on a remote HPC system.
The notes:
Python functions (on PSC/Bridges, keras jobs are to be run on a GPU,
either with the "interact -gpu" command or a SLURM script,
and require special "module" and "activate" commands):
-
bulgaria.py,
a python script that uses matplotlib to create a jpg graphic file.
-
bulgaria_interactive.py,
a python script that uses matplotlib to plot some data,
which is shown interactively on the screen.
-
class_example_imdb_instructor.py,
a python/keras script that uses the IMDB movie database.
-
hello.py,
a one-line python script that is to be created on Bridges
using the nano editor, and then executed interactively
by typing "python hello.py".
-
hello_keras.py,
a python/keras script that essentially just checks whether keras
is available.
-
hw9.py,
a python script that is to be run interactively on Bridges,
by a command like "python hw9.py > hw9.txt".
The output from this script should be sent to the instructor
as hw9.txt.
-
mario.py,
a python script that uses matplotlib to create a png image.
-
montana.py,
a python/keras script that can be run on Bridges,
which solves a simple regression problem and creates a
png image of the result.
Shell scripts (sent to the PSC/Bridges job scheduler by "sbatch filename.sh"):
-
hello_keras_psc.sh,
a SLURM script that can submit the hello_keras example
to be run on the PSC Bridges system.
-
mario_psc.sh,
a SLURM script that can submit the mario example
to be run on the PSC Bridges system.
-
montana_psc.sh,
a SLURM script that can submit the montana example
to be run on the PSC Bridges system.
Text:
Images (can be viewed on PSC/Bridges by "display filename.png"):
Last revised on 07 November 2019.