]> code.communitydata.science - cdsc_reddit.git/blobdiff - density/job_script.sh
changes for archiving.
[cdsc_reddit.git] / density / job_script.sh
index e411ba78066618e5dcde1ce0029d719a48deff6c..71cd969f24b5d4cbcf760369363ffcbc6bca417a 100755 (executable)
@@ -1,4 +1,6 @@
 #!/usr/bin/bash
+source ~/.bashrc
+echo $(hostname)
 start_spark_cluster.sh
-singularity exec  /gscratch/comdata/users/nathante/cdsc_base.sif spark-submit --master spark://$(hostname).hyak.local:7077 overlap_density.py authors --inpath=/gscratch/comdata/output/reddit_similarity/subreddit_comment_authors-tf_10k_LSI/600.feather --outpath=/gscratch/comdata/output/reddit_density/subreddit_author_tf_similarities_10K_LSI/600.feather --agg=pd.DataFrame.sum
-singularity exec /gscratch/comdata/users/nathante/cdsc_base.sif stop-all.sh
+spark-submit --verbose --master spark://$(hostname):43015 overlap_density.py authors --inpath=../../data/reddit_similarity/subreddit_comment_authors-tf_10k_LSI/600.feather --outpath=../../data/reddit_density/subreddit_author_tf_similarities_10K_LSI/600.feather --agg=pd.DataFrame.sum
+stop-all.sh

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