X-Git-Url: https://code.communitydata.science/cdsc_reddit.git/blobdiff_plain/40d45637702fb51feb9f99ff7f6d71787af765ed..39c581bee915c97acb67e0de9e0c75e234f55050:/submissions_2_parquet.sh?ds=sidebyside diff --git a/submissions_2_parquet.sh b/submissions_2_parquet.sh index 4ec4354..f133069 100644 --- a/submissions_2_parquet.sh +++ b/submissions_2_parquet.sh @@ -1,10 +1,8 @@ -#!/usr/bin/env bash +## this should be run manually since we don't have a nice way to wait on parallel_sql jobs -echo "!#/usr/bin/bash" > job_script.sh -echo "source $(pwd)/../bin/activate" >> job_script.sh -echo "python3 $(pwd)/submissions_2_parquet_part1.py" >> job_script.sh +#!/usr/bin/env bash -srun -p comdata -A comdata --nodes=1 --mem=120G --time=48:00:00 job_script.sh +./parse_submissions.sh start_spark_and_run.sh 1 $(pwd)/submissions_2_parquet_part2.py