File size: 688 Bytes
24aaa76 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | #!/bin/bash
#SBATCH --job-name=rel2_parquet
#SBATCH --partition=ZEN4
#SBATCH --qos=nu-zen4
#SBATCH --gres=none
#SBATCH --cpus-per-task=4
#SBATCH --mem=48G
#SBATCH --time=03:00:00
#SBATCH --output=/path/to/TURKIC_OCR_DATA/logs/%x_%j.out
# RELEASE2 D9: Parquet shards with embedded images under DATA/release/rc1_data_parquet (never uploaded).
set -u
echo "start $(date -u +%FT%TZ) host $(hostname)"
/path/to/TURKIC_OCR_CODE/.venv_gen/bin/python -I /path/to/TURKIC_OCR_CODE/scripts/release2/rel2_parquet.py
rc=$?
if [ $rc -eq 0 ]; then cd /path/to/TURKIC_OCR_DATA/release/rc1_data_parquet && sha256sum -c --quiet SHA256SUMS && echo "sha256sums_ok"; fi
echo "exit $rc end $(date -u +%FT%TZ)"
|