1
0
adaptation-slr/containers/ocr_job_script.sh

24 lines
797 B
Bash

#!/bin/bash
#SBATCH -A p32852
#SBATCH -p gengpu
#SBATCH --gres=gpu:a100:1
#SBATCH --nodes=2
#SBATCH --ntasks-per-node=1
#SBATCH --time=24:00:00
#SBATCH --mem=64G
#SBATCH --cpus-per-task=4
#SBATCH --job-name=SLR_OCR
#SBATCH --output=slr_ocr_job.log
#SBATCH --mail-type=BEGIN,END,FAIL
#SBATCH --mail-user=gaughan@u.northwestern.edu
echo "setting up the environment by loading singularity at $(date)"
module load singularity
echo "singularity loaded, running the job command at $(date)"
singularity run --nv -B /home/nws8519/git/adaptation-slr/ /home/nws8519/git/adaptation-slr/containers/new_olmocr_container.sif python -m olmocr.pipeline /home/nws8519/git/adaptation-slr/ocr_studies_text/ --markdown --pdfs /home/nws8519/git/adaptation-slr/studies/014-norskov.pdf
echo "job pau at: $(date)"