]> code.communitydata.science - cdsc_reddit.git/blobdiff - comments_2_parquet.sh
Bugfixes in scripts.
[cdsc_reddit.git] / comments_2_parquet.sh
index 802cc70b7a880220725ec7a443e8345b1ae27e74..096fa061bf015a83e3c5218e3f7ca01e01b7912b 100755 (executable)
@@ -1,9 +1,9 @@
 #!/usr/bin/env bash
 
-echo "!#/usr/bin/bash" > job_script.sh
+echo "#!/usr/bin/bash" > job_script.sh
 echo "source $(pwd)/../bin/activate" >> job_script.sh
 echo "python3 $(pwd)/comments_2_parquet_part1.py" >> job_script.sh
 
-srun -p comdata -A comdata --nodes=1 --mem=120G --time=48:00:00 job_script.sh
+srun -p comdata -A comdata --nodes=1 --mem=120G --time=48:00:00 --pty job_script.sh
 
 start_spark_and_run.sh 1 $(pwd)/comments_2_parquet_part2.py

Community Data Science Collective || Want to submit a patch?