{"id":1361,"date":"2014-03-05T10:42:33","date_gmt":"2014-03-05T10:42:33","guid":{"rendered":"http:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/?page_id=1361"},"modified":"2017-05-22T10:32:55","modified_gmt":"2017-05-22T10:32:55","slug":"petsc","status":"publish","type":"page","link":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/software\/applications\/petsc\/","title":{"rendered":"PETSc"},"content":{"rendered":"<h2>Overview<\/h2>\n<p><a href=\"https:\/\/www.mcs.anl.gov\/petsc\">PETSc<\/a> &#8211; Portable, Extensible Toolkit for Scientific Computation . A suite of data structures and routines for the scalable (parallel) solution of scientific applications modeled by partial differential equations. <\/p>\n<p>Version 3.4.3 with mumps, metis and parmetis is installed on the CSF. It was compiled using Intel Compilers 12.0.5 and MKL 10.3u5.<\/p>\n<h2>Restrictions on use<\/h2>\n<p>All users may access PETSc. Please ensure you cite your usage as per the <a href=\"http:\/\/www.mcs.anl.gov\/petsc\/documentation\/referencing.html\">PETSc website<\/a>.<\/p>\n<h2>Set up procedure<\/h2>\n<p>To access the software you must first load the correct modulefile. For compilation either can be used, however at runtime you must load the correct one &#8211; the underlying libraries are the same, but for mpi communications on multiple Infiniband connected nodes the modulefile has some hardware specific settings. <\/p>\n<p>Jobs requiring a single node (2 to 24 cores, via smp.pe):<\/p>\n<pre>\r\nmodule load libs\/intel-12.0\/petsc\/3.4.3\r\n<\/pre>\n<p>Two or more nodes (48 cores+ (in multiples of 24) using Infiniband connected nodes via orte-24-ib.pe):<\/p>\n<pre>\r\nmodule load libs\/intel-12.0\/petsc\/3.4.3-ib\r\n<\/pre>\n<p>The modulefiles load the Intel 12.0.5 compilers and openmpi 1.6. <\/p>\n<h2>Running the application<\/h2>\n<p>The modulefile will set an environement variable named PETSC_DIR which can then be used in your compilation process (e.g., in a Makefile) to access the header and library files:<\/p>\n<ol>\n<li>To inform the compiler of the header file directory use: <code>-I$PETSC_DIR\/include<\/code> on the command line<\/li>\n<li>To inform the compiler of the library files use: <code>-L$PETSC_DIR\/lib -lpetsc<\/code> on the command line<\/li>\n<\/ol>\n<p>For further usage information consult the documentation.<\/p>\n<h2>Further info<\/h2>\n<ul>\n<li><a href=\"https:\/\/www.mcs.anl.gov\/petsc\/documentation\/index.html\">PETSc Documentation<\/a><\/li>\n<\/ul>\n<h2>Updates<\/h2>\n<p>None.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview PETSc &#8211; Portable, Extensible Toolkit for Scientific Computation . A suite of data structures and routines for the scalable (parallel) solution of scientific applications modeled by partial differential equations. Version 3.4.3 with mumps, metis and parmetis is installed on the CSF. It was compiled using Intel Compilers 12.0.5 and MKL 10.3u5. Restrictions on use All users may access PETSc. Please ensure you cite your usage as per the PETSc website. Set up procedure To.. <a href=\"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/software\/applications\/petsc\/\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"parent":31,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1361","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/pages\/1361","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/comments?post=1361"}],"version-history":[{"count":16,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/pages\/1361\/revisions"}],"predecessor-version":[{"id":3831,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/pages\/1361\/revisions\/3831"}],"up":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/pages\/31"}],"wp:attachment":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/media?parent=1361"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}