{"id":2952,"date":"2023-07-05T08:36:29","date_gmt":"2023-07-05T08:36:29","guid":{"rendered":"https:\/\/nag.com\/?post_type=case-studies&#038;p=2952"},"modified":"2023-07-06T15:03:33","modified_gmt":"2023-07-06T15:03:33","slug":"hector-dcse-team-quadruples-speed-and-enhances-scalability-of-key-materials-science-code-castep","status":"publish","type":"case-studies","link":"https:\/\/nag.com\/case-studies\/hector-dcse-team-quadruples-speed-and-enhances-scalability-of-key-materials-science-code-castep\/","title":{"rendered":"HECToR dCSE Team Quadruples Speed and Enhances Scalability of Key Materials Science Code &#8211; CASTEP"},"content":{"rendered":"<!-- Spacer -->\n<div class=\"pt-4 pt-lg-4 pt-xl-4\" ><\/div>\n\n\n<div class=\"gbc-title-banner ta ta-lg ta-xl\" style='background-color: #082d48ff; color: #ffffffff; border-radius: 0px; '>\n    <div class=\"container\" style='border-radius: 0px; '>\n        <div class=\"row justify-content--center\" style='color: #ffffffff;'>\n            <div class=\"col-12\"  >\n                <div class=\"wrap pv-4 \" style=\"0px\">\n                                <div class=\"col-12 col-md-12 col-lg-10 col-xl-8  banner-content\"  >\n    \n                                             <h1>HECToR dCSE Team Quadruples Speed and Enhances Scalability of Key Materials Science Code &#8211; CASTEP<\/h1>\n                    \n                    <div class=\"mt-1 mb-1 content\"><p>Case Study<\/p>\n<\/div>\n\n                    \n                                    <\/div>\n                <\/div>\n            <\/div>\n        <\/div>\n    <\/div>\n<\/div>\n\n\n<!-- Spacer -->\n<div class=\"pt-4 pt-lg-4 pt-xl-4\" ><\/div>\n\n<div class=\"container content-area-default \">\n    <div class=\"row justify-content--center\">\n        <div class=\"col-12 col-md-12 col-lg-10 col-xl-8\">\n            <div class=\"row-top bs-region bs-region--top\">\n<h3 class=\"field field--name-olamalu-nag-multiple-title field--type-ds field--label-hidden field--item\">CASTEP on HECToR<\/h3>\n<\/div>\n<p>The UK\u2019s previous\u00a0national supercomputing facility, HECToR, has been heavily used by scientists needing capability supercomputing resources since its official launch in October 2007. A substantial part of the Research Councils\u2019 six-year funding for this facility is devoted to the Computational Science and Engineering (CSE) support provided by <span class=\"nag-n-override\" style=\"margin-left: 0 !important;\"><i>n<\/i><\/span>AG. An important part of the CSE Service is the distributed CSE (dCSE) programme which, through a lightweight peer review process, delivers dedicated multi-month performance and scalability development projects in response to proposals from the user community. The first dCSE project to complete has proven to be an excellent example of what can be achieved through dedicated CSE effort, with dramatic improvements in code performance and scalability which could potentially save millions of pounds and allow significant new science to be undertaken for the UK Car-Parrinello Consortium (UKCP).<\/p>\n<h3><strong>Project Background<\/strong><\/h3>\n<p>The objective of the dCSE project was to develop an improved, more scalable version of CASTEP \u2013 a software package which uses density functional theory with a plane wave basis set to calculate electronic properties of solids from first principles. The key task of the project was to implement band-parallelism in order to allow the code to scale to more than 1000 cores on HECToR. CASTEP is used on HECToR to model a range of materials or molecules at the atomic level. In particular scientists run CASTEP to obtain information about total energies, forces and stresses on an atomic system, as well as calculating optimum geometries, band structures, optical spectra, phonon spectra as well as molecular dynamics simulations. Dr Keith Refson from the Computational Materials Science Group at the Rutherford Appleton Laboratory was the Principal Investigator on the project, and Dr Martin Plummer from Daresbury Laboratory and Dr Matt Probert of The University of York were the Co-Investigators. <span class=\"nag-n-override\" style=\"margin-left: 0 !important;\"><i>n<\/i><\/span>AG contracted Dr Phil Hasnip of the Department of Physics at the University of York to carry out the code development work in collaboration with both the wider CASTEP team and the <span class=\"nag-n-override\" style=\"margin-left: 0 !important;\"><i>n<\/i><\/span>AG CSE team.<\/p>\n<h3><strong>Project Results<\/strong><\/h3>\n<p>The results of this work were excellent. The improved code has a speed-up factor of between 2 and 4 times the original and now scales to over 1000 cores against 256 previously.<\/p>\n<p>The UKCP Chairman, Dr Matt Probert of the Department of Physics at the University York estimated that the CASTEP consortium was using around 10m Allocation Units (AU)s per annum on HECToR \u2013 a nominal cost of around \u00a3640k. Making the code 2-4 times more efficient could result in a saving of \u00a3320k-\u00a3480k per annum (a saving of around say \u00a31.6m-\u00a32.4m over the remaining life of HECToR); all for around 8 person months of effort!<\/p>\n<p>Commenting on the massive return on investment, Dr Probert said\u00a0<\/p>\n<p>\u00a0<\/p>\n<p><i>\u201cI guess it goes to show the value of centrally supporting key software packages, and that there is a considerable saving to be made due to scale of usage. Also the HECToR dCSE scheme is well worth supporting and continuing &#8211; and that the dCSE postdoc (Phil Hasnip in this case) was very good value for money!\u201d<\/i><\/p>\n<p>\u00a0<\/p>\n<p>CASTEP user and PI on the project, Dr Keith Refson added\u00a0<\/p>\n<p>\u00a0<\/p>\n<p><i>\u201cThe performance and scaling gains achieved by the band-parallel CASTEP represent a very substantial advance in the efficiency of utilisation of CPU cycles on HECToR. This will not only result in a lower time and cost and more rapid turnaround for jobs already planned, but as intended will permit larger and more complex simulations, using more processors, which were not previously feasible.\u201d<\/i><\/p>\n<p>\u00a0<\/p>\n<p>Dr Probert predicts that due to the speed and scaling gains resulting from CASTEP\u2019s improvements the software can now be utilized for larger scale scientific work, i.e. bigger atomic systems for less wall-clock time and\/or more simulations\u2013 within their existing budgets. In fact, several research projects have been waiting in anticipation of the planned release of the improved CASTEP in 2009.<\/p>\n<p><strong>Update<\/strong><\/p>\n<p>Since the writing of this case study,<a href=\"http:\/\/www.archer.ac.uk\/\" target=\"_blank\" rel=\"noopener\">\u00a0ARCHER\u00a0<\/a>has replaced HECToR as the UK&#8217;s national supercomputer.<\/p>\n<h3><strong>About UKCP<\/strong><\/h3>\n<p>The UKCP is an association of academic research groups collaborating on the first-principles computer simulation of condensed matter. Their aim is to use the creativity and strength of collaboration and shared expertise to produce outstanding science and simulation software.<\/p>\n<h3><strong>About CASTEP<\/strong><\/h3>\n<p><a href=\"http:\/\/www.castep.org\/\" target=\"_blank\" rel=\"noopener\">CASTEP<\/a>\u00a0is a software package which uses density functional theory with a plane wave basis set to calculate electronic properties of solids from first principles. CASTEP is a fully featured first principles code and as such its capabilities are numerous. Aiming to calculate any physical property of the system from first principles, the basic quantity is the total energy from which many other quantities are derived. For example the derivative of total energy with respect to atomic positions results in the forces and the derivative with respect to cell parameters gives stresses. These are then used to perform full geometry optimizations and possibly finite temperature molecular dynamics. Furthermore, symmetry and constraints (both internal and external to the cell) can be imposed in the calculations, either as defined by the user, or automatically using in-built symmetry detection.<\/p>\n        <\/div>\n    <\/div>\n<\/div>\n\n\n<div class=\"gbc-title-banner tac tac-lg tac-xl\" style='border-radius: 0px; '>\n    <div class=\"container\" style='border-radius: 0px; '>\n        <div class=\"row justify-content--center\" >\n            <div class=\"col-12\"  >\n                <div class=\"wrap pv-4 \" style=\"0pxbackground-color: \">\n                                <div class=\"col-12 col-md-12 col-lg-10 col-xl-8  banner-content\"  >\n    \n                    \n                    <div class=\"mt-1 mb-1 content\"><\/div>\n\n                    \n                    <a href='https:\/\/nag.com\/hpc-services\/' style='background-color: #63c0fdff; border-radius: 30px; font-weight: 600; ' class='btn mr-1  ' target=\"_blank\">HPC Services <i class='fas fa-angle-right'><\/i><\/a>                <\/div>\n                <\/div>\n            <\/div>\n        <\/div>\n    <\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>The objective of the dCSE project was to develop an improved, more scalable version of CASTEP \u2013 a software package which uses density functional theory with a plane wave basis set to calculate electronic properties of solids from first principles.<\/p>\n","protected":false},"author":3,"featured_media":3139,"parent":0,"menu_order":0,"template":"","meta":{"content-type":"","footnotes":""},"post-tag":[77,43],"class_list":["post-2952","case-studies","type-case-studies","status-publish","has-post-thumbnail","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>HECToR dCSE Team Quadruples Speed and Enhances Scalability of Key Materials Science Code - CASTEP - nAG<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/nag.com\/case-studies\/hector-dcse-team-quadruples-speed-and-enhances-scalability-of-key-materials-science-code-castep\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"HECToR dCSE Team Quadruples Speed and Enhances Scalability of Key Materials Science Code - CASTEP - nAG\" \/>\n<meta property=\"og:description\" content=\"The objective of the dCSE project was to develop an improved, more scalable version of CASTEP \u2013 a software package which uses density functional theory with a plane wave basis set to calculate electronic properties of solids from first principles.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/nag.com\/case-studies\/hector-dcse-team-quadruples-speed-and-enhances-scalability-of-key-materials-science-code-castep\/\" \/>\n<meta property=\"og:site_name\" content=\"nAG\" \/>\n<meta property=\"article:modified_time\" content=\"2023-07-06T15:03:33+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/nag.com\/wp-content\/uploads\/2023\/07\/iStock-133532803.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"2000\" \/>\n\t<meta property=\"og:image:height\" content=\"1328\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@NAGTalk\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/nag.com\/case-studies\/hector-dcse-team-quadruples-speed-and-enhances-scalability-of-key-materials-science-code-castep\/\",\"url\":\"https:\/\/nag.com\/case-studies\/hector-dcse-team-quadruples-speed-and-enhances-scalability-of-key-materials-science-code-castep\/\",\"name\":\"HECToR dCSE Team Quadruples Speed and Enhances Scalability of Key Materials Science Code - CASTEP - nAG\",\"isPartOf\":{\"@id\":\"https:\/\/nag.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/nag.com\/case-studies\/hector-dcse-team-quadruples-speed-and-enhances-scalability-of-key-materials-science-code-castep\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/nag.com\/case-studies\/hector-dcse-team-quadruples-speed-and-enhances-scalability-of-key-materials-science-code-castep\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/nag.com\/wp-content\/uploads\/2023\/07\/iStock-133532803.jpg\",\"datePublished\":\"2023-07-05T08:36:29+00:00\",\"dateModified\":\"2023-07-06T15:03:33+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/nag.com\/case-studies\/hector-dcse-team-quadruples-speed-and-enhances-scalability-of-key-materials-science-code-castep\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/nag.com\/case-studies\/hector-dcse-team-quadruples-speed-and-enhances-scalability-of-key-materials-science-code-castep\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/nag.com\/case-studies\/hector-dcse-team-quadruples-speed-and-enhances-scalability-of-key-materials-science-code-castep\/#primaryimage\",\"url\":\"https:\/\/nag.com\/wp-content\/uploads\/2023\/07\/iStock-133532803.jpg\",\"contentUrl\":\"https:\/\/nag.com\/wp-content\/uploads\/2023\/07\/iStock-133532803.jpg\",\"width\":2000,\"height\":1328},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/nag.com\/case-studies\/hector-dcse-team-quadruples-speed-and-enhances-scalability-of-key-materials-science-code-castep\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/nag.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Case Studies\",\"item\":\"https:\/\/nag.com\/case-studies\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"HECToR dCSE Team Quadruples Speed and Enhances Scalability of Key Materials Science Code &#8211; CASTEP\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/nag.com\/#website\",\"url\":\"https:\/\/nag.com\/\",\"name\":\"NAG\",\"description\":\"Robust, trusted numerical software and computational expertise.\",\"publisher\":{\"@id\":\"https:\/\/nag.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/nag.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/nag.com\/#organization\",\"name\":\"Numerical Algorithms Group\",\"alternateName\":\"NAG\",\"url\":\"https:\/\/nag.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/nag.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/nag.com\/wp-content\/uploads\/2023\/11\/NAG-Logo.png\",\"contentUrl\":\"https:\/\/nag.com\/wp-content\/uploads\/2023\/11\/NAG-Logo.png\",\"width\":1244,\"height\":397,\"caption\":\"Numerical Algorithms Group\"},\"image\":{\"@id\":\"https:\/\/nag.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/NAGTalk\",\"https:\/\/www.linkedin.com\/company\/nag\/\",\"https:\/\/www.youtube.com\/user\/NumericalAlgorithms\",\"https:\/\/github.com\/numericalalgorithmsgroup\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"HECToR dCSE Team Quadruples Speed and Enhances Scalability of Key Materials Science Code - CASTEP - nAG","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/nag.com\/case-studies\/hector-dcse-team-quadruples-speed-and-enhances-scalability-of-key-materials-science-code-castep\/","og_locale":"en_US","og_type":"article","og_title":"HECToR dCSE Team Quadruples Speed and Enhances Scalability of Key Materials Science Code - CASTEP - nAG","og_description":"The objective of the dCSE project was to develop an improved, more scalable version of CASTEP \u2013 a software package which uses density functional theory with a plane wave basis set to calculate electronic properties of solids from first principles.","og_url":"https:\/\/nag.com\/case-studies\/hector-dcse-team-quadruples-speed-and-enhances-scalability-of-key-materials-science-code-castep\/","og_site_name":"nAG","article_modified_time":"2023-07-06T15:03:33+00:00","og_image":[{"width":2000,"height":1328,"url":"https:\/\/nag.com\/wp-content\/uploads\/2023\/07\/iStock-133532803.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_site":"@NAGTalk","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/nag.com\/case-studies\/hector-dcse-team-quadruples-speed-and-enhances-scalability-of-key-materials-science-code-castep\/","url":"https:\/\/nag.com\/case-studies\/hector-dcse-team-quadruples-speed-and-enhances-scalability-of-key-materials-science-code-castep\/","name":"HECToR dCSE Team Quadruples Speed and Enhances Scalability of Key Materials Science Code - CASTEP - nAG","isPartOf":{"@id":"https:\/\/nag.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/nag.com\/case-studies\/hector-dcse-team-quadruples-speed-and-enhances-scalability-of-key-materials-science-code-castep\/#primaryimage"},"image":{"@id":"https:\/\/nag.com\/case-studies\/hector-dcse-team-quadruples-speed-and-enhances-scalability-of-key-materials-science-code-castep\/#primaryimage"},"thumbnailUrl":"https:\/\/nag.com\/wp-content\/uploads\/2023\/07\/iStock-133532803.jpg","datePublished":"2023-07-05T08:36:29+00:00","dateModified":"2023-07-06T15:03:33+00:00","breadcrumb":{"@id":"https:\/\/nag.com\/case-studies\/hector-dcse-team-quadruples-speed-and-enhances-scalability-of-key-materials-science-code-castep\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/nag.com\/case-studies\/hector-dcse-team-quadruples-speed-and-enhances-scalability-of-key-materials-science-code-castep\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/nag.com\/case-studies\/hector-dcse-team-quadruples-speed-and-enhances-scalability-of-key-materials-science-code-castep\/#primaryimage","url":"https:\/\/nag.com\/wp-content\/uploads\/2023\/07\/iStock-133532803.jpg","contentUrl":"https:\/\/nag.com\/wp-content\/uploads\/2023\/07\/iStock-133532803.jpg","width":2000,"height":1328},{"@type":"BreadcrumbList","@id":"https:\/\/nag.com\/case-studies\/hector-dcse-team-quadruples-speed-and-enhances-scalability-of-key-materials-science-code-castep\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/nag.com\/"},{"@type":"ListItem","position":2,"name":"Case Studies","item":"https:\/\/nag.com\/case-studies\/"},{"@type":"ListItem","position":3,"name":"HECToR dCSE Team Quadruples Speed and Enhances Scalability of Key Materials Science Code &#8211; CASTEP"}]},{"@type":"WebSite","@id":"https:\/\/nag.com\/#website","url":"https:\/\/nag.com\/","name":"NAG","description":"Robust, trusted numerical software and computational expertise.","publisher":{"@id":"https:\/\/nag.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/nag.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/nag.com\/#organization","name":"Numerical Algorithms Group","alternateName":"NAG","url":"https:\/\/nag.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/nag.com\/#\/schema\/logo\/image\/","url":"https:\/\/nag.com\/wp-content\/uploads\/2023\/11\/NAG-Logo.png","contentUrl":"https:\/\/nag.com\/wp-content\/uploads\/2023\/11\/NAG-Logo.png","width":1244,"height":397,"caption":"Numerical Algorithms Group"},"image":{"@id":"https:\/\/nag.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/NAGTalk","https:\/\/www.linkedin.com\/company\/nag\/","https:\/\/www.youtube.com\/user\/NumericalAlgorithms","https:\/\/github.com\/numericalalgorithmsgroup"]}]}},"_links":{"self":[{"href":"https:\/\/nag.com\/wp-json\/wp\/v2\/case-studies\/2952","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nag.com\/wp-json\/wp\/v2\/case-studies"}],"about":[{"href":"https:\/\/nag.com\/wp-json\/wp\/v2\/types\/case-studies"}],"author":[{"embeddable":true,"href":"https:\/\/nag.com\/wp-json\/wp\/v2\/users\/3"}],"version-history":[{"count":3,"href":"https:\/\/nag.com\/wp-json\/wp\/v2\/case-studies\/2952\/revisions"}],"predecessor-version":[{"id":3140,"href":"https:\/\/nag.com\/wp-json\/wp\/v2\/case-studies\/2952\/revisions\/3140"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/nag.com\/wp-json\/wp\/v2\/media\/3139"}],"wp:attachment":[{"href":"https:\/\/nag.com\/wp-json\/wp\/v2\/media?parent=2952"}],"wp:term":[{"taxonomy":"post-tag","embeddable":true,"href":"https:\/\/nag.com\/wp-json\/wp\/v2\/post-tag?post=2952"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}