{"id":351,"date":"2017-10-26T07:56:20","date_gmt":"2017-10-26T05:56:20","guid":{"rendered":"https:\/\/kszyh.kisim.eu.org\/?p=351"},"modified":"2018-02-23T09:28:12","modified_gmt":"2018-02-23T08:28:12","slug":"build-petsc-on-rhel-7","status":"publish","type":"post","link":"https:\/\/kszyh.kisim.eu.org\/?p=351","title":{"rendered":"Build PETSc on RHEL 7"},"content":{"rendered":"<p>devtoolset-4 with OpenMPI:<\/p>\n<pre class=\"toolbar-overlay:false lang:default decode:true \">export PETSC_DIR=`pwd`\r\nexport PETSC_ARCH=x86_64\r\n.\/config\/configure.py --with-shared=1 --with-x=0 --with-mpi=1 --download-hypre=1 --prefix=\/packages\/petsc\/3.8.0 --with-blas-lib=\/packages\/OpenBLAS\/0.2.20\/lib\/libopenblas.so --with-lapack-lib=\/packages\/OpenBLAS\/0.2.20\/lib\/libopenblas.so --with-cc=\/usr\/lib64\/openmpi\/bin\/mpicc --with-cxx=\/usr\/lib64\/openmpi\/bin\/mpicxx --with-fc=\/usr\/lib64\/openmpi\/bin\/mpifortmake<\/pre>\n<p>Intel Parallel Studio 2018 with Intel MPI:<\/p>\n<pre class=\"wrap:true lang:default decode:true\">export PETSC_DIR=`pwd`\r\nexport PETSC_ARCH=x86_64\r\n.\/configure --with-cc=mpiicc --with-cxx=mpiicpc --with-fc=mpiifort --with-shared=1 --with-x=0 --with-mpi=1 --download-hypre=1 --with-blas-lapack-dir=\/packages\/intel_parallel_studio_xe\/2018\/mkl\/lib\/intel64_lin\/ --with-debugging=0<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>devtoolset-4 with OpenMPI: export PETSC_DIR=`pwd` export PETSC_ARCH=x86_64 .\/config\/configure.py &#8211;with-shared=1 &#8211;with-x=0 &#8211;with-mpi=1 &#8211;download-hypre=1 &#8211;prefix=\/packages\/petsc\/3.8.0 &#8211;with-blas-lib=\/packages\/OpenBLAS\/0.2.20\/lib\/libopenblas.so &#8211;with-lapack-lib=\/packages\/OpenBLAS\/0.2.20\/lib\/libopenblas.so &#8211;with-cc=\/usr\/lib64\/openmpi\/bin\/mpicc &#8211;with-cxx=\/usr\/lib64\/openmpi\/bin\/mpicxx &#8211;with-fc=\/usr\/lib64\/openmpi\/bin\/mpifortmake Intel Parallel Studio 2018 with Intel MPI: export PETSC_DIR=`pwd` export PETSC_ARCH=x86_64 .\/configure &#8211;with-cc=mpiicc &#8211;with-cxx=mpiicpc &#8211;with-fc=mpiifort &#8211;with-shared=1 &#8211;with-x=0 &#8211;with-mpi=1 &#8211;download-hypre=1 &#8211;with-blas-lapack-dir=\/packages\/intel_parallel_studio_xe\/2018\/mkl\/lib\/intel64_lin\/ &#8211;with-debugging=0 &nbsp;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,23],"tags":[103],"class_list":["post-351","post","type-post","status-publish","format-standard","hentry","category-bez-kategorii","category-linux","tag-petsc"],"_links":{"self":[{"href":"https:\/\/kszyh.kisim.eu.org\/index.php?rest_route=\/wp\/v2\/posts\/351","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kszyh.kisim.eu.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kszyh.kisim.eu.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kszyh.kisim.eu.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kszyh.kisim.eu.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=351"}],"version-history":[{"count":6,"href":"https:\/\/kszyh.kisim.eu.org\/index.php?rest_route=\/wp\/v2\/posts\/351\/revisions"}],"predecessor-version":[{"id":375,"href":"https:\/\/kszyh.kisim.eu.org\/index.php?rest_route=\/wp\/v2\/posts\/351\/revisions\/375"}],"wp:attachment":[{"href":"https:\/\/kszyh.kisim.eu.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=351"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kszyh.kisim.eu.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=351"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kszyh.kisim.eu.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=351"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}