{"id":178,"date":"2022-09-14T06:59:43","date_gmt":"2022-09-14T05:59:43","guid":{"rendered":"https:\/\/hpcwithus.discoverer.bg\/?p=178"},"modified":"2023-01-27T17:04:21","modified_gmt":"2023-01-27T17:04:21","slug":"llvm-15-0-0-is-out-and-installed-on-discoverer-hpc","status":"publish","type":"post","link":"https:\/\/hpcwithus.discoverer.bg\/?p=178","title":{"rendered":"LLVM 15.0.0 is out (and installed on Discoverer HPC)"},"content":{"rendered":"\n<p>The new 15.0.0 version of <a href=\"http:\/\/llvm.org\">LLVM compiler infrastructure<\/a> is out. The source code as well as a set of precompiled binaries are available for download at Github:<\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/llvm\/llvm-project\/releases\/tag\/llvmorg-15.0.0\">https:\/\/github.com\/llvm\/llvm-project\/releases\/tag\/llvmorg-15.0.0<\/a><\/p>\n\n\n\n<p>Discoverer HPC users now have access to the LLVM 15.0.0 installation available in the software repository. By loading the environment module <code>llvm\/15\/15.0.0-gcc<\/code>:<\/p>\n\n\n\n<p><code>module load llvm\/15\/15.0.0-gcc<\/code><\/p>\n\n\n\n<p>the users obtain access to the LLVM compiler infrastructure. The suffix &#8220;gcc&#8221; in the module name specifies the compiler set employed for compiling the source code of the project. Note that LLVM 15.0.0 source code can be successfully compiled using <a href=\"http:\/\/gcc.gnu.org\">GCC<\/a> 12.<\/p>\n\n\n\n<p>For those interested in building LLVM 15.0.0 from source code, the build recipe is also published:<\/p>\n\n\n\n<p><a href=\"https:\/\/gitlab.discoverer.bg\/vkolev\/recipes\/-\/tree\/main\/llvm\/15\">https:\/\/gitlab.discoverer.bg\/vkolev\/recipes\/-\/tree\/main\/llvm\/15<\/a><\/p>\n\n\n\n<p><strong>Some notes on productivity and what to expect from the new LLVM compiler infrastructure.<\/strong> Tests on compiling <a href=\"https:\/\/www.gromacs.org\/\">GROMACS<\/a> 2022.3 with LLVM 15.0.0 shows the produced executable code is as productive as the one derived based on <a href=\"https:\/\/developer.amd.com\/amd-aocc\/\">AMD AOCC compilers<\/a> and <a href=\"https:\/\/developer.amd.com\/amd-aocl\/\">AMD AOCL<\/a>, in case <a href=\"https:\/\/fftw.org\/\">FFTW3<\/a> (a component external to the GROMACS code) is compiled by using LLVM 15.0.0 too. Tests on <a href=\"https:\/\/github.com\/facebook\/zstd\">ZSTD library<\/a> reveal slight rise in the productivity (3%), compared to the build created by means of GCC 12.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The new 15.0.0 version of LLVM compiler infrastructure is out. The source code as well as a set of precompiled binaries are available for download at Github: https:\/\/github.com\/llvm\/llvm-project\/releases\/tag\/llvmorg-15.0.0 Discoverer HPC users now have access to the LLVM 15.0.0 installation available in the software repository. By loading the environment module llvm\/15\/15.0.0-gcc: module load llvm\/15\/15.0.0-gcc the users obtain access to the LLVM compiler infrastructure. The suffix &#8220;gcc&#8221; in the module name specifies the compiler set employed for compiling the source code of&#8230;<\/p>\n<p class=\"read-more\"><a class=\"btn btn-default\" href=\"https:\/\/hpcwithus.discoverer.bg\/?p=178\"> Read More<span class=\"screen-reader-text\">  Read More<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"saved_in_kubio":false,"footnotes":""},"categories":[28],"tags":[43,42,32,44,31,15,40,13,41],"class_list":["post-178","post","type-post","status-publish","format-standard","hentry","category-compilers","tag-amd-aocl","tag-and-aocc","tag-aocc","tag-aocl","tag-fftw3","tag-gcc","tag-gromacs","tag-llvm","tag-zstd"],"_links":{"self":[{"href":"https:\/\/hpcwithus.discoverer.bg\/index.php?rest_route=\/wp\/v2\/posts\/178","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hpcwithus.discoverer.bg\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hpcwithus.discoverer.bg\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hpcwithus.discoverer.bg\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/hpcwithus.discoverer.bg\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=178"}],"version-history":[{"count":1,"href":"https:\/\/hpcwithus.discoverer.bg\/index.php?rest_route=\/wp\/v2\/posts\/178\/revisions"}],"predecessor-version":[{"id":179,"href":"https:\/\/hpcwithus.discoverer.bg\/index.php?rest_route=\/wp\/v2\/posts\/178\/revisions\/179"}],"wp:attachment":[{"href":"https:\/\/hpcwithus.discoverer.bg\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=178"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hpcwithus.discoverer.bg\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=178"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hpcwithus.discoverer.bg\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=178"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}