{"id":349,"date":"2014-12-20T08:23:37","date_gmt":"2014-12-20T08:23:37","guid":{"rendered":"http:\/\/blogs.uct.ac.za\/blog\/big-bytes\/2014\/12\/20\/module-in-action"},"modified":"2015-08-14T10:07:18","modified_gmt":"2015-08-14T08:07:18","slug":"module-in-action","status":"publish","type":"post","link":"https:\/\/ucthpc.uct.ac.za\/index.php\/2014\/12\/20\/module-in-action\/","title":{"rendered":"Module in action"},"content":{"rendered":"<p>The HPC team have been making use of &#8220;module&#8221; for a while now. A few of our users are aware of its availability but it hasn&#8217;t really been disclosed as a &#8220;production&#8221; ready setup. Well, it is now. Scientific packages installed on the cluster will be included in module.<\/p>\n<p>For example, executing &#8221; module avail &#8221; on the head node will produce the following<\/p>\n<p>&#8212;&#8212;&#8212;&#8211; \/opt\/exp_soft\/modules-3.2.10\/Modules\/3.2.10\/modulefiles &#8212;&#8212;&#8212;&#8212;<br \/>\ncompilers\/gcc481\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 modules<br \/>\ncuda\/Cuda-5.0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 mpi\/openmpi-1.6.5<br \/>\ncuda\/Cuda-6.0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 mpi\/openmpi-1.8.2<br \/>\ncuda\/Cuda-6.5\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 mpif90<br \/>\njuliaLang-3.02\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 python\/anaconda-python-2.7<br \/>\nmodule-gcc481\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 python\/anaconda-python-3.4<br \/>\nmodule-info<\/p>\n<p>Lets say I needed to make use of the Cuda environment for compiling GPU code, I could simple type &#8221; module load cuda\/Cuda-6.5&#8243; and automatically it sets up my $PATH and library paths automatically. Submitting a job to the cluster would include the same, simply add &#8221; module load cuda\/Cuda-6.5&#8243; after your PBS directives in the job submission script and you good to go. To unload a module, simply run &#8221; module unload cuda\/Cuda-6.5&#8243;<\/p>\n<p>We will be adding more and more applications so it becomes less of a hassle to remember the paths to the applications installed in \/opt\/exp_soft. As always, if you have any problems, please feel free to e-mail us.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The HPC team have been making use of &#8220;module&#8221; for a while now. A few of our users are aware of its availability but it hasn&#8217;t really been disclosed as a &#8220;production&#8221; ready setup. Well, it is now. Scientific packages installed on the cluster will be included in module. <\/p>\n<p>For example, executing &#8221; module avail &#8221; on the head node will produce the following<\/p>\n<p>&#8212;&#8212;&#8212;&#8211; \/opt\/exp_soft\/modules-3.2.10\/Modules\/3.2.10\/modulefiles &#8212;&#8212;&#8212;&#8212;<br \/>compilers\/gcc481&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; modules<br \/>cuda\/Cuda-5.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mpi\/openmpi-1.6.5<br \/>cuda\/Cuda-6.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mpi\/openmpi-1.8.2<br \/>cuda\/Cuda-6.5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mpif90<br \/>juliaLang-3.02&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; python\/anaconda-python-2.7<br \/>module-gcc481&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; python\/anaconda-python-3.4<br \/>module-info<\/p>\n<p>Lets say I needed to make use of the Cuda environment for compiling GPU code, I could simple type &#8221; module load cuda\/Cuda-6.5&#8243; and automatically it sets up my $PATH and library paths automatically. Submitting a job to the cluster would include the same, simply add &#8221; module load cuda\/Cuda-6.5&#8243; after your PBS directives in the job submission script and you good to go. To unload a module, simply run &#8221; module unload cuda\/Cuda-6.5&#8243;<\/p>\n<p>We will be adding more and more applications so it becomes less of a hassle to remember the paths to the applications installed in \/opt\/exp_soft. As always, if you have any problems, please feel free to e-mail us.<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[4],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Module in action - UCT HPC<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/ucthpc.uct.ac.za\/index.php\/2014\/12\/20\/module-in-action\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Module in action - UCT HPC\" \/>\n<meta property=\"og:description\" content=\"The HPC team have been making use of &quot;module&quot; for a while now. A few of our users are aware of its availability but it hasn&#039;t really been disclosed as a &quot;production&quot; ready setup. Well, it is now. Scientific packages installed on the cluster will be included in module. For example, executing &quot; module avail &quot; on the head node will produce the following----------- \/opt\/exp_soft\/modules-3.2.10\/Modules\/3.2.10\/modulefiles ------------compilers\/gcc481&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; modulescuda\/Cuda-5.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mpi\/openmpi-1.6.5cuda\/Cuda-6.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mpi\/openmpi-1.8.2cuda\/Cuda-6.5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mpif90juliaLang-3.02&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; python\/anaconda-python-2.7module-gcc481&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; python\/anaconda-python-3.4module-infoLets say I needed to make use of the Cuda environment for compiling GPU code, I could simple type &quot; module load cuda\/Cuda-6.5&quot; and automatically it sets up my $PATH and library paths automatically. Submitting a job to the cluster would include the same, simply add &quot; module load cuda\/Cuda-6.5&quot; after your PBS directives in the job submission script and you good to go. To unload a module, simply run &quot; module unload cuda\/Cuda-6.5&quot;We will be adding more and more applications so it becomes less of a hassle to remember the paths to the applications installed in \/opt\/exp_soft. As always, if you have any problems, please feel free to e-mail us.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ucthpc.uct.ac.za\/index.php\/2014\/12\/20\/module-in-action\/\" \/>\n<meta property=\"og:site_name\" content=\"UCT HPC\" \/>\n<meta property=\"article:published_time\" content=\"2014-12-20T08:23:37+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2015-08-14T08:07:18+00:00\" \/>\n<meta name=\"author\" content=\"Timothy Carr\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Timothy Carr\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/ucthpc.uct.ac.za\/index.php\/2014\/12\/20\/module-in-action\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/ucthpc.uct.ac.za\/index.php\/2014\/12\/20\/module-in-action\/\"},\"author\":{\"name\":\"Timothy Carr\",\"@id\":\"https:\/\/ucthpc.uct.ac.za\/#\/schema\/person\/41f6cd039836d7741f2b82a7b7cfe8d0\"},\"headline\":\"Module in action\",\"datePublished\":\"2014-12-20T08:23:37+00:00\",\"dateModified\":\"2015-08-14T08:07:18+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/ucthpc.uct.ac.za\/index.php\/2014\/12\/20\/module-in-action\/\"},\"wordCount\":208,\"publisher\":{\"@id\":\"https:\/\/ucthpc.uct.ac.za\/#organization\"},\"articleSection\":[\"hpc\"],\"inLanguage\":\"en-ZA\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ucthpc.uct.ac.za\/index.php\/2014\/12\/20\/module-in-action\/\",\"url\":\"https:\/\/ucthpc.uct.ac.za\/index.php\/2014\/12\/20\/module-in-action\/\",\"name\":\"Module in action - UCT HPC\",\"isPartOf\":{\"@id\":\"https:\/\/ucthpc.uct.ac.za\/#website\"},\"datePublished\":\"2014-12-20T08:23:37+00:00\",\"dateModified\":\"2015-08-14T08:07:18+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/ucthpc.uct.ac.za\/index.php\/2014\/12\/20\/module-in-action\/#breadcrumb\"},\"inLanguage\":\"en-ZA\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/ucthpc.uct.ac.za\/index.php\/2014\/12\/20\/module-in-action\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/ucthpc.uct.ac.za\/index.php\/2014\/12\/20\/module-in-action\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/ucthpc.uct.ac.za\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Module in action\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/ucthpc.uct.ac.za\/#website\",\"url\":\"https:\/\/ucthpc.uct.ac.za\/\",\"name\":\"UCT HPC\",\"description\":\"University of Cape Town High Performance Computing\",\"publisher\":{\"@id\":\"https:\/\/ucthpc.uct.ac.za\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/ucthpc.uct.ac.za\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-ZA\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/ucthpc.uct.ac.za\/#organization\",\"name\":\"University of Cape Town High Performance Computing\",\"url\":\"https:\/\/ucthpc.uct.ac.za\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-ZA\",\"@id\":\"https:\/\/ucthpc.uct.ac.za\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/ucthpc.uct.ac.za\/wp-content\/uploads\/2015\/09\/logocircless.png\",\"contentUrl\":\"https:\/\/ucthpc.uct.ac.za\/wp-content\/uploads\/2015\/09\/logocircless.png\",\"width\":450,\"height\":423,\"caption\":\"University of Cape Town High Performance Computing\"},\"image\":{\"@id\":\"https:\/\/ucthpc.uct.ac.za\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/ucthpc.uct.ac.za\/#\/schema\/person\/41f6cd039836d7741f2b82a7b7cfe8d0\",\"name\":\"Timothy Carr\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-ZA\",\"@id\":\"https:\/\/ucthpc.uct.ac.za\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/7e94dcf3a408e6ada008042fc29d4b15?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/7e94dcf3a408e6ada008042fc29d4b15?s=96&d=mm&r=g\",\"caption\":\"Timothy Carr\"},\"sameAs\":[\"http:\/\/ucthpc.uct.ac.za\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Module in action - UCT HPC","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/ucthpc.uct.ac.za\/index.php\/2014\/12\/20\/module-in-action\/","og_locale":"en_US","og_type":"article","og_title":"Module in action - UCT HPC","og_description":"The HPC team have been making use of \"module\" for a while now. A few of our users are aware of its availability but it hasn't really been disclosed as a \"production\" ready setup. Well, it is now. Scientific packages installed on the cluster will be included in module. For example, executing \" module avail \" on the head node will produce the following----------- \/opt\/exp_soft\/modules-3.2.10\/Modules\/3.2.10\/modulefiles ------------compilers\/gcc481&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; modulescuda\/Cuda-5.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mpi\/openmpi-1.6.5cuda\/Cuda-6.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mpi\/openmpi-1.8.2cuda\/Cuda-6.5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mpif90juliaLang-3.02&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; python\/anaconda-python-2.7module-gcc481&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; python\/anaconda-python-3.4module-infoLets say I needed to make use of the Cuda environment for compiling GPU code, I could simple type \" module load cuda\/Cuda-6.5\" and automatically it sets up my $PATH and library paths automatically. Submitting a job to the cluster would include the same, simply add \" module load cuda\/Cuda-6.5\" after your PBS directives in the job submission script and you good to go. To unload a module, simply run \" module unload cuda\/Cuda-6.5\"We will be adding more and more applications so it becomes less of a hassle to remember the paths to the applications installed in \/opt\/exp_soft. As always, if you have any problems, please feel free to e-mail us.","og_url":"https:\/\/ucthpc.uct.ac.za\/index.php\/2014\/12\/20\/module-in-action\/","og_site_name":"UCT HPC","article_published_time":"2014-12-20T08:23:37+00:00","article_modified_time":"2015-08-14T08:07:18+00:00","author":"Timothy Carr","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Timothy Carr","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/ucthpc.uct.ac.za\/index.php\/2014\/12\/20\/module-in-action\/#article","isPartOf":{"@id":"https:\/\/ucthpc.uct.ac.za\/index.php\/2014\/12\/20\/module-in-action\/"},"author":{"name":"Timothy Carr","@id":"https:\/\/ucthpc.uct.ac.za\/#\/schema\/person\/41f6cd039836d7741f2b82a7b7cfe8d0"},"headline":"Module in action","datePublished":"2014-12-20T08:23:37+00:00","dateModified":"2015-08-14T08:07:18+00:00","mainEntityOfPage":{"@id":"https:\/\/ucthpc.uct.ac.za\/index.php\/2014\/12\/20\/module-in-action\/"},"wordCount":208,"publisher":{"@id":"https:\/\/ucthpc.uct.ac.za\/#organization"},"articleSection":["hpc"],"inLanguage":"en-ZA"},{"@type":"WebPage","@id":"https:\/\/ucthpc.uct.ac.za\/index.php\/2014\/12\/20\/module-in-action\/","url":"https:\/\/ucthpc.uct.ac.za\/index.php\/2014\/12\/20\/module-in-action\/","name":"Module in action - UCT HPC","isPartOf":{"@id":"https:\/\/ucthpc.uct.ac.za\/#website"},"datePublished":"2014-12-20T08:23:37+00:00","dateModified":"2015-08-14T08:07:18+00:00","breadcrumb":{"@id":"https:\/\/ucthpc.uct.ac.za\/index.php\/2014\/12\/20\/module-in-action\/#breadcrumb"},"inLanguage":"en-ZA","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ucthpc.uct.ac.za\/index.php\/2014\/12\/20\/module-in-action\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/ucthpc.uct.ac.za\/index.php\/2014\/12\/20\/module-in-action\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/ucthpc.uct.ac.za\/"},{"@type":"ListItem","position":2,"name":"Module in action"}]},{"@type":"WebSite","@id":"https:\/\/ucthpc.uct.ac.za\/#website","url":"https:\/\/ucthpc.uct.ac.za\/","name":"UCT HPC","description":"University of Cape Town High Performance Computing","publisher":{"@id":"https:\/\/ucthpc.uct.ac.za\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ucthpc.uct.ac.za\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-ZA"},{"@type":"Organization","@id":"https:\/\/ucthpc.uct.ac.za\/#organization","name":"University of Cape Town High Performance Computing","url":"https:\/\/ucthpc.uct.ac.za\/","logo":{"@type":"ImageObject","inLanguage":"en-ZA","@id":"https:\/\/ucthpc.uct.ac.za\/#\/schema\/logo\/image\/","url":"https:\/\/ucthpc.uct.ac.za\/wp-content\/uploads\/2015\/09\/logocircless.png","contentUrl":"https:\/\/ucthpc.uct.ac.za\/wp-content\/uploads\/2015\/09\/logocircless.png","width":450,"height":423,"caption":"University of Cape Town High Performance Computing"},"image":{"@id":"https:\/\/ucthpc.uct.ac.za\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/ucthpc.uct.ac.za\/#\/schema\/person\/41f6cd039836d7741f2b82a7b7cfe8d0","name":"Timothy Carr","image":{"@type":"ImageObject","inLanguage":"en-ZA","@id":"https:\/\/ucthpc.uct.ac.za\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/7e94dcf3a408e6ada008042fc29d4b15?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/7e94dcf3a408e6ada008042fc29d4b15?s=96&d=mm&r=g","caption":"Timothy Carr"},"sameAs":["http:\/\/ucthpc.uct.ac.za"]}]}},"_links":{"self":[{"href":"https:\/\/ucthpc.uct.ac.za\/index.php\/wp-json\/wp\/v2\/posts\/349"}],"collection":[{"href":"https:\/\/ucthpc.uct.ac.za\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ucthpc.uct.ac.za\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ucthpc.uct.ac.za\/index.php\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/ucthpc.uct.ac.za\/index.php\/wp-json\/wp\/v2\/comments?post=349"}],"version-history":[{"count":2,"href":"https:\/\/ucthpc.uct.ac.za\/index.php\/wp-json\/wp\/v2\/posts\/349\/revisions"}],"predecessor-version":[{"id":2028,"href":"https:\/\/ucthpc.uct.ac.za\/index.php\/wp-json\/wp\/v2\/posts\/349\/revisions\/2028"}],"wp:attachment":[{"href":"https:\/\/ucthpc.uct.ac.za\/index.php\/wp-json\/wp\/v2\/media?parent=349"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ucthpc.uct.ac.za\/index.php\/wp-json\/wp\/v2\/categories?post=349"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ucthpc.uct.ac.za\/index.php\/wp-json\/wp\/v2\/tags?post=349"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}