HPC Upload

guidelines
HPC
CLI
How to upload files to and run script in HPC!!
Author

Shama Hasan

Published

March 25, 2026

Step-by-Step

Step 1: Log into HPC

  1. Input user
ssh shasan01@bora.sciclone.wm.edu
  1. Input password

Step 2: Navigate to necessary directory and folder

cd scr10
  • changes current working directory to a specific, high-performance “scratch” directory
pwd
  • displays current path of directory you are currently in
ls 
  • lists all contents (files / subdirectories) of directory
cd Api_Evo/
  • moves into desired folder

Step 3: Upload new file

  1. 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