ssh user@greatlakes.arc-ts.umich.edu
.gl-loginX.arc-ts.umich.edu
. /home/user/
is unique to GL -- it is not AFS./afs/
stats507f21_class
my_accounts
. my_job_estimate
to get an estimate of the per hour rate. module
command.module keyword
or module spider
to search for modules.module load
to request software and a license, if needed, e.g.,
module load tensorflow
.module list
to see currently loaded modules. #SBATCH --get-user-env
module spider tensorflow
to see installations.module load tensorflow/2.5.0
.module list
to see others loaded and read info for the specific
Python installation.pip install --user
python script.py
. -c
option.sys.argv
for a list of command line arguments.script.py
as python3.9 script.py a b 3 D
then
sys.argv
is a list ['script.py', 'a', 'b', '3', 'D']
. #SBATCH
in a shell (.sh
)
script.sbatch
command. run-mp_isolet.sh
and mp_isolet.py
. run
and
including the name of the script each runs. #SBATCH --array
and a set of indices, e.g., 1-4
or 1,2,4
. %a
) or in your shell script using
${SLURM_ARRAY_TASK_ID}
. run-array-mp_isolet.py
. #SBATCH
directives in a shell script and the
sbatch
command. sys.argv
to access command line arguments when running Python in
batch mode.