Created
August 9, 2019 03:45
-
-
Save jasonrig/4acc349b1639d64b8b91d781cdeea391 to your computer and use it in GitHub Desktop.
Example modulefile for Spark on HPC clusters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#%Module1.0 | |
## Spark 2.4.3 modulefile | |
## | |
proc ModulesHelp { } { | |
puts stderr "Provides the Spark environment for large-scale data processing" | |
puts stderr "This version has been prebuilt with Scala 2.11." | |
} | |
module-whatis "Apache Spark™ is a unified analytics engine for large-scale data processing." | |
set sparkHome /home/jrigby/spark/spark-2.4.3-bin-hadoop2.7 | |
module load java | |
prepend-path PATH "$sparkHome/bin" | |
prepend-path PATH "$sparkHome/sbin" | |
setenv SPARK_HOME "$sparkHome" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment