X-Git-Url: https://code.communitydata.science/cdsc_reddit.git/blobdiff_plain/2d21ff1137dfaf83c5a51fdcd8900503c50a06ab..9345f9de9437d5965ad4ee5874bc24199e077d48:/density/job_script.sh?ds=sidebyside diff --git a/density/job_script.sh b/density/job_script.sh index e411ba7..71cd969 100755 --- a/density/job_script.sh +++ b/density/job_script.sh @@ -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