]> code.communitydata.science - cdsc_reddit.git/blobdiff - similarities/job_script.sh
changes for archiving.
[cdsc_reddit.git] / similarities / job_script.sh
index 1158ff052f4cbef2ca23efb79b98e1778d4ee18f..926b20a38eacb41a0deecc95eefc1d73d73f11d4 100755 (executable)
@@ -1,4 +1,6 @@
 #!/usr/bin/bash
+source ~/.bashrc
+echo $(hostname)
 start_spark_cluster.sh
-singularity exec  /gscratch/comdata/users/nathante/containers/nathante.sif spark-submit --master spark://$(hostname):7077 tfidf.py authors --topN=100000 --inpath=/gscratch/comdata/output/reddit_ngrams/comment_authors.parquet --outpath=/gscratch/scrubbed/comdata/reddit_similarity/tfidf/comment_authors_100k.parquet
-singularity exec /gscratch/comdata/users/nathante/containers/nathante.sif stop-all.sh
+spark-submit --verbose --master spark://$(hostname):43015 tfidf.py authors --topN=100000 --inpath=../../data/reddit_ngrams/comment_authors_sorted.parquet --outpath=../../data/reddit_similarity/tfidf/comment_authors_100k.parquet
+stop-all.sh

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