{"id":329,"date":"2020-08-21T17:35:34","date_gmt":"2020-08-21T16:35:34","guid":{"rendered":"http:\/\/ri.itservices.manchester.ac.uk\/csf4\/?page_id=329"},"modified":"2022-10-26T09:32:35","modified_gmt":"2022-10-26T08:32:35","slug":"foss","status":"publish","type":"page","link":"https:\/\/ri.itservices.manchester.ac.uk\/csf4\/software\/compilers\/foss\/","title":{"rendered":"FOSS (gcc) Toolchains"},"content":{"rendered":"<p>A toolchain consists of one or more compilers, usually put together with some libraries for specific functionality, e.g., for using an MPI stack for distributed computing, or which provide optimized routines for commonly used math operations, e.g., the well-known BLAS\/LAPACK APIs for linear algebra routines.<\/p>\n<p>Hence loading a toolchain modulefile gives you a compiler, and a set of libraries compiled with that compiler, that you can then use to build your own applications &#8211; for example compiling your own source code.<\/p>\n<p>The following Free-Open-Source-Software (FOSS) toolchains are available. The version number (e.g., <code>2019b<\/code>) refers to when the toolchain was created. They are typically created twice a year. To see which compiler and library modulefiles will be loaded by the toolchain, run:<\/p>\n<pre>module show <em>name\/version<\/em>\r\n<\/pre>\n<p>You should load <em>one<\/em> of the following modulefiles:<\/p>\n<pre># GCC compilers + OpenMPI (parallel library) + maths libs BLAS (and LAPACK), FFTW, ScaLAPACK \r\nmodule load foss\/2021a          # gcc 10.3.0, openmpi 4.1.1, flexiblas 3.0.4, fftw 3.3.9, scalapack 2.1.0\r\nmodule load foss\/2020a          # gcc 9.3.0,  openmpi 4.0.3, openblas 0.3.9,  fftw 3.3.8, scalapack 2.1.0\r\nmodule load foss\/2019b          # gcc 8.3.0,  openmpi 3.1.4, openblas 0.3.7,  fftw 3.3.8, scalapack 2.0.2\r\n\r\n# GCC compilers + OpenMPI (parallel library)\r\nmodule load gompi\/2021a         # gcc 10.3.0, openmpi 4.1.1\r\nmodule load gompi\/2020a         # gcc 9.3.0,  openmpi 4.0.3\r\nmodule load gompi\/2019b         # gcc 8.3.0,  openmpi 3.1.4\r\n\r\n# GCC compilers (not a \"toolchain\", just the compiler)\r\nmodule load gcc\/10.3.0\r\nmodule load gcc\/9.3.0\r\nmodule load gcc\/8.3.0\r\n<\/pre>\n<p>See elsewhere in the documentation for details of the GCC Compiler, OpenBLAS and OpenMPI.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A toolchain consists of one or more compilers, usually put together with some libraries for specific functionality, e.g., for using an MPI stack for distributed computing, or which provide optimized routines for commonly used math operations, e.g., the well-known BLAS\/LAPACK APIs for linear algebra routines. Hence loading a toolchain modulefile gives you a compiler, and a set of libraries compiled with that compiler, that you can then use to build your own applications &#8211; for.. <a href=\"https:\/\/ri.itservices.manchester.ac.uk\/csf4\/software\/compilers\/foss\/\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"parent":57,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-329","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf4\/wp-json\/wp\/v2\/pages\/329","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf4\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf4\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf4\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf4\/wp-json\/wp\/v2\/comments?post=329"}],"version-history":[{"count":6,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf4\/wp-json\/wp\/v2\/pages\/329\/revisions"}],"predecessor-version":[{"id":871,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf4\/wp-json\/wp\/v2\/pages\/329\/revisions\/871"}],"up":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf4\/wp-json\/wp\/v2\/pages\/57"}],"wp:attachment":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf4\/wp-json\/wp\/v2\/media?parent=329"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}