<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Andrew Laidlaw on Medium]]></title>
        <description><![CDATA[Stories by Andrew Laidlaw on Medium]]></description>
        <link>https://medium.com/@andrewlaidlawpower?source=rss-4c39a528352------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*0ijaMDDIpdkNHNwWvpXG0w.jpeg</url>
            <title>Stories by Andrew Laidlaw on Medium</title>
            <link>https://medium.com/@andrewlaidlawpower?source=rss-4c39a528352------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 09:15:08 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@andrewlaidlawpower/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[High Performance Computing]]></title>
            <link>https://andrewlaidlawpower.medium.com/high-performance-computing-4cd00d97876?source=rss-4c39a528352------2</link>
            <guid isPermaLink="false">https://medium.com/p/4cd00d97876</guid>
            <category><![CDATA[spectrum-lsf]]></category>
            <category><![CDATA[modernization]]></category>
            <category><![CDATA[software]]></category>
            <category><![CDATA[ibm]]></category>
            <category><![CDATA[hpc]]></category>
            <dc:creator><![CDATA[Andrew Laidlaw]]></dc:creator>
            <pubDate>Wed, 29 Jun 2022 08:41:13 GMT</pubDate>
            <atom:updated>2022-06-29T08:41:13.214Z</atom:updated>
            <content:encoded><![CDATA[<p>Here’s a quick update on my own viewpoint on the HPC capabilities that IBM currently provides, and what I’m seeing in terms of themes and approaches for the future of High Performance Computing environments in academic research and beyond.</p><p>Last updated: June 2022.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/444/1*6SG2LUWUOGVuIhbETmlhIQ.jpeg" /><figcaption>IBM partnered with the US Department of Energy to deliver the Summit supercomputer in 2018.</figcaption></figure><h3>IBM Offerings for HPC workloads</h3><p>As a world leading Hybrid Cloud and AI company, IBM understands the changing needs of the HPC Community, and the rapidly modernising landscape of options that this presents. Across various offerings, IBM can deliver hardware and software capabilities that can help researchers get results from their computationally intensive applications and code in more efficient and more flexible ways. These capabilities can also help HPC environments span both on-premises and private cloud environments and the wider range of systems and technology available in the public cloud.</p><p>To find out more about all of our HPC Infrastructure Offerings, which covers Server, Storage, and Software for workload management and scheduling:</p><p><a href="https://www.ibm.com/it-infrastructure/hpc">High Performance Computing (HPC) Server and Storage Solutions | IBM</a></p><p>We are now moving towards a Hybrid Cloud model for our HPC offerings, with the combination of on-premises hardware and storage, and provision via the IBM Cloud — which allows for easy short-term access to specialist Hardware or Software as a Service.</p><p>The IBM Cloud offering includes HPC centric systems (with bare-metal provision as well as virtual machines). This is linked with our HPC Management Software, including tools like Spectrum LSF for workload scheduling across multiple sites and cloud providers. We can also create a single Spectrum Scale shared filesystem across on-premises and Cloud services, to deliver a single namespace across all locations. This integrates with tools like Spectrum LSF to deliver a seamless and flexible Hybrid Cloud environment.</p><p><a href="https://www.ibm.com/cloud/hpc">High-Performance Computing on IBM Cloud | IBM</a></p><p>For Hybrid Cloud environments for HPC, the value moves from being purely about the hardware provision to focussing more on the value of the software elements involved. Making use of the capabilities of tools such as Spectrum LSF allows for a more flexible and more efficient use of resources, whether they are deployed in an on-premises cluster or within the IBM Cloud (or other public cloud services). This can drive up the overall utilisation of existing and new on-premises hardware, without having systems that remain idle at periods of lower demand — whilst also allowing environments to react to periods of increased need by automatically provisioning cloud instances.</p><p>For more about the Spectrum Computing range of management software:</p><p><a href="https://www.ibm.com/analytics/spectrum-computing">IBM Spectrum Computing | IBM</a></p><p>For more specific information about the IBM Spectrum LSF offering for managing HPC environments across a hybrid cloud deployment:</p><p><a href="https://www.ibm.com/products/hpc-workload-management">IBM Spectrum LSF Suites | IBM</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/796/1*w7qRcA4gwOtSVPZX7lcjrg.png" /><figcaption>IBM Spectrum LSF is available in a number of suites to cover different types of use.</figcaption></figure><h3>HPC themes for the future</h3><p>There are many themes that are appearing in the HPC community and driving changes to the way that environments are designed and deployed. These are appearing as researchers are looking to harness the value of cloud computing for their needs and looking for simplification in the way they deploy and manage their applications and codes. Changes to the way systems are managed and accessed is also opening up HPC systems to new researchers and user communities that were previously unable to use them due to lack of skills or knowledge.</p><h4>Containers</h4><p>The migration of many applications to a Container deployment model (driven by Docker and Kubernetes) has also influenced researchers. They are increasingly looking at containerised instances of their applications and codes to give repeatable results in a reusable and highly portable way. This reduces some of the effort required in getting an application to run consistently in multiple different environments and removes one of the biggest challenges when looking to extend an on-premises environment with public cloud resources.</p><p>Spectrum LSF includes support for containerised workloads, including those based on Docker, Shifter, and Singularity. These can be deployed for long term use, or as batch jobs as part of workload queues.</p><h4>Accelerators</h4><p>The most common hardware accelerator in use within HPC today is the GPU, which provides acceleration for highly parallel applications and codes with the use of the right libraries and drivers. There are many other accelerator types available though, each providing speed or efficiency benefits for different workload types. The intelligent use of accelerator technologies can massively improve the performance and overall efficiency of complex codes like those found in research but can add levels of complexity and management overhead. One solution is to offload some workload to accelerated compute instances in public cloud services like the IBM Cloud, using them only when application codes require them. Another is to intelligently schedule tasks across a heterogeneous cluster of systems, where those workloads that will see benefits from accelerators like GPUs will be automatically deployed on the right nodes to deliver those benefits.</p><p>Spectrum LSF can intelligently distribute workloads across a mixed environment, placing them on the best hardware platform for their requirements to increase the overall throughput of a system. Where public cloud services are also in use, these can be provisioned and deprovisioned as required for workloads without incurring additional costs for running idle instances.</p><h4>Artificial Intelligence</h4><p>One of the fastest growing use types for GPU acceleration across the HPC community is for the training of Machine Learning and Deep Learning algorithms, often based on large and complex data sets. However, the value of these algorithms is not in the training process, but in their subsequent deployment and use for inference on new data coming in — providing valuable predictions or insights. This requires a very different deployment model to the training processes, which can be run as batch jobs in a standard scheduling queue. Instead, an inference workload needs to react quickly to small amounts of new data coming in — so benefits from being deployed long term, with the flexibility to scale up and down to meet demands.</p><p>Deploying these AI inference workloads in containers provides additional flexibility, and the ability to use minimal resources when not in use. However, they can also benefit from access to relevant accelerators as needed to deliver higher performance. For HPC environments where inference workloads are going to form a large part of the research requirement, we would recommend a container orchestration platform to ensure that these workloads can be managed in a flexible and efficient manner without additional administrative work. Tools such as Red Hat OpenShift Container Platform reduce the management burden and provide powerful yet simple tooling for researchers and administrators alike when rolling out these kinds of long-term workloads. For environments with a smaller requirement, then the tools within Spectrum LSF support containerised workload deployment alongside the more traditional batch and interactive job queues.</p><h4>Simplification</h4><p>As data-centric research becomes an increasing part of many disciplines, there are increasing numbers of researchers who can benefit from access to high performance computing, particularly in the space of data analytics. Many of these are put off by the complexity of HPC environments and the tools required to access them. Instead, they may make use of open-source software to run their data analytics workflows — either on local workstations or on the public cloud.</p><p>Delivering the same interactive environments within an HPC environment delivers a number of benefits, including the ability to use the scale of an environment to process data more efficiently and deliver results faster. It also makes it easy to incorporate data from existing shared file systems like Spectrum Scale. Researchers benefit from being able to use existing tools like Jupyter Notebooks and R Studio to complete their research, but with a larger and more resilient infrastructure supporting them.</p><p>Incorporating modern data analytics tools into more traditional HPC environments requires the right management and scheduling tools, providing increased flexibility and new options for consumption of resources. Tools like the IBM Spectrum Computing suites allow HPC sites to support a mix of research types and scales across a heterogeneous Hybrid Cloud environment, delivering those capabilities to a more diverse user base.</p><h3>Summary</h3><p>The value of computational research is increasing, and therefore computing infrastructure is becoming ever more important and valuable in research organisations. However, to deliver on the potential of high performance computing across multiple disciplines, many sites and environments require modernisation. Extensive value can be unlocked by implementing the right software and management solutions to increase the flexibility and efficiency of existing on-premises compute and storage clusters. Changing the types of workloads and the tools available to researchers opens up new avenues for research and a new user base for HPC clusters. Having tools in place that allow those researchers to also use the capabilities of public cloud services when required — either for scaling or to access more effective hardware — ensures that sites can spend their money more effectively to deliver research outputs.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4cd00d97876" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Accessing  deep learning and machine learning packages]]></title>
            <link>https://andrewlaidlawpower.medium.com/accessing-deep-learning-and-machine-learning-packages-9fef60030ad6?source=rss-4c39a528352------2</link>
            <guid isPermaLink="false">https://medium.com/p/9fef60030ad6</guid>
            <category><![CDATA[open-ce]]></category>
            <category><![CDATA[ac922]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[ibm-power-systems]]></category>
            <category><![CDATA[watson-machine-learning]]></category>
            <dc:creator><![CDATA[Andrew Laidlaw]]></dc:creator>
            <pubDate>Tue, 08 Dec 2020 17:39:42 GMT</pubDate>
            <atom:updated>2020-12-08T17:42:09.074Z</atom:updated>
            <content:encoded><![CDATA[<h3>Accessing deep learning and machine learning packages</h3><p>One of the primary use cases for the GPU accelerated Power Systems servers like the AC922 and IC922 is to run deep learning and machine learning workloads. Both training and inference jobs can be accelerated by the NVIDIA GPUs to deliver higher performance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5mgQa4zaQrTX1ZcUMitrQQ.png" /><figcaption>The IBM Power Systems AC922 with NVIDIA Tesla V100 GPUs is an ideal system for training deep learning models using the software packages discussed here.</figcaption></figure><p>There are a range of methods to get access to the common deep learning and machine learning frameworks on these Power Systems servers, from IBM and Open Source project locations. These are commonly provided as Python packages to ensure they integrate with other data science tools.</p><h3>Watson Machine Learning Community Edition (WML CE)</h3><p>This is an IBM provided repository of compiled and optimised binaries for the common deep learning and machine learning frameworks in use today.</p><p><a href="https://public.dhe.ibm.com/ibmdl/export/pub/software/server/ibm-ai/conda/#/">https://public.dhe.ibm.com/ibmdl/export/pub/software/server/ibm-ai/conda/#/</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*3uKEV5C7Zob3W9Z5.png" /><figcaption>IBM provides the Watson Machine Learning Community Edition packages through a conda channel</figcaption></figure><p>This was set up as a public facing Anaconda repository to allow for easy access to those binaries for internal and external customers alike. Through agreements with our Partner NVIDIA, we were also able to include their CUDA code and associated packages within this library — covered under the license terms in place for access to the repository. Due to the nature of the Anaconda repository system, the IBM development team were able to include other proprietary tools within that same license, including tools like <a href="https://www.zurich.ibm.com/snapml/">SnapML</a>.</p><p>Each release of WML CE included updated versions of the common frameworks, built to run on a consistent CUDA release and set of underlying packages which ensured that multiple frameworks could run effectively within the same Conda environment. The latest version (1.7.0) was all built to run on CUDA 10.2 which is available for Red Hat Enterprise Linux 7.6-alt on the POWER9 based IBM Power Systems AC922 and IC922 servers.</p><p>The WML CE conda repository is also supported by a couple of other public conda repositories:</p><p>The <a href="https://public.dhe.ibm.com/ibmdl/export/pub/software/server/ibm-ai/conda-early-access/">Early Access Channel</a> provides packages that are newer than those in the main channel, but might not have gone through such extensive testing.</p><p>The <a href="https://anaconda.org/powerai">Anaconda PowerAI</a> channel provides open access to a number of other packages that are commonly used in data science, compiled to run on the ppc64le architecture. These are largely open source, and do not come with formal support.</p><p>The frameworks made available within WML CE were never intended to be up to date with the upstream Open Source projects. Instead, releases of each framework have been chosen to be thoroughly tested by the IBM development team, with relevant patches included to ensure high levels of resiliency and performance. This also allowed IBM to provide a formal support agreement for these packages to customers that require Enterprise grade support for their deep learning and machine learning workloads running in Production environments.</p><p>However, most of the user base for the WML CE repository did not require this level of support, in fact most were from research institutions and academic organisations without any need for formal support. Instead, the requests from many of the user community has been for IBM to provide newer framework versions and deliver packages closer to the upstream releases as possible.</p><p>IBM has worked with those academic and research users as well as the Open Source Community to deliver an alternative option for customers looking to run the latest deep learning and machine learning frameworks on their systems. This allows for greater flexibility and choice, as well as delivering the latest releases more rapidly to researchers and developers.</p><h3>Open-CE on Github</h3><p>This Open Source project has been created to encapsulate the experience of the WML CE development team and make that available to the wider community. It includes feedstocks for the common frameworks, making them available for customers to build their own packages, and host their own local Anaconda repository for their user community.</p><p><a href="https://github.com/open-ce/">https://github.com/open-ce/</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/860/0*5G3PucJQN2F3qV0S.png" /><figcaption>The Open-CE project is hosted on Github, with contributions welcomed from the Community</figcaption></figure><p>The main benefit for the research community is that this method will give them faster access to the latest releases from the upstream projects for these frameworks. Users will be able to build new packages as often as they like to get access to the latest functionality and features. Sites will also be able to host their own Anaconda repositories for any built packages, making them available to the wider user community quickly and efficiently. As this is based around an Open Source approach, the worldwide user community will also be able to benefit from experiences and expertise from across the globe, and not be reliant on the IBM development team to incorporate the latest patches.</p><p>This is expected to give a faster rollout of deep learning and machine learning framework releases than we have been able to offer with WML CE, and a greater flexibility for sites.</p><p>As this is a fully open source community, proprietary code such as the CUDA runtime and associated tools from NVIDIA will not be available from this Github repository. Instead, these would need to be sourced directly from NVIDIA to ensure acceptance of their Terms and Conditions. For many HPC environments these would likely be included in the base OS image for the servers.</p><p>Other IBM proprietary applications that were included in WML CE are not available in Open-CE, including SnapML. The latest release of this is still available through the WML CE repository, and the development team are still evaluating their choices on how to provide this to customers in the future.</p><p>Alongside the feedstocks to build each of the frameworks, the Open-CE Github repository includes documentation and instructions on how to build either individual frameworks or a whole release. This includes the steps to build a local Anaconda repository, as well as guidance on how to build container images incorporating these frameworks. There are build scripts provided to allow these packages to be included in a CI/CD pipeline or other automated build processes, allowing sites to maintain their own up to date repositories for researchers to use.</p><p>The current release (v1.0.1) is set up to run on CUDA 10.2 to maintain consistency with the latest WML CE release. However, future releases will use CUDA 11.x, which is supported on Red Hat Enterprise Linux 8 on the IBM Power Systems AC922 and IC922 servers.</p><h3>Open-CE Public Repositories</h3><p>The Open-CE project has been setup to deliver the build recipes and instructions for the common deep learning and machine learning frameworks and does not include a public Anaconda repository in the same way that WML CE does. Instead, there are several institutions that intend to provide their own public repositories for these packages, making them available to the wider community. The first of these is the Open Source Lab at Oregon State University, which already has an Open-CE Conda channel up and running.</p><p><a href="https://osuosl.org/services/powerdev/opence/">https://osuosl.org/services/powerdev/opence/</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*zC2yXyDuDMkf5fB4.jpg" /><figcaption>Oregon State University Open Source Lab provide a public repository of packages</figcaption></figure><p>Having community provided repositories offers greater flexibility, with some sites likely to host frequent updates to keep pace with the open source communities whilst others maintain fixed releases to ensure consistency and to reduce risk. Other customers will then be able to choose which of these repositories they want to pull from for each project. For instance, a researcher could use the latest nightly build of Tensorflow to make use of the latest features for training but deploy that model on a more resilient and tested package from a different source for inferencing against live experimental data.</p><p>The experience of pulling packages from these public repositories is the same as they have with the WML CE repository currently, and so existing workflows can remain the same. This allows consistency for users already working with the packages from WML CE whilst offering greater flexibility to new researchers coming on to the platform.</p><p>There are also plans to deliver the frameworks within Open-CE as OCI compliant container images for sites that are making use of technologies like Docker / Singularity / Kubernetes / Red Hat OpenShift to manage workloads on their clusters. These will be similar to the container images already publicly available for the WML CE provided packages.</p><p><a href="https://hub.docker.com/r/ibmcom/powerai/">https://hub.docker.com/r/ibmcom/powerai/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9fef60030ad6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Resources for Power Systems HPC users from IBM at no charge]]></title>
            <link>https://andrewlaidlawpower.medium.com/resources-for-power-systems-hpc-users-from-ibm-at-no-charge-7bcc06627e90?source=rss-4c39a528352------2</link>
            <guid isPermaLink="false">https://medium.com/p/7bcc06627e90</guid>
            <category><![CDATA[compilers]]></category>
            <category><![CDATA[hpc]]></category>
            <category><![CDATA[power9]]></category>
            <category><![CDATA[optimisation]]></category>
            <category><![CDATA[ibm-power-systems]]></category>
            <dc:creator><![CDATA[Andrew Laidlaw]]></dc:creator>
            <pubDate>Wed, 13 May 2020 10:10:57 GMT</pubDate>
            <atom:updated>2020-05-13T10:10:57.968Z</atom:updated>
            <content:encoded><![CDATA[<p>In order to support the growing community of users and developers building and running their HPC codes on IBM Power Systems or equivalent OpenPOWER servers, IBM provides a number of their software development tools at no charge. These are ‘Community Edition’ versions of the tools, which are generally fully functioning products, although some have limitations: for instance the maximum number of servers it can be installed on. In all cases, there is a user agreement and a license for the product, and the software comes with no official support from IBM. There are also fully licensed versions of all of these products, that come complete with a support contract with IBM entitling you to access the extensive support capabilities and experiences of the IBM Technical Support Services team.</p><p>There are also similar products available from third party vendors or the open source communities — but I won’t go into all of the options here.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*N_685zLbr1LyxF4l.jpg" /><figcaption>The Summit supercomputer uses GPU accelerated IBM Power Systems AC922 nodes to run some of the largest HPC jobs around.</figcaption></figure><h3>Compilers</h3><p>Although a lot of scientific computing applications these days are becoming more data-centric, and therefore being written in interpreted languages like Python and R, there is still a lot of code out there that requires compiling. To this end, there are a number of options for C/C++ and Fortran compilers on Power Systems hardware.</p><p><strong>OS supplied GNU compilers</strong></p><p>The base Operating system image comes with the standard GNU compilers and libraries, although these will be at the level that was current when that OS release was made available, which can be several steps behind the open source versions. These are installed from the standard OS repositories using tools like <em>yum </em>and <em>apt-get</em>.</p><p><strong>IBM Advance Toolchain for Linux on Power</strong></p><p>The Advance Toolchain provides up to date versions of the GNU compilers and libraries, available to download and install from IBM. These are fully tested by IBM, and provide support for the latest hardware advantages and compiler functionality. As well as the <em>gcc</em>, <em>gcc++</em> and <em>gfortran</em> compilers, this package includes optimised runtime libraries for POWER8 and POWER9 processors. Other libraries are included to help get the best performance out of the POWER architecture. along with several supporting libraries. There are also tools for debugging (eg <em>gdb</em>) and performance analysis (eg <em>valgrind</em> and <em>itrace</em>).</p><p>For more information: <a href="https://developer.ibm.com/linuxonpower/advance-toolchain/">https://developer.ibm.com/linuxonpower/advance-toolchain/</a></p><p><strong>IBM XL Compilers for Linux — community editions</strong></p><p>The IBM XL compiler family are used to generate code that makes the best use of the latest POWER9 architecture, allowing you to maximise the performance of your code and the utilisation of your hardware. With full support for offloading computation and data to accelerators like NVIDIA GPUs using CUDA, and also OpenMP, the XL compilers can be used to build complex applications. There are two Community Edition products available, the <em>XL C/C++ for Linux</em> compiler and the <em>XL Fortran for Linux</em> compiler. To help you get the absolute best performance out of your code, both compilers support multiple levels of optimisations, with extensive optimisation reports and debug capabilities — including profile directed feedback and interprocedural analysis.</p><p>To download the Community editions of these tools:<br><strong>XL C/C++</strong>: <a href="https://www.ibm.com/uk-en/marketplace/xl-cpp-linux-compiler-power">https://www.ibm.com/uk-en/marketplace/xl-cpp-linux-compiler-power</a><br><strong>XL Fortran</strong>: <a href="https://www.ibm.com/uk-en/marketplace/xl-fortran-linux-compiler-power">https://www.ibm.com/uk-en/marketplace/xl-fortran-linux-compiler-power</a></p><p>For more information on installation, setup, and usage:<br><strong>XL C/C++</strong>: <a href="https://www.ibm.com/support/knowledgecenter/en/SSXVZZ_16.1.1/com.ibm.compilers.linux.doc/welcome.html">https://www.ibm.com/support/knowledgecenter/en/SSXVZZ_16.1.1/com.ibm.compilers.linux.doc/welcome.html</a><br><strong>XL Fortran</strong>: <a href="https://www.ibm.com/support/knowledgecenter/en/SSAT4T_16.1.1/com.ibm.compilers.linux.doc/welcome.html">https://www.ibm.com/support/knowledgecenter/en/SSAT4T_16.1.1/com.ibm.compilers.linux.doc/welcome.html</a></p><p><strong>NVIDIA GPUs and CUDA</strong></p><p>For applications that make use of GPU acceleration, you will need a compiler that allows you to make use of the GPUs in a system. The standard compiler for NVIDIA devices is <em>NVCC</em>, which is part of the freely available CUDA runtime from NVIDIA. With code written to make use of the CUDA runtime, compilers like the XL family will generally offload the GPU computation to the NVCC compiler to build the final binaries. NVIDIA also provide a set of tools for debugging and analysing the performance of CUDA code.</p><h3>Software development tool kits</h3><p>Although many modern Linux distributions include a wide range of tools to assist with software development and testing, if you are building more complex applications it can often be helpful to have a full development environment. A well built Software Development Kit (SDK) will provide an integrated environment for building, compiling, debugging, and testing code.</p><p><strong>IBM Software Development Kit for Linux on Power</strong></p><p>The IBM SDK for Linux on Power brings together many of the other tools listed here, providing a full range of application development assistance. It also includes capabilities like the Migration Advisor to help port code from other architectures (like x86_64) to make the most effective use of the Power Systems hardware. The SDK also provides platform emulation capabilities and cross-compilers to allow for development on systems that don’t use the ppc64le architecture.</p><p>The IBM SDK for Linux on Power is available at no charge:<br><a href="https://developer.ibm.com/linuxonpower/sdk/">https://developer.ibm.com/linuxonpower/sdk/</a></p><h3>Multi-node runtimes (MPI)</h3><p>Most HPC applications require the ability to scale across multiple systems, and multiple NUMA nodes within servers. The common option for implementing this in HPC code is to use MPI. Again, there are options available to users for building MPI capable applications.</p><p><strong>OS supplied MPI</strong></p><p>Open source tools like OpenMPI are commonly available with Linux distributions, and can be installed using the standard package management tools. There are also other MPI implementations available through the common repositories, like the MPICH tools.</p><p><strong>Spectrum MPI</strong></p><p>IBM again provides a community edition of the optimised MPI tools for Power Systems hardware running Linux. The Spectrum MPI implementation is based on Open MPI, but with advanced features and optimisations for the hardware capabilities in the POWER processor architectures. It supports a range of networking options, including high speed Ethernet and InfiniBand interconnects.</p><p>To download the community edition of Spectrum MPI:<br><a href="https://www.ibm.com/uk-en/marketplace/spectrum-mpi">https://www.ibm.com/uk-en/marketplace/spectrum-mpi</a></p><p>For more information on installation, setup, and usage:<br><a href="https://www.ibm.com/support/knowledgecenter/en/SSZTET_10.3/welcome.html">https://www.ibm.com/support/knowledgecenter/en/SSZTET_10.3/welcome.html</a></p><h3>Mathematical acceleration libraries</h3><p>Most scientific computing workloads make extensive usage of common mathematical subroutines, including linear algebra, matrix operations, transformations and many more. Again, there are a number of options available to support these common tasks, offloading them to external libraries. These libraries can then make use of hardware acceleration capabilities without the need to expressly code for it.</p><p><strong>OS supplied libraries</strong></p><p>The base operating system provides open source libraries that have been compiled for the hardware, and provided as packages in the standard repositories. Libraries like <em>OpenBLAS </em>and <em>Lapack </em>are commonly available, although the optimisation for the hardware depends on the Linux distribution installed.</p><p><strong>Mathematical acceleration subsystem (MASS)</strong></p><p>As part of the Advance Toolchain for Linux on Power (see compilers section above), IBM provides the Mathematical Acceleration Subsystem (MASS) libraries which contain mathematical functions for C, C++, and Fortran applications. These libraries are tuned to give the best performance on specific POWER architectures, including POWER8 and POWER9 based systems. These allow you to get higher performance for your code using the common GNU compilers or the XL compiler family.</p><p>Information on usage can be found here:<br><a href="https://developer.ibm.com/linuxonpower/advance-toolchain/adv-tool-usage/">https://developer.ibm.com/linuxonpower/advance-toolchain/adv-tool-usage/</a></p><p><strong>Engineering and Scientific Subroutine Library (ESSL)</strong></p><p>Providing more advanced mathematical functions and subroutines, the IBM Engineering and Scientific Subroutine Library (ESSL) is available in a community edition at no charge. This includes heavily optimised subroutines for a range of mathematical functions running on POWER based hardware. This can be utilised by the GNU compilers, the XL family of compilers, and third party compilers. There are high performance equivalents of most BLAS and Lapack functions, as well as a lot more complex functions used in engineering and scientific applications.</p><p>To download the community edition of ESSL:<br><a href="https://epwt-www.mybluemix.net/software/support/trial/cst/welcomepage.wss?siteId=589&amp;tabId=1174&amp;w=1">https://epwt-www.mybluemix.net/software/support/trial/cst/welcomepage.wss?siteId=589&amp;tabId=1174&amp;w=1</a></p><p>For more information on installation, setup, and usage:<br><a href="https://www.ibm.com/support/knowledgecenter/en/SSFHY8_6.2/navigation/welcome.html">https://www.ibm.com/support/knowledgecenter/en/SSFHY8_6.2/navigation/welcome.html</a></p><h3>Job schedulers</h3><p>The final useful tool for HPC sites is a job scheduler that allows users to submit batch jobs to a queue to be deployed on appropriate servers within a cluster of systems. Although there are free and open source schedulers and queue managers, there are often benefits to using commercial products — including improved performance, better management capabilities, or more flexible deployment options.</p><p><strong>IBM Spectrum LSF</strong></p><p>The IBM offering that covers job scheduling and batch queues is IBM Spectrum LSF. This is available as a standalone tool, or packaged as a Spectrum LSF Suite to include other valuable tools, like cluster provisioning and management tools, application management, and license management across all running jobs. Although primarily used for batch workloads, you can also deploy interactive jobs through the same queues and scheduler, and some of the latest additions to the Spectrum LSF feature set also allow container based workloads and even integration with Kubernetes.</p><p>Although there is a no-charge trial available for the Spectrum LSF Suite for HPC, there is also a Community Edition which can be run on clusters of up to 10 nodes, running up to 1000 jobs.</p><p>To download Spectrum LSF Suite Community Edition:<br><a href="https://epwt-www.mybluemix.net/software/support/trial/cst/programwebsite.wss?siteId=680&amp;h=null&amp;p=null">https://epwt-www.mybluemix.net/software/support/trial/cst/programwebsite.wss?siteId=680&amp;h=null&amp;p=null</a></p><p>For further information about Spectrum LSF and the Spectrum LSF Suites:<br><a href="https://www.ibm.com/support/knowledgecenter/SSZUDP_10.2.0/suite_welcome/lsf_suite_kc_overview.html">https://www.ibm.com/support/knowledgecenter/SSZUDP_10.2.0/suite_welcome/lsf_suite_kc_overview.html</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7bcc06627e90" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Installing Docker on IBM AC922 or IC922 server]]></title>
            <link>https://andrewlaidlawpower.medium.com/installing-docker-on-ibm-ac922-or-ic922-server-93fc3bb4044c?source=rss-4c39a528352------2</link>
            <guid isPermaLink="false">https://medium.com/p/93fc3bb4044c</guid>
            <category><![CDATA[gpu]]></category>
            <category><![CDATA[powerai]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[power9]]></category>
            <category><![CDATA[installation]]></category>
            <dc:creator><![CDATA[Andrew Laidlaw]]></dc:creator>
            <pubDate>Thu, 30 Jan 2020 13:43:08 GMT</pubDate>
            <atom:updated>2021-04-13T09:18:00.495Z</atom:updated>
            <content:encoded><![CDATA[<p>This short article will show you how to install the Docker runtime on an AC922 or IC922 server with NVIDIA GPUs, and ensure that deployed containers can access the GPU resources installed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rOw9INjzfqRgZ7dj__Q9Lg.png" /></figure><h3><strong>Assumptions</strong></h3><p>We expect system to be running RHEL 7.6-alt (the version for POWER9 based systems), and have base NVIDIA drivers installed - ie you can run `<em>nvidia-smi</em>` and receive no errors. We also assume that the nvidia-persistenced service is enabled and started. Finally we expect the system to be registered to Red Hat Subscription Manager and attached to a valid subscription — this can be a full subscription for RHEL, or an evaluation subscription.<br>These steps have not been tested on CentOS, but the expectation is that the steps are very similar.</p><h3>Summary of steps</h3><ol><li>Enable the Red Hat extras repository</li><li>Install Docker runtime</li><li>Install the NVIDIA runtime hook for Docker</li><li>Test</li></ol><h3>Installation Steps</h3><ol><li>Enable the Red Hat <strong>Extras</strong> repository for POWER9 based systems. This includes the Docker runtime. I would also advise enabling the Optional repository, although it is not required for this installation.<br>`<em>sudo subscription-manager repos — enable=rhel-7-for-power-9-extras-rpms</em>`<br>`<em>sudo subscription-manager repos — enable=rhel-7-for-power-9-optional-rpms</em>`<br>-<br>To see which repositories are enabled for your system you can run:<br>`<em>sudo yum repolist</em>`</li><li>Install the Docker runtime and all of it’s dependencies. This should pull in version 1.13.1–102 (if it tries to install 1.13.1–108 then be careful as there is a known issue).<br>`<em>sudo yum install docker</em>`<br>-<br>Once installed, you will need to start the docker service, and enable it if you want docker to start on reboot of the system.<br>`<em>sudo systemctl docker.service start</em>`<br>`<em>sudo systemctl docker.service enable</em>`<br>-<br>In a default installation, docker can only be operated by users with root privileges. To allow other users access to docker commands, you can create a <strong>docker </strong>group and add users to that. You will need to restart the docker service once you create the <strong>docker </strong>group.<br>`<em>sudo groupadd docker</em>`<br>`<em>sudo systemctl restart docker.service</em>`<br>`<em>sudo usermod -aG docker &lt;username&gt;</em>`<br>-<br>To interact with the Docker runtime you generally use the `<em>docker</em>` command.</li><li>Install the NVIDIA runtime hook for the Docker runtime to allow access to GPUs from within deployed containers. This requires adding some extra packages from two NVIDIA repositories. We can download the relevant .repo file from a public location to set up these repositories for this system.<br>`<em>distribution=$(. /etc/os-release;echo $ID$VERSION_ID)</em>`<br>`<em>wget </em><a href="https://nvidia.github.io/nvidia-container-runtime/$distribution/nvidia-container-runtime.repo%60"><em>https://nvidia.github.io/nvidia-container-runtime/$distribution/nvidia-container-runtime.repo</em>`</a><br>`<em>sudo mv nvidia-container-runtime.repo /etc/yum.repos.d/</em>`<br>-<br>This adds two new repositories to the system — <strong>libnvidia-container/ppc64le</strong> and <strong>nvidia-container-runtime/ppc64le</strong>. We can run `<em>sudo yum repolist</em>` to check this works. This will check that we want to install some new gpgkeys for the added repositories.<br>`<em>sudo yum install nvidia-container-runtime-hook</em>`<br>-<br>This will throw an error, as the signature cannot be verified, as NVIDIA have not updated the gpgkeys for their signed packages. This can either be fixed by finding the correct gpgkey for the repository, and installing it locally. Alternatively, we can just turn off checking for those repositories (this is not good security practice, so is not advised, but it does work). To do this, you need to set repo_gpgcheck=0 for each repository in the .repo file.<br>`<em>sudo nano /etc/yum.repos.d/nvidia-container-runtime.repo</em>`<br>-<br>Then you can install the runtime hook and all dependencies from those repositories.<br>`<em>sudo yum install nvidia-container-runtime-hook</em>`<br>-<br>If you have <strong>SELinux</strong> enabled on the system, you need to set the right contexts for the NVIDIA devices to allow access from within container instances.<br>`<em>sudo chcon -t container_file_t /dev/nvidia*</em>`</li><li>To check that the Docker runtime works and that the NVIDIA runtime hook is operational, you can deploy a CUDA enabled docker image and check it has access to the system GPUs.<br>`<em>docker run — rm nvidia/cuda-ppc64le nvidia-smi</em>`<br>-<br>This will pull the image within the docker.io repository nvidia/cuda-ppc64le with tag <strong>latest</strong> and will run one instance of that image, running the command nvidia-smi and then exiting and removing the deployment. The output should be the same as running nvidia-smi on the host system.</li></ol><h4>Troubleshooting</h4><p>Recently, some people have been seeing some difficulties when using the NVIDIA container runtime hook on their systems, with an error message similar to this when trying to run containers (see Step4 [Test] above):<br><em>`Your docker environment is not setup properly to support GPUs`</em><br>or<br><em>`could not decode OCI spec: json: cannot unmarshal array into Go struct field`</em></p><p>Due to some changes in the NVIDIA repository, the installation process will install the NVIDIA container toolkit, but not the runtime hook that is needed to allow GPU acceleration within the container instances.</p><p>The fix requires you to force the installation of the correct packages to allow for the use of GPUs within containers. You will first need to uninstall any libnvidia-container packages that are on your system, and then install the versions that are known to work:</p><p><em>sudo yum remove libnvidia-container*<br>sudo yum install libnvidia-container1–1.0.0<br>sudo yum install libnvidia-container-tools-1.0.0<br>sudo yum install — setopt=obsoletes=0 nvidia-container-runtime-hook-1.4.0–2</em></p><p>Restart the docker service:</p><p><em>sudo systemctl restart docker</em></p><p>Once you have the right packages installed, you may need to set the SELinux contexts for the NVIDIA drivers once again, and then you’ve ready to test the docker install.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=93fc3bb4044c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Troubleshooting NVIDIA GPU driver issues]]></title>
            <link>https://andrewlaidlawpower.medium.com/troubleshooting-nvidia-gpu-driver-issues-624ecff9852b?source=rss-4c39a528352------2</link>
            <guid isPermaLink="false">https://medium.com/p/624ecff9852b</guid>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[driver]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[gpu]]></category>
            <dc:creator><![CDATA[Andrew Laidlaw]]></dc:creator>
            <pubDate>Fri, 01 Nov 2019 14:49:07 GMT</pubDate>
            <atom:updated>2019-11-01T14:49:07.061Z</atom:updated>
            <content:encoded><![CDATA[<blockquote><strong>Assumptions:</strong><br>This is for NVIDIA GPUs, and does not cover other brands or other types of accelerator.<br>This covers installations and troubleshooting within Linux environments only.<br>Some examples cover either Red Hat Enterprise Linux or Ubuntu Linux, but open source alternatives should work the same.</blockquote><p>As GPU acceleration is becoming important for more workloads, particularly for machine learning and deep learning use cases, we’re seeing ever greater adoption of these devices. The benefits of GPU acceleration when running frameworks like TensorFlow and PyTorch include the huge performance gains, but also the efficiency gains of using the optimal hardware for the job. However, in order to get the most out of the hardware, you also need the right software, which is where tools like IBM’s Watson Machine Learning Community Edition comes in, providing GPU accelerated versions of machine learning and deep learning tools free of charge. The most important bit of software though is the lowly Driver — that bit of code that allows your system to access and utilise the incredibly powerful hardware inside.</p><figure><img alt="An NVIDIA V100 GPU" src="https://cdn-images-1.medium.com/max/1024/1*a3g0KbqfYJnhWsBLkevd7g.png" /><figcaption>An NVIDIA Tesla V100 GPU in SXM2 form factor.</figcaption></figure><p>We’ve seen a few people report problems when installing their new systems that include NVIDIA Tesla enterprise grade GPU devices. Almost all of these are related to the driver installation, and so we’ve seen a few common problems. Below is a quick guide to help identify where a problem might lie, and how to fix it. In most cases I refer to a POWER9 processor based Power Systems AC922 server with NVIDIA Tesla V100 GPUs, but the problems are common to most NVIDIA Tesla GPUs, including the P100s in the S822LC for HPC (Minsky) systems based on POWER8 processors.</p><figure><img alt="Internal view of a Power Systems AC922 server with four NVIDIA Tesla V100 GPUs installed." src="https://cdn-images-1.medium.com/max/1024/1*hFFvq_jNPSG4eUMZOgkrcw.png" /><figcaption>Internal view of a Power Systems AC922 server with four NVIDIA Tesla V100 GPUs installed.</figcaption></figure><h4>General recommendations</h4><p>It is advisable to make sure that your system is up to date before installing any extra device drivers, or applications. This way you can benefit from the latest security patches and performance enhancements.</p><p>Update all of the installed packages on your system by running:</p><blockquote>sudo yum update<em> (Red Hat Enterprise Linux)</em><br>sudo apt-get update; sudo apt-get upgrade <em>(Ubuntu)</em></blockquote><p>To install the NVIDIA drivers you will also need the latest kernel-devel package installed to match your current kernel version:</p><blockquote>sudo yum install kernel-devel <em>(RHEL)</em><br>sudo apt-get install linux-headers-$(uname -r)<em> (Ubuntu)</em></blockquote><p>You will need to reboot the system after any kernel package update, in order to pick up the required changes. The system must be rebooted before attempting to install the GPU driver.</p><h4>1. Do you have the right driver?</h4><p>There are different drivers for different operating systems and GPU parts. It’s important to get the correct driver for your system to ensure compatibility. You can download the correct driver straight from the NVIDIA website at: <a href="https://www.nvidia.com/Download">https://www.nvidia.com/Download</a>.</p><p>Once you’ve selected the correct part (Tesla | V-Series | Tesla V100 in our case) you need to choose the correct Operating System. Select the “Show all Operating Systems” option in the drop down to get the full list. On our hardware, for Red Hat Enterprise Linux 7.6-alt we would choose “Linux POWER LE RHEL7” or for Ubuntu 18.04 LTS we would go with “Linux POWER LE Ubuntu 18.04”.</p><figure><img alt="Select the “Show all Operating Systems” option in the drop down to see the full list of options available." src="https://cdn-images-1.medium.com/max/1024/1*BgO66R5NCb3qdj79M_dXtg.png" /><figcaption>The NVIDIA driver download page.</figcaption></figure><p>You can then choose the Search option, and confirm that you have the correct driver for your system. You will also need to accept the terms and conditions that NVIDIA put in place.</p><blockquote><strong>Note:</strong> If you right click on the “Accept” link and choose “Copy Link Location” or “Copy link address” or similar, this will provide you with a direct link that you can use to wget the file directly onto your server.</blockquote><figure><img alt="Right click to find the direct location of the file to download." src="https://cdn-images-1.medium.com/max/1024/1*PDj-Mq0oan0KpLevfl6jbg.png" /><figcaption>Quickly download the right file to your system by getting the direct download link.</figcaption></figure><p>The file you download will be an rpm (RHEL) or deb (Ubuntu) file, which can be installed as any other package. This will install a local repository, from which you can install the actual driver packages.</p><p>Once you have installed the right driver, you will need to reboot your system to pick up the changes. For machine learning or deep learning use cases you will also need to enable persistence mode to ensure best performance.</p><h4>2. Does the nvidia-smi tool work correctly?</h4><p>Once you have installed the driver and rebooted your system, the best way to check the health of your installation is by running the nvidia-smi command. This gives you a view of the GPUs present in your system, along with various metrics about how heavily they are being utilised and which processes are using them. There is also detail about the current driver and CUDA levels installed and whether persistence mode is enabled.</p><figure><img alt="The output of the nvidia-smi command." src="https://cdn-images-1.medium.com/max/1024/1*QlNZLNowbro3kMeV1Y6qqg.png" /><figcaption>The output for nvidia-smi when run on a Power Systems S822LC for HPC with four Tesla P100 GPUs.</figcaption></figure><p>If the nvidia-smi command does not run at all or can’t be found, then it usually indicates that the driver has not been installed correctly on the system. I would recommend removing any installed driver versions and then rebooting the system and installing the latest drivers available. For details of how to do this, there are some good instructions for both RHEL and Ubuntu in the <a href="https://www.ibm.com/support/knowledgecenter/SS5SF7_1.6.2/navigation/wmlce_systemsetup.html">IBM Knowledge Center</a>.</p><h3>3. Are there nvidia-smi errors?</h3><p>The nvidia-smi command can also show some errors, which can help us determine what the problem might be.</p><p><strong>“ NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver”</strong></p><p>This error is usually due to a problem with the installation of the driver. Most commonly we see this error when people have installed the driver but not yet rebooted the system, although it is also seen if other packages have been installed after the NVIDIA driver and before the system has been rebooted.</p><p>If a reboot of the system doesn’t correctly pick up the driver, then I would recommend removing all old driver versions, and then reinstalling the latest driver and rebooting the system immediately afterwards. For details of how to do this, there are some good instructions for both RHEL and Ubuntu in the <a href="https://www.ibm.com/support/knowledgecenter/SS5SF7_1.6.2/navigation/wmlce_systemsetup.html">IBM Knowledge Center</a>.</p><p><strong>“Failed to initialize NVML: Driver/library version mismatch”</strong></p><p>This is the most common error we see, and is an indication that the NVIDIA driver kernel module has not been built against the same level of the Linux kernel as the one the system is running. The driver installation uses details from the kernel-devel package to build the driver correctly for the system. If this is at a different level to the kernel that is currently running then they will be incompatible.</p><p>To check if this is the problem, you can use the Dynamic Module Kernel Support framework (DKMS) to find the state of the NVIDIA driver kernel module:</p><blockquote>sudo dkms status</blockquote><p>This should list an NVIDIA module, and give the status of “installed”. If the status is listed as “added” or “built”, then you will need to reinstall the kernel module. First, you will need to remove the existing module, then install consistent levels of the kernel and kernel-devel packages. Once that’s done you can rebuild and install the kernel module.</p><p>Update your kernel and kernel-devel packages to the same latest level:</p><blockquote>sudo yum install kernel-devel<br>sudo yum update kernel kernel-devel</blockquote><p>If the kernel is updated to a newer version then you will need to reboot the system to pick up these changes. If not, then you can continue with the next steps. For these, the NVIDIA driver level is the driver release you are trying to install. The kernel level is the release of the Linux kernel running on your system. This can be found from the installed package name, or by running:</p><blockquote>uname -a</blockquote><p>In our case, the kernel version is currently 3.10.0–957.21.3.el7.ppc64le so you might need to look for a similar looking string.</p><blockquote>sudo dkms remove nvidia/&lt;nvidia driver level&gt; — all<br>sudo dkms build nvidia/&lt;nvidia driver level&gt; -k &lt;kernel level&gt;<br>sudo dkms install nvidia/&lt;nvidia driver level&gt; -k &lt;kernel level&gt;<br>dkms status</blockquote><p>The final dkms status command should now show you that the driver kernel module is installed for your current kernel version. You should now be able to run the nvidia-smi command and see all of your installed GPUs.</p><h4>4. Is the NVIDIA Persistence daemon running?</h4><p>For machine learning and deep learning workloads, it is recommended to run your GPUs with persistence mode switched on. This helps memory management on the GPUs with larger jobs, and improves performance. If you are seeing problems with these workloads check that the nvidia-persistenced daemon is enabled and started.</p><blockquote>sudo systemctl status nvidia-persistenced.service</blockquote><figure><img alt="Output of the command showing active and enabled." src="https://cdn-images-1.medium.com/max/1024/1*Dk_bQGNJc-yeLvpAE-3-rQ.png" /><figcaption>The status of the nvidia-persistenced daemon should show as active and enabled.</figcaption></figure><p>If this daemon is showing that it has been enabled, then it will restart every time the system boots up, whilst active means that it has been started and is currently running. If it is disabled or inactive, then you can run:</p><blockquote>sudo systemctl start nvidia-persistenced.service<br>sudo systemctl enable nvidia-persistenced.service</blockquote><p>You can also confirm that persistence is running through the output of the nvidia-smi command. For each GPU installed there is a field showing if persistence mode (Persistence-M) is on or off.</p><figure><img alt="nvidia-smi command output showing that persistence mode is on." src="https://cdn-images-1.medium.com/max/1024/1*7J1emcXxYLEdR06qWku0wA.png" /><figcaption>The nvidia-smi command can show whether persistence mode is active on each of the GPUs in your system.</figcaption></figure><h4>5. Are there hardware problems?</h4><p>If the software side of things appears to be okay, it’s worth checking that the GPU hardware itself is not causing your problems. You can check the standard Linux logging system for messages related to the NVIDIA kernel module, labelled with NVRM:</p><blockquote>sudo dmesg | grep NVRM</blockquote><p>You can also check that the GPUs are visible to the system itself, by checking that they appear as PCI devices. You might need to install the pciutils package on your system to run the following command:</p><blockquote>sudo lspci | grep -i NVIDIA</blockquote><h4>6. Do you have memory problems?</h4><p>There is a known issue on POWER9 processor based servers running the latest version of Red Hat Enterprise Linux 7 (7.6) alternative architectures release. The newer kernel version in use includes an auto-onlining feature for memory within the system. In virtualised environments this is a great thing, as it means that you can dynamically add memory resources to a running virtual machine and it can automatically online and use that new capacity.</p><p>Unfortunately, the High Bandwidth Memory on the NVIDIA Tesla GPUs is also seen by the Operating System, and so the Red Hat kernel attempts to claim that memory space immediately — making it unavailable for GPU workloads.</p><p>To disable this, you need to change the UDev rule that enables auto-onlining of memory. This involves commenting out the relevant lines in the file:</p><blockquote>/etc/udev/rules.d/40-redhat.rules</blockquote><p>Details are available in the <a href="https://www.ibm.com/support/knowledgecenter/SS5SF7_1.6.2/navigation/wmlce_setupRHEL.html#wmlce_setupRHEL__nvidiacomponents">IBM KnowledgeCenter</a>, but you essentially need to comment out the entire section covering the memory hot add capability. A reboot is then required to pick up these changes. My personal recommendation would be to make these changes before installing the latest NVIDIA driver. You can then reboot the system and pick up both changes at once.</p><h4>Summary</h4><p>There are a few common problems that appear when installing the latest drivers for NVIDIA GPUs, but most of them are easy to work around. Here is my simple flowchart to help troubleshoot the common problems that we’ve seen:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lKGiGY1BSysYmttc__FDuQ.png" /><figcaption>Flow chart for troubleshooting issues with NVIDIA GPU and driver installation.</figcaption></figure><h4>One more thing…</h4><p>There is one other potential reason that your deep learning or machine learning workloads are not making the best use of the GPUs installed in your system, and that is the frameworks and tooling that you are using. The common deep learning frameworks like Tensorflow and PyTorch are available in both GPU accelerated versions, and CPU only versions. So it is possible to install the wrong version, and be restricted to only using the system CPUs rather than the NVIDIA GPUs installed in your system.</p><p>Also, popular machine learning algorithms like those in the SciKit Learn python package are not GPU accelerated. So running workloads involving things like linear or logistic regression, or extensive use of xgboost will not make use of any GPUs installed in a system.</p><p>To get the most out of your GPU accelerators, you will need to run the right software that has been created to make the most of them. For the deep learning frameworks, I would recommend using <a href="https://developer.ibm.com/linuxonpower/deep-learning-powerai/releases/">Watson Machine Learning Community Edition (WML CE)</a>. This is a pre-compiled set of the most used open source tooling, optimised to run on GPUs where available. It includes the latest versions of things like <a href="https://www.ibm.com/support/knowledgecenter/SS5SF7_1.6.2/navigation/wmlce_getstarted_tensorflow.html">TensorFlow</a>, <a href="https://www.ibm.com/support/knowledgecenter/SS5SF7_1.6.2/navigation/wmlce_getstarted_pytorch.html">PyTorch</a>, and <a href="https://www.ibm.com/support/knowledgecenter/SS5SF7_1.6.2/navigation/wmlce_getstarted_caffe.html">Caffe</a>, as well as managing all dependencies through the Anaconda Python package and environment manager.</p><figure><img alt="Watson Machine Learning Community Edition includes TensorFlow, PyTorch, Caffe, Keras, and other supporting tools." src="https://cdn-images-1.medium.com/max/1024/1*Cc6yaTHB2hRb_Nnxo1jodw.png" /></figure><p>For machine learning workloads, WML CE also includes the <a href="https://www.ibm.com/support/knowledgecenter/SS5SF7_1.6.2/navigation/wmlce_getstarted_snapml.html">SnapML packages</a>. This provides GPU accelerated versions of the most common machine learning algorithms to boost performance. It even includes a SciKit Learn style python API so can act as a drop in replacement for sklearn, with no changes to existing code. This can give up to a <a href="https://www.zurich.ibm.com/snapml/">46x performance boost</a> over CPU alone.</p><p>Another option for accelerating machine learning tasks using GPUs is the open source <a href="https://rapids.ai/">RAPIDS</a> suite of software libraries originally developed by <a href="https://www.nvidia.com/">NVIDIA</a>. This also adds GPU acceleration to common machine learning jobs to increase performance and efficiency.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=624ecff9852b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Anaconda installation for multiple users for PowerAI]]></title>
            <link>https://andrewlaidlawpower.medium.com/anaconda-installation-for-multiple-users-for-powerai-46e2f061c417?source=rss-4c39a528352------2</link>
            <guid isPermaLink="false">https://medium.com/p/46e2f061c417</guid>
            <category><![CDATA[installation]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[multi-user]]></category>
            <category><![CDATA[powerai]]></category>
            <category><![CDATA[ac922]]></category>
            <dc:creator><![CDATA[Andrew Laidlaw]]></dc:creator>
            <pubDate>Thu, 04 Apr 2019 13:23:06 GMT</pubDate>
            <atom:updated>2019-04-04T13:23:06.638Z</atom:updated>
            <cc:license>http://creativecommons.org/licenses/by/4.0/</cc:license>
            <content:encoded><![CDATA[<p>Unfortunately there is no ‘correct’ approach to installing Anaconda for multiple users on a single system. There is flexibility in how to do this, as different situations might have differing requirements.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/447/1*S2kkcLC8IExHKkhvmpw_Lg.png" /></figure><p>With previous releases of PowerAI, we did generally recommend that each user have their own installation of Anaconda in their Home directory. This was largely due to the deployment method of PowerAI using rpms / deb files, and therefore reduced the risk of dependency issues for users using different frameworks or versions.</p><p>However, with the latest release (<a href="https://developer.ibm.com/linuxonpower/deep-learning-powerai/releases/">PowerAI 1.6</a>), we are now able to deploy all of the frameworks, dependencies, and supporting packages using a Conda Channel repository (see this <a href="https://developer.ibm.com/linuxonpower/2019/03/20/powerai-1-6-0-introduction-a-full-transition-to-conda/">Blog post</a> for more on that transition). That makes it much easy to deploy the various frameworks to users in a more flexible manner that suits your company’s requirements. There are a couple of main ways this is done:</p><ol><li>Each user installs Anaconda in their own home directory, adding the PowerAI channel. They are then able to create their own conda environments as needed, with whatever choice of python and supporting packages is needed for their work. They are also able to connect to other conda channels if needed without Administrator approval. This is very flexible, but offers little control over what happens. It also requires more disk space, as multiple instances of each package will be installed.</li><li>A single version of Anaconda is installed (ie in /opt/anaconda/), with all users making use of this instance. The Administrators can then create defined environments that any user has access to, allowing for consistency of environments across multiple users. Users can still create their own unique environments if they so wish, or can use the pre-defined environments for their work. This approach allows for greater consistency, which makes it easier to share working code between users. It also reduces disk requirements, and locks down the conda channels that users can pull packages from.</li></ol><p>As Anaconda can be installed entirely in user space, even if you choose to deploy a central installation, users can still install their own version in their Home directory and use that rather than the central version.</p><p>Anaconda still recommend that installations be completed on a per user basis, giving a greater level of control to each individual user as to their environments and installed packages. It also ensures that all components are running in User Space, and so running code cannot access elevated privileges.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=46e2f061c417" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Running PowerAI in Docker containers on Power Systems]]></title>
            <link>https://andrewlaidlawpower.medium.com/running-powerai-in-docker-containers-on-power-systems-ec46df4edf81?source=rss-4c39a528352------2</link>
            <guid isPermaLink="false">https://medium.com/p/ec46df4edf81</guid>
            <category><![CDATA[installation]]></category>
            <category><![CDATA[power9]]></category>
            <category><![CDATA[containers]]></category>
            <category><![CDATA[powerai]]></category>
            <category><![CDATA[docker]]></category>
            <dc:creator><![CDATA[Andrew Laidlaw]]></dc:creator>
            <pubDate>Thu, 28 Mar 2019 11:01:41 GMT</pubDate>
            <atom:updated>2019-03-28T11:01:41.368Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ASIwKft4QXNf3vLb1A4btQ.png" /></figure><p>The Docker containers that IBM provide (<a href="https://hub.docker.com/r/ibmcom/powerai">on Docker Hub</a>) contain everything that you need to get up and running with the PowerAI frameworks — including the CUDA, cuDNN, and NCCL components that are required, as well as the Python environment managed by Anaconda. The only requirements for the base system are:</p><ul><li>the CUDA drivers for the GPUs</li><li>a Docker installation</li><li>the NVIDIA Docker runtime</li></ul><p>The drivers can be downloaded and installed from the <a href="https://developer.nvidia.com/cuda-toolkit-archive">NVIDIA website</a>, following the <a href="https://www.ibm.com/support/knowledgecenter/SS5SF7_1.6.0/navigation/pai_systemsetup.html">standard documentation</a> for the setup of PowerAI.</p><p>Docker can be installed from the standard RHEL / Ubuntu repositories, or from the official <a href="https://docs.docker.com/install/">Docker</a> repositories. As far as I can tell, both options work just fine at the moment.</p><p>There is a public repository for the NVIDIA Docker runtime, which you can add to the system before installing the <em>nvidia-runtime-container-hook</em> or <em>nvidia-docker2</em> (depending on which Docker version you are using) which will also pull in the dependencies.</p><p>For <strong>RHEL</strong>, you will need to add the repo definition to <em>/etc/yum.repos.d/ </em>which is made easier, as there is a pre-built version you can get from <a href="https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.repo">https://nvidia.github.io/nvidia-docker/rhel7.6/nvidia-docker.repo</a>.</p><p>Simplified code steps:</p><blockquote>distribution=$(. /etc/os-release;echo $ID$VERSION_ID)<br>curl -s -L <a href="https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.repo">https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.repo</a> | sudo tee /etc/yum.repos.d/nvidia-docker.repo</blockquote><blockquote>sudo yum install nvidia-docker2 (if using docker-ce)</blockquote><blockquote>sudo yum install nvidia-runtime-container-hook (if using docker)</blockquote><p>For <strong>Ubuntu</strong>, you will need to add a file to <em>/etc/apt/sources.list.d/</em> which you can pull from <a href="https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.list">https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.list</a>. From that repository you can pull the <em>nvidia-docker2</em> package.</p><p>Simplified code steps:</p><blockquote>curl -s -L <a href="https://nvidia.github.io/nvidia-docker/gpgkey">https://nvidia.github.io/nvidia-docker/gpgkey</a> | sudo apt-key add -<br>distribution=$(. /etc/os-release;echo $ID$VERSION_ID)<br>curl -s -L <a href="https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.list">https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.list</a> | sudo tee /etc/apt/sources.list.d/nvidia-docker.list</blockquote><blockquote>sudo apt-get update</blockquote><blockquote>sudo apt-get install nvidia-docker2</blockquote><p>For both options you’ll need to restart the Docker daemon to pick up the changes, ie:</p><blockquote>sudo systemctl restart docker (or docker-ce)</blockquote><p><strong>Note: </strong>your user will need to be a member of the right group to interact with the Docker daemon, so to run commands like <em>docker ps</em>. This group is commonly docker or docker-root, but may change again. It’s worth checking the <em>/etc/group</em> list to see if there’s an obvious option if those don’t work. If in doubt, <em>sudo</em> will work!</p><blockquote>sudo usermod -a -G docker &lt;userid&gt;</blockquote><p>Once the nvidia-docker runtime is installed and running, then deploying a container based on the PowerAI docker images <em>should</em> work, but you can test with the standard cuda container, running nvidia-smi to show the status of all GPUs:</p><blockquote>docker run — rm nvidia/cuda-ppc64le nvidia-smi</blockquote><p><strong>Note:</strong> SELinux can cause some problems allowing access to the NVIDIA devices and drivers from Containers, causing a few problems. It is possible to set the right contexts for these, but as a troubleshooting step I would suggest trying with SELinux in permissive mode first.</p><blockquote>sudo setenforce permissive</blockquote><p>If the customer requires SELinux to be enforced, then there are some notes on getting the right contexts in this <a href="https://developer.ibm.com/linuxonpower/2018/09/19/using-nvidia-docker-2-0-rhel-7/#install-docker">Blog post</a>.</p><p>Once you’re successfully running the PowerAI docker containers, then you will have a complete environment ready to go, with all of the dependencies and Anaconda environment setup ready to go. There are various images, based on the tag used — some include just one framework, while others include all frameworks. There are also python2 (standard) and python3 (-py3) based versions to choose from. From within the container, you can simply run your python scripts, using commands like ‘<em>import tensorflow</em>’ as you would in a native environment.</p><p>The <a href="https://github.com/NVIDIA/nvidia-docker/wiki">NVIDIA Docker Wiki</a> has some useful information on how to do things like limit the GPUs that a container can access, as well as other utilisation tips.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ec46df4edf81" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Accessing the main system console on a Power Systems AC922]]></title>
            <link>https://andrewlaidlawpower.medium.com/accessing-the-main-system-console-on-a-power-systems-ac922-dffd802d8026?source=rss-4c39a528352------2</link>
            <guid isPermaLink="false">https://medium.com/p/dffd802d8026</guid>
            <category><![CDATA[powerai]]></category>
            <category><![CDATA[openbmc]]></category>
            <category><![CDATA[ac922]]></category>
            <category><![CDATA[console]]></category>
            <category><![CDATA[installation]]></category>
            <dc:creator><![CDATA[Andrew Laidlaw]]></dc:creator>
            <pubDate>Wed, 06 Mar 2019 13:36:57 GMT</pubDate>
            <atom:updated>2021-02-22T16:26:39.815Z</atom:updated>
            <content:encoded><![CDATA[<h3>Accessing the main system console on a Power Systems AC922 or IC922</h3><p>There are a variety of methods for connecting to the main system console, allowing you to run the installation process for your chosen Operating System. At this stage, the console access is managed through the BMC interface.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iPneB1EsTGiPwDzbhNb4vw.jpeg" /><figcaption>IBM Power Systems AC922 GPU accelerated server</figcaption></figure><p>Before you can do this you will need to <a href="https://medium.com/@andrewlaidlawpower/setting-up-a-power-systems-ac922-server-d082c4b40113">setup your AC922</a> or IC922 and <a href="https://medium.com/@andrewlaidlawpower/set-the-management-ip-address-for-a-power-systems-ac922-67efa260983e">set an IP address</a> to the management interface.</p><h3>IPMI Serial over LAN</h3><p>You can access the console through a Serial over LAN (SoL) function, using an IPMI tool, such as the ipmitool package available for Linux. This can be setup by running the command:</p><blockquote>ipmitool -I lanplus -H &lt;BMC IP address or host name&gt; -U &lt;IPMI username&gt; -P &lt;IPMI password&gt; sol activate</blockquote><p>The default password for a new AC922 or IC922 server is <strong>0penBmc</strong> (the first character is zero) for the default user <strong>root</strong>. For a new system, with BMC IP address 123.45.67.89, you would start a new SoL session using the command:</p><blockquote>ipmitool -I lanplus -H 123.45.67.89 -U root -P 0penBmc sol activate</blockquote><p>In order to exit from the Serial over LAN console environment, you can use the keyboard escape string “ <em>~.</em> ”. If an existing Serial over LAN instance has not been closed correctly, or if you want to take control from another system, you can deactivate an existing console connection using:</p><blockquote>ipmitool -I lanplus -H &lt;BMC IP address or host name&gt; -U &lt;IPMI username&gt; -P &lt;IPMI password&gt; sol deactivate</blockquote><p>Only one Serial over LAN connection to the system can exist at any given time.</p><p>If you log into the system in a SoL session and then close the SoL connection the user will remain logged in on that console. The next SoL connection will be logged in as that same user, which can be a security risk. It is advised that you log out of the system before closing a SoL connection.</p><h3>SSH</h3><p>You can directly access the main system console through the BMC interface over an SSH connection. This is provided through port 2200 (as port 22 is used for SSH to the management environment). As this is not a commonly used port, you may need to open access through your firewall. You will need to connect to the user <strong>root</strong>, with the password of the BMC interface. The default password for a new AC922 server is <strong>0penBmc</strong> (the first character is zero).</p><p>In order to exit from the SSH connected console environment, you can use the keyboard escape string “ ~. ”.</p><h3>GUI</h3><p>The GUI environment provides Serial over LAN console access to the system. This can be found under the Server control section of the interface. You can connect to this as a secure website, accessed on the IP address set previously:</p><blockquote>https://&lt;BMC IP address or host name&gt;</blockquote><p>The default username and password for a new AC922 are <strong>root</strong> and <strong>0penBmc</strong> (the first character is zero).</p><h3>Next Steps</h3><p>You can now continue with your installation by:</p><ul><li><a href="https://medium.com/@andrewlaidlawpower/accessing-the-management-interface-of-a-power-systems-ac922-67b5ad30411">Accessing the management interface</a></li><li>Installing an Operating System</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dffd802d8026" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Accessing the Management interface of a Power Systems AC922]]></title>
            <link>https://andrewlaidlawpower.medium.com/accessing-the-management-interface-of-a-power-systems-ac922-67b5ad30411?source=rss-4c39a528352------2</link>
            <guid isPermaLink="false">https://medium.com/p/67b5ad30411</guid>
            <category><![CDATA[powerai]]></category>
            <category><![CDATA[ac922]]></category>
            <category><![CDATA[management]]></category>
            <category><![CDATA[openbmc]]></category>
            <category><![CDATA[installation]]></category>
            <dc:creator><![CDATA[Andrew Laidlaw]]></dc:creator>
            <pubDate>Wed, 06 Mar 2019 13:34:34 GMT</pubDate>
            <atom:updated>2019-03-06T13:39:40.010Z</atom:updated>
            <content:encoded><![CDATA[<p>There are a number of methods to access the OpenBMC management interface to manage the system hardware management interface.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iPneB1EsTGiPwDzbhNb4vw.jpeg" /></figure><p>Before you can do this, you will need to <a href="https://medium.com/@andrewlaidlawpower/setting-up-a-power-systems-ac922-server-d082c4b40113">set up your AC922</a> and <a href="https://medium.com/@andrewlaidlawpower/set-the-management-ip-address-for-a-power-systems-ac922-67efa260983e">assign an IP address</a> for the management interface.</p><h3>OpenBMC tool</h3><p>You can download and use the specific <a href="https://www.ibm.com/support/knowledgecenter/en/POWER9/p9eih/p9eih_openbmc_tool.htm">OpenBMC tool</a> for multiple operating systems. This allows you to access all of the functionality of the BMC, including accessing low level details of all of the hardware components. This can be downloaded from the <a href="https://www.ibm.com/support/knowledgecenter/en/POWER9/p9eih/p9eih_openbmc_tool.htm">IBM Support Website</a>, and is installed on a system with network access to the AC922.</p><p>For each command, you need to include details of the server to connect to, as well as a user name and password. For instance:</p><blockquote>openbmctool -U &lt;username&gt; -P &lt;password&gt; -H &lt;BMC IP address or host name&gt;</blockquote><p>The default username and password for a new AC922 are <strong>root</strong> and <strong>0penBmc</strong> (the first character is zero). As an example, to power on a new server with BMC IP address 123.45.67.89, you would need to run the command:</p><blockquote>openbmctool -U root -P 0penBmc -H 123.45.67.89 power on</blockquote><p>For further information on how to download the OpenBMC tool and some of the commands that can be run, see the <a href="https://www.ibm.com/support/knowledgecenter/en/POWER9/p9eih/p9eih_openbmc_tool.htm">Knowledge Center article</a> online.</p><h3>IPMI</h3><p>The Intelligent Platform Management Interface (IPMI) is a set of specifications for communicating with things like Management Controllers. The OpenBMC firmware has an IPMI interface, and this can be used to access many functions of the hardware management. As we’ve seen, this includes setting the IP address of the in-built network interface, but it can also be used to control the power of the main system, get information on the status of the system, and even connect to the system console.</p><p>To connect this way, you will need an IPMI utility on a system with network access to the management controller. In Linux, the open source ipmitool is commonly available from standard repositories (for Ubuntu, run <em>sudo apt-get install ipmitool</em> to install, for Red Hat Enterprise Linux, run <em>sudo yum install ipmitool</em> to install).</p><p>To connect to the IPMI interface, you will need the IP address or hostname of the management controller, as well as the IPMI password. By default this is set to <strong>0penBmc</strong> (the first character is zero). For example, with ipmitool you can check the status of the system chassis using the command:</p><blockquote>ipmitool -I lanplus -H &lt;BMC IP address or host name&gt; -P &lt;IPMI password&gt; chassis status</blockquote><h3>SSH</h3><p>It is also possible to directly access the BMC using SSH. To do this, you can connect to port 22 on the IP address previously set for the BMC interface. You can control a subset of functions using the obmcutil tool.</p><h3>GUI</h3><p>There is a comprehensive Graphical User Interface for the OpenBMC management, although it does not yet allow for full access to all functionality. You can connect to this as a secure website, accessed on the IP address set previously:</p><blockquote>https://&lt;BMC IP address or host name&gt;</blockquote><p>The default username and password for a new AC922 are <strong>root</strong> and <strong>0penBmc</strong> (the first character is zero).</p><h3>Rest APIs</h3><p>There are also a series of <a href="https://github.com/openbmc/docs/blob/master/rest-api.md">REST based APIs</a> within the OpenBMC firmware, allowing for more programmatic access to hardware functionality if required. This also allows for the use of third party tools to manage OpenBMC based systems, including the IBM Power Systems Hardware Management Console (HMC).</p><h3>Next Steps</h3><p>You can now continue with your installation by:</p><ul><li><a href="https://medium.com/@andrewlaidlawpower/accessing-the-main-system-console-on-a-power-systems-ac922-dffd802d8026">Accessing the system console</a></li><li>Installing an Operating System</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=67b5ad30411" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Set the management IP address for a Power Systems AC922]]></title>
            <link>https://andrewlaidlawpower.medium.com/set-the-management-ip-address-for-a-power-systems-ac922-67efa260983e?source=rss-4c39a528352------2</link>
            <guid isPermaLink="false">https://medium.com/p/67efa260983e</guid>
            <category><![CDATA[ac922]]></category>
            <category><![CDATA[ip-address]]></category>
            <category><![CDATA[installation]]></category>
            <category><![CDATA[powerai]]></category>
            <category><![CDATA[openbmc]]></category>
            <dc:creator><![CDATA[Andrew Laidlaw]]></dc:creator>
            <pubDate>Wed, 06 Mar 2019 13:29:35 GMT</pubDate>
            <atom:updated>2019-03-06T13:39:42.583Z</atom:updated>
            <cc:license>http://creativecommons.org/licenses/by/4.0/</cc:license>
            <content:encoded><![CDATA[<p>You will need to set an IP address for the management interface to allow for remote access to the BMC interface.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iPneB1EsTGiPwDzbhNb4vw.jpeg" /><figcaption>IBM Power Systems AC922 GPU accelerated server</figcaption></figure><p>Before you can do this you will need to have <a href="https://medium.com/@andrewlaidlawpower/setting-up-a-power-systems-ac922-server-d082c4b40113">set up your AC922</a>.</p><h3>DHCP</h3><p>The default setup for the network interface for the BMC is to use DHCP. If you have DHCP enabled on your network, then connecting the new system to this will allow the system to pick up an IP address that way. Identify this IP address from your DHCP service, and you can access the management interface.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*KHyNZqyBGczbd8PRdKPvTg.png" /><figcaption>Figure 1 — Rear view of AC922, showing location of BMC ports.</figcaption></figure><h3>Manual</h3><p>If you need to set a fixed IP address manually, then you will need physical access to the system. Connect a monitor to the VGA connector on the rear of the system (label 2 in Figure 1), and a USB keyboard to the port on the main system board (label 4 in Figure 1). To set the IP address, you will need to start the system, by pressing the power button on the front of the system when it is flashing green (label 7 in Figure 2). It will take a short while after power is applied to the system before you can power it on.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*XnbB-_M0dV71gn-P8Go1Ow.png" /><figcaption>Figure 2 — Front view of AC922 showing part locations.</figcaption></figure><p>Following the power on self-test process, the system will start to boot, and you will see status messages on the screen. The system will then get to the Petitboot menu, from where you can choose the Operating System to boot into. In this menu, choose the bottom option to ‘Exit to Shell’ to get to a command line interface.</p><p>In this interface, you can access the BMC using the pre-installed ipmitool command, which can perform most administration tasks. To set a static IP address on the BMC, you will need to run:</p><blockquote>ipmitool lan set 1 ipsrc static<br>ipmitool lan set 1 ipaddr &lt;ip address&gt;<br>ipmitool lan set 1 netmask &lt;netmask&gt;<br>ipmitool lan set 1 defgw ipaddr &lt;gateway&gt;<br>ipmitool mc reset cold</blockquote><p>The final step restarts the BMC, which may take several minutes. You can check the current settings by running:</p><blockquote>ipmitool lan print 1</blockquote><p>Confirm that you can ping the new IP address on the interface to ensure network connectivity is working correctly.</p><p>To set the IP address back to a DHCP deployed address, you can run the following commands.</p><blockquote>ipmitool lan set 1 ipsrc dhcp<br>ipmitool lan set 1 access on</blockquote><h3>Next Steps</h3><p>You can now continue with your installation by:</p><ul><li><a href="https://medium.com/@andrewlaidlawpower/accessing-the-management-interface-of-a-power-systems-ac922-67b5ad30411">Accessing the management interface</a></li><li><a href="https://medium.com/@andrewlaidlawpower/accessing-the-main-system-console-on-a-power-systems-ac922-dffd802d8026">Accessing the system console</a></li><li>Installing an Operating System</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=67efa260983e" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>