

{"id":152,"date":"2017-10-20T11:15:04","date_gmt":"2017-10-20T09:15:04","guid":{"rendered":"https:\/\/project.inria.fr\/damaris\/?page_id=152"},"modified":"2018-11-14T12:02:15","modified_gmt":"2018-11-14T11:02:15","slug":"environment-preparation","status":"publish","type":"page","link":"https:\/\/project.inria.fr\/damaris\/environment-preparation\/","title":{"rendered":"Environment Preparation"},"content":{"rendered":"<p>This document is a guide about preparing an environment for Damaris compilation on Linux. If you want to have the environment ready on your Linux machine or on a remote linux server, <a href=\"https:\/\/project.inria.fr\/damaris\/on-a-linux-machine\/\">read this guide<\/a>. But if you want to prepare an environment on Docker, <a href=\"https:\/\/project.inria.fr\/damaris\/docker-container\/\">check this page<\/a>. Please note that:<\/p>\n<ul>\n<li>Damaris compilation is not currently supported on Mac or Windows environments. The only supported environment is Linux.<\/li>\n<li>Throughout this document, we suppose that the environment variable\u00a0<em>install_prefix<\/em>\u00a0is declared and its value is equal to\u00a0$HOME\/local.<\/li>\n<\/ul>\n<p>Before building the dependant libraries, make sure that basic compilers (C\/C++ and Fortran) and also git are installed on your machine. To make sure about their installation, you can simply get the installed version from command line:<\/p>\n<pre lang=\"bash\" line=\"1\">$ gcc --version\r\n$ g++ --version\r\n$ gfortran --version\r\n$ git --version\r\n<\/pre>\n<p>if any of the mentioned packages are not installed, you should install the related packages (GCC 4.8.0 and later). To install fortran\/c\/c++\/git on Debian-based distributions you can use these commands:<\/p>\n<pre lang=\"bash\" line=\"1\">$ sudo apt-get install gfortran\r\n$ sudo apt-get install gcc\r\n$ sudo apt-get install g++\r\n$ sudo apt-get install git-core\r\n$ sudo apt-get install python-dev<\/pre>\n<p>Then, you should build and install the following dependant libraries and tools. You can either do the installation process manually or automatically. Check <a href=\"https:\/\/project.inria.fr\/damaris\/on-a-linux-machine\/\">this page<\/a> for more info about it. The link to the right version of all needed libraries is provided in table below.<\/p>\n<table style=\"border: 3px solid #cccccc;\">\n<tbody>\n<tr style=\"border: 3px solid #cccccc;\">\n<td><strong>Ref<\/strong><\/td>\n<td><strong>Library Name<\/strong><\/td>\n<td><strong>Status<\/strong><\/td>\n<td><strong>Prefered Version<\/strong><\/td>\n<td><strong>Description<\/strong><\/td>\n<\/tr>\n<tr>\n<td>1.<\/td>\n<td>CMake<\/td>\n<td>Obligatory<\/td>\n<td><a href=\"http:\/\/www.cmake.org\/files\/v3.12\/cmake-3.12.3.tar.gz\">3.12.3<\/a><\/td>\n<td>Is used for creating the make files<\/td>\n<\/tr>\n<tr>\n<td>2.<\/td>\n<td>MPI<\/td>\n<td>Obligatory<\/td>\n<td><a href=\"http:\/\/www.mpich.org\/static\/downloads\/3.2.1\/mpich-3.2.1.tar.gz\">mpich 3.2.1<\/a> or\u00a0<a href=\"https:\/\/download.open-mpi.org\/release\/open-mpi\/v3.1\/openmpi-3.1.2.tar.gz\">openmpi 3.1.2<\/a>)<\/td>\n<td>Booth MPICH and OpenMPI is supported<\/td>\n<\/tr>\n<tr>\n<td>3.<\/td>\n<td>Xercess<\/td>\n<td>Obligatory<\/td>\n<td><a href=\"https:\/\/archive.apache.org\/dist\/xerces\/c\/3\/sources\/xerces-c-3.1.4.tar.gz\">3.1.4<\/a><\/td>\n<td>Is used for XML parsing and manipulation.<\/td>\n<\/tr>\n<tr>\n<td>4.<\/td>\n<td>Xsd<\/td>\n<td>Obligatory<\/td>\n<td><a href=\"http:\/\/www.codesynthesis.com\/download\/xsd\/4.0\/xsd-4.0.0+dep.tar.bz2\">4.0.0<\/a><\/td>\n<td>Is used for auto-generation of XML related classes<\/td>\n<\/tr>\n<tr>\n<td>5.<\/td>\n<td>Boost<\/td>\n<td>Obligatory<\/td>\n<td><a href=\"http:\/\/sourceforge.net\/projects\/boost\/files\/boost\/1.67.0\/\">1.67<\/a><\/td>\n<td>Some libs such as system, thread, log, etc. are used.<\/td>\n<\/tr>\n<tr>\n<td>6.<\/td>\n<td>CppUnit<\/td>\n<td>Optional<\/td>\n<td><a href=\"http:\/\/sourceforge.net\/projects\/cppunit\/files\/cppunit\/1.12.1\/cppunit-1.12.1.tar.gz\">1.12.1<\/a><\/td>\n<td>Is used for unit testing<\/td>\n<\/tr>\n<tr>\n<td>7.<\/td>\n<td>HDF5<\/td>\n<td>Optional<\/td>\n<td><a href=\"https:\/\/support.hdfgroup.org\/ftp\/HDF5\/current18\/src\/hdf5-1.8.20.tar\">1.8.20<\/a><\/td>\n<td>Is used for writing simulation results to HDF5<\/td>\n<\/tr>\n<tr>\n<td>8.<\/td>\n<td>VisIt<\/td>\n<td>Optional<\/td>\n<td><a href=\"http:\/\/portal.nersc.gov\/project\/visit\/releases\/2.13.2\/build_visit2_13_2\">2.13.2<\/a><\/td>\n<td>Is used for in situ visualization with VisIt<\/td>\n<\/tr>\n<tr>\n<td>9.<\/td>\n<td>ParaView Catalyst<\/td>\n<td>Optional<\/td>\n<td><a href=\"https:\/\/www.paraview.org\/paraview-downloads\/download.php?submit=Download&amp;version=v5.6&amp;type=catalyst&amp;os=Sources&amp;downloadFile=Catalyst-v5.6.0-RC2-Base-Enable-Python-Essentials-Extras-Rendering-Base.tar.gz\">5.6<\/a><\/td>\n<td>Is used for in situ visualization with ParaView Catalyst.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This document is a guide about preparing an environment for Damaris compilation on Linux. If you want to have the environment ready on your Linux machine or on a remote linux server, read this guide. But if you want to prepare an environment on Docker, check this page. Please note&#8230;<\/p>\n<p> <a class=\"continue-reading-link\" href=\"https:\/\/project.inria.fr\/damaris\/environment-preparation\/\"><span>Continue reading<\/span><i class=\"crycon-right-dir\"><\/i><\/a> <\/p>\n","protected":false},"author":1249,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-152","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/project.inria.fr\/damaris\/wp-json\/wp\/v2\/pages\/152","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/project.inria.fr\/damaris\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/project.inria.fr\/damaris\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/project.inria.fr\/damaris\/wp-json\/wp\/v2\/users\/1249"}],"replies":[{"embeddable":true,"href":"https:\/\/project.inria.fr\/damaris\/wp-json\/wp\/v2\/comments?post=152"}],"version-history":[{"count":32,"href":"https:\/\/project.inria.fr\/damaris\/wp-json\/wp\/v2\/pages\/152\/revisions"}],"predecessor-version":[{"id":820,"href":"https:\/\/project.inria.fr\/damaris\/wp-json\/wp\/v2\/pages\/152\/revisions\/820"}],"wp:attachment":[{"href":"https:\/\/project.inria.fr\/damaris\/wp-json\/wp\/v2\/media?parent=152"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}