{"id":146,"date":"2022-04-29T10:09:31","date_gmt":"2022-04-29T10:09:31","guid":{"rendered":"https:\/\/www.sternwarte.uni-erlangen.de\/sixte\/?page_id=146"},"modified":"2022-08-19T09:13:00","modified_gmt":"2022-08-19T09:13:00","slug":"linux","status":"publish","type":"page","link":"https:\/\/www.sternwarte.uni-erlangen.de\/sixte\/linux\/","title":{"rendered":"Linux"},"content":{"rendered":"\n<h2>Required Packages<\/h2>\n\n\n\n<p>The installation of the simulation software package requires the following packages:<\/p>\n\n\n\n<ul><li><em>gcc, g++, gfortran<\/em><\/li><li><em>libreadline-dev<\/em><\/li><li><em>libncurses-dev<\/em><\/li><li><em>libexpat1-dev<\/em><\/li><li><em>libgsl0-dev<\/em><\/li><li><em>libboost-dev<\/em><\/li><li><em>libcmocka-dev<\/em><\/li><\/ul>\n\n\n\n<p>These are the ubuntu-linux package names, other Linux distributions will use similar package names. We also recommend that you have a current version of NASA&#8217;s HEASOFT package: <a href=\"https:\/\/heasarc.gsfc.nasa.gov\/lheasoft\/\">https:\/\/heasarc.gsfc.nasa.gov\/lheasoft\/<\/a><\/p>\n\n\n\n<h2 id=\"Installing-SIMPUT\">Installing SIMPUT<\/h2>\n\n\n\n<p>Once you have downloaded the tar archive with a release of SIMPUT, you have to extract the archive:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>tar xvzf simput-x.y.z.tar.gz\ncd simput-x.y.z<\/code><\/pre>\n\n\n\n<p>You compile and install the simulation software to a directory <code>simputdir<\/code> with the following commands:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>.\/configure --prefix=simputdir\nmake\nmake install<\/code><\/pre>\n\n\n\n<p class=\"has-normal-font-size\"><em>Note: If you encounter problems during the installation with pgplot in the wcslib, try adding the option <\/em><code>--without-pgplot<\/code><em> in the &#8220;.\/configure&#8221; step.<\/em><\/p>\n\n\n\n<h2>Installing SIXTE<\/h2>\n\n\n\n<p>Installing SIXTE is similar to SIMPUT. Extract the downloaded SIXTE tar archive and perform the normal build process. We recommend you install SIXTE in the same location as SIMPUT (i.e, installing it in <code>simputdir<\/code>).<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>tar xvzf sixte-x.y.z.tar.gz\ncd sixte-x.y.z\n.\/configure --prefix=simputdir\nmake\nmake install <\/code><\/pre>\n\n\n\n<p>In case you want to choose a different location for SIXTE you have to specify this in the configure step. That means the configure call should look like this:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>.\/configure --prefix=sixtedir --with-simput=simputdir<\/code><\/pre>\n\n\n\n<p>If the GSL library is not found in the configure step, you can specify the path directly by <code>--with-gsl-prefix=<em>gslpath<\/em><\/code>.<\/p>\n\n\n\n<h2>Installing from Git<\/h2>\n\n\n\n<p>If you want to contribute to the source development or if you want to run the cutting edge version of the software, you need to install from our code tree, which is maintained with the version control system <a href=\"http:\/\/git-scm.com\/\">Git<\/a>. Both, SIMPUT and SIXTE are available in this form. If Git is installed on your system, you can directly clone the repositories containing the source code using the following commands:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>git clone http:\/\/www.sternwarte.uni-erlangen.de\/git.public\/sixt\/ \ngit clone http:\/\/www.sternwarte.uni-erlangen.de\/git.public\/simput.git\/ \n<\/code><\/pre>\n\n\n\n<p>In case you want to contribute to any of the two repositories, we recommend that you contact us (sixte-support@sternwarte.uni-erlangen.de). <\/p>\n\n\n\n<p>After the initial clone of the Git repository you have to run the command<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>autoreconf --install --force\n<\/code><\/pre>\n\n\n\n<p>in the project directory to create a configure script with the autotools. Now you can proceed with the normal <a href=\"#Installing-SIMPUT\" data-type=\"internal\" data-id=\"#Installing-SIMPUT\">installation process<\/a>.<\/p>\n\n\n\n<h2>Using the Tools<\/h2>\n\n\n\n<p>To be able to use the tools, you have to set the environment variables <code>$SIMPUT<\/code> and <code>$SIXTE<\/code> to the respective installation directories and source the <code>sixte-install.csh\/sh<\/code> script:<\/p>\n\n\n\n<div class=\"wp-block-columns\">\n<div class=\"wp-block-column\">\n<p><strong>In a C shell (csh\/tcsh)<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>setenv SIMPUT simputdir\nsetenv SIXTE sixtedir\nsource ${SIXTE}\/bin\/sixte-install.csh<\/code><\/pre>\n<\/div>\n\n\n\n<div class=\"wp-block-column\">\n<p><strong>In a Bash shell (bash\/sh\/zsh)<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>export SIMPUT=simputdir\nexport SIXTE=sixtedir\n. ${SIXTE}\/bin\/sixte-install.sh <\/code><\/pre>\n<\/div>\n<\/div>\n\n\n\n<p>These lines can also be set in the ~\/.cshrc, or ~\/.bashrc respectively. The required steps are also described in greater detail the file <em>INSTALL.txt<\/em>, which is contained in the project directory.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Required Packages The installation of the simulation software package requires the following packages: gcc, g++, gfortran libreadline-dev libncurses-dev libexpat1-dev libgsl0-dev libboost-dev libcmocka-dev These are the ubuntu-linux package names, other Linux distributions will use similar package names. We also recommend that you have a current version of NASA&#8217;s HEASOFT package: https:\/\/heasarc.gsfc.nasa.gov\/lheasoft\/&#8230;<\/p>\n","protected":false},"author":1008,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/www.sternwarte.uni-erlangen.de\/sixte\/wp-json\/wp\/v2\/pages\/146"}],"collection":[{"href":"https:\/\/www.sternwarte.uni-erlangen.de\/sixte\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.sternwarte.uni-erlangen.de\/sixte\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.sternwarte.uni-erlangen.de\/sixte\/wp-json\/wp\/v2\/users\/1008"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sternwarte.uni-erlangen.de\/sixte\/wp-json\/wp\/v2\/comments?post=146"}],"version-history":[{"count":15,"href":"https:\/\/www.sternwarte.uni-erlangen.de\/sixte\/wp-json\/wp\/v2\/pages\/146\/revisions"}],"predecessor-version":[{"id":347,"href":"https:\/\/www.sternwarte.uni-erlangen.de\/sixte\/wp-json\/wp\/v2\/pages\/146\/revisions\/347"}],"wp:attachment":[{"href":"https:\/\/www.sternwarte.uni-erlangen.de\/sixte\/wp-json\/wp\/v2\/media?parent=146"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sternwarte.uni-erlangen.de\/sixte\/wp-json\/wp\/v2\/categories?post=146"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sternwarte.uni-erlangen.de\/sixte\/wp-json\/wp\/v2\/tags?post=146"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}