<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Spack &#8211; Hostry Help Center</title>
	<atom:link href="https://help.hostry.com/article-tags/spack/feed/" rel="self" type="application/rss+xml" />
	<link>https://help.hostry.com</link>
	<description>Full information on how to use HOSTRY, provided by 24/7 community based support</description>
	<lastBuildDate>Thu, 25 Feb 2021 11:43:43 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.9.12</generator>

<image>
	<url>https://help.hostry.com/wp-content/uploads/cache/2021/01/cropped-apple-icon-180x180-1/836712163.png</url>
	<title>Spack &#8211; Hostry Help Center</title>
	<link>https://help.hostry.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How to Install Spack on Ubuntu 20.04</title>
		<link>https://help.hostry.com/knowledge-base/how-to-install-spack-on-ubuntu-20-04/</link>
					<comments>https://help.hostry.com/knowledge-base/how-to-install-spack-on-ubuntu-20-04/#respond</comments>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Thu, 25 Feb 2021 11:43:43 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=3275</guid>

					<description><![CDATA[Spack is a very flexible package manager for your virtual server. Its advantages are that Spack is not tied to a specific language; you can create a software stack in Python or R, link to libraries written in C, C ++ or Fortran. It supports MAST (Multidisciplinary-design Adaptation and Sensitivity [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p><strong><a href="https://spack.io/">Spack</a></strong> is a very flexible package manager for your virtual server. Its advantages are that <strong>Spack</strong> is not tied to a specific language; you can create a software stack in Python or R, link to libraries written in C, C ++ or Fortran. It supports <a href="https://www.mast-multiphysics.com/"><strong>MAST</strong></a> (Multidisciplinary-design Adaptation and Sensitivity Toolkit) and also <strong><a href="https://github.com/pngwriter/pngwriter">PNGwriter</a></strong>. This article will show, using an example of how you can install <strong>Spack</strong> on a Linux distribution &#8211; Ubuntu 20.04.</p>



<h2 id="install-dependencies" >Install dependencies</h2>



<p>First, you need to install the dependencies. A very important one is build-essential. You can install it using the command that is displayed below:</p>



<pre class="wp-block-code"><code>apt install build-essential</code></pre>



<h2 id="installing-clone-spack" >Installing Clone Spack</h2>



<p>Next, after successfully installing the build-essential dependency, you need to clone the <strong>Spack</strong> repository to ~ <strong>~/.spack/Spack</strong>, any directory of your choice. This can be done as follows:</p>



<pre class="wp-block-code"><code>git clone https://github.com/spack/spack ~ / .spack / Spack</code></pre>



<h2 id="add-the-shell-support" >Add the Shell Support</h2>



<p>In order for you to be able to use <strong>Spack</strong> everywhere, you need to add Spack to your <strong>PATH</strong>. This can be done using the command described below:</p>



<pre class="wp-block-code"><code>... ~ /.spack /Spack /share/spack/setup-env.sh</code></pre>



<p>To enable you to use the spack command every time you log in, add this command to <strong>~ /.bash_profile </strong>exactly as shown below:</p>



<pre class="wp-block-code"><code>echo '. ~/.spack/Spack/share/spack/setup-env.sh' &gt;&gt; ~/.bash_profile</code></pre>



<p>After that, you can log out of the system so that the changes are saved and take effect. You can check the <strong>Spack</strong> installation using the command that will be displayed below:</p>



<pre class="wp-block-code"><code>spack -V
0.16.0-359-860825ee1</code></pre>



<p>Next, you will be able to install a large number of scientific packages. Some of them are <strong>MAST</strong> and <strong>PNGwriter</strong>. You can install MAST using the link <strong><a href="https://www.mast-multiphysics.com/_install_ubuntu2004_apt.html">here</a></strong>. You can install PNGwriter using the command described below:</p>



<pre class="wp-block-code"><code>spack install pngwriter
spack load pngwriter</code></pre>
]]></content:encoded>
					
					<wfw:commentRss>https://help.hostry.com/knowledge-base/how-to-install-spack-on-ubuntu-20-04/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
