HPC Upload
guidelines
HPC
CLI
How to upload files to and run script in HPC!!
Step-by-Step
Step 1: Log into HPC
- Input user
ssh shasan01@bora.sciclone.wm.edu- Input password
Step 3: Upload new file
- go to os terminal
scp file_name.py shasan01@bora.sciclone.wm.edu:/sciclone/scr10/shasan01/Api_Evo/- moves file_name into the Api_Evo container
Step 4: Create new shell script
nano file_name.sh- opens text editor
#!/bin/bash
#SBATCH --job-name=description
#SBATCH --nodes=1
#SBATCH --ntasks=1
#SBATCH -t 1:00:00
#SBATCH --mem=12G
python file_name.py cds_files/ ^O to save file enter ^X to exit
Step 5: Submit job
sbatch file_name.sh squeue --me cat slurm- checks for errors in job submission / code script
rm slurm- removes slurm file
- make sure to remove for each time cat slurm is submitted