install Open MPI on HPC

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I want to install OpenMPI on a linux HPC cluster with a Slurm resource manager. I know how to build OpenMPI regulariy from source , however, how do I install it so that it is installed properly on the compute nodes as well?







share|improve this question


























    up vote
    0
    down vote

    favorite












    I want to install OpenMPI on a linux HPC cluster with a Slurm resource manager. I know how to build OpenMPI regulariy from source , however, how do I install it so that it is installed properly on the compute nodes as well?







    share|improve this question
























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I want to install OpenMPI on a linux HPC cluster with a Slurm resource manager. I know how to build OpenMPI regulariy from source , however, how do I install it so that it is installed properly on the compute nodes as well?







      share|improve this question














      I want to install OpenMPI on a linux HPC cluster with a Slurm resource manager. I know how to build OpenMPI regulariy from source , however, how do I install it so that it is installed properly on the compute nodes as well?









      share|improve this question













      share|improve this question




      share|improve this question








      edited Feb 16 at 3:41









      cas

      37.6k44392




      37.6k44392










      asked Feb 16 at 3:11









      airzinger1

      62




      62




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          Just as with your similar question about mpich the answer is to install the packaged version of OpenMPI provided by your distribution on each node of your cluster.



          You're running Ubuntu, so:



          apt-get install openmpi-bin


          The openmpi-bin package depends on libopenmpi2 and openmpi-common so installing it will cause them to be automatically installed.



          You may also want to install the documentation (openmpi-doc) and/or the develoment headers and libs (libopenmpi-dev) on another machine (perhaps on the head node of your cluster) - these aren't needed on the computation nodes.




          BTW, If you have, e.g., pdsh installed and configured on your head node, you could install openmpi-bin on your entire cluster with one command. e.g.



          pdsh -g all 'apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y install openmpi-bin'


          FYI, pdsh ("Parallel Distributed Shell") was written by LLNL (who were also the authors of slurm) in order to help automate administration and management of their clusters. It was written to be an enhanced open-source clone of an IBM program called dsh ("Distributed Shell")




          Also BTW, you can find a list of Ubuntu openmpi packages AND packages that use OpenMPI at: https://packages.ubuntu.com/search?keywords=openmpi



          The list includes the versions of the packages available for each Ubuntu release.






          share|improve this answer






















            Your Answer







            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "106"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            convertImagesToLinks: false,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );








             

            draft saved


            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f424519%2finstall-open-mpi-on-hpc%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote













            Just as with your similar question about mpich the answer is to install the packaged version of OpenMPI provided by your distribution on each node of your cluster.



            You're running Ubuntu, so:



            apt-get install openmpi-bin


            The openmpi-bin package depends on libopenmpi2 and openmpi-common so installing it will cause them to be automatically installed.



            You may also want to install the documentation (openmpi-doc) and/or the develoment headers and libs (libopenmpi-dev) on another machine (perhaps on the head node of your cluster) - these aren't needed on the computation nodes.




            BTW, If you have, e.g., pdsh installed and configured on your head node, you could install openmpi-bin on your entire cluster with one command. e.g.



            pdsh -g all 'apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y install openmpi-bin'


            FYI, pdsh ("Parallel Distributed Shell") was written by LLNL (who were also the authors of slurm) in order to help automate administration and management of their clusters. It was written to be an enhanced open-source clone of an IBM program called dsh ("Distributed Shell")




            Also BTW, you can find a list of Ubuntu openmpi packages AND packages that use OpenMPI at: https://packages.ubuntu.com/search?keywords=openmpi



            The list includes the versions of the packages available for each Ubuntu release.






            share|improve this answer


























              up vote
              0
              down vote













              Just as with your similar question about mpich the answer is to install the packaged version of OpenMPI provided by your distribution on each node of your cluster.



              You're running Ubuntu, so:



              apt-get install openmpi-bin


              The openmpi-bin package depends on libopenmpi2 and openmpi-common so installing it will cause them to be automatically installed.



              You may also want to install the documentation (openmpi-doc) and/or the develoment headers and libs (libopenmpi-dev) on another machine (perhaps on the head node of your cluster) - these aren't needed on the computation nodes.




              BTW, If you have, e.g., pdsh installed and configured on your head node, you could install openmpi-bin on your entire cluster with one command. e.g.



              pdsh -g all 'apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y install openmpi-bin'


              FYI, pdsh ("Parallel Distributed Shell") was written by LLNL (who were also the authors of slurm) in order to help automate administration and management of their clusters. It was written to be an enhanced open-source clone of an IBM program called dsh ("Distributed Shell")




              Also BTW, you can find a list of Ubuntu openmpi packages AND packages that use OpenMPI at: https://packages.ubuntu.com/search?keywords=openmpi



              The list includes the versions of the packages available for each Ubuntu release.






              share|improve this answer
























                up vote
                0
                down vote










                up vote
                0
                down vote









                Just as with your similar question about mpich the answer is to install the packaged version of OpenMPI provided by your distribution on each node of your cluster.



                You're running Ubuntu, so:



                apt-get install openmpi-bin


                The openmpi-bin package depends on libopenmpi2 and openmpi-common so installing it will cause them to be automatically installed.



                You may also want to install the documentation (openmpi-doc) and/or the develoment headers and libs (libopenmpi-dev) on another machine (perhaps on the head node of your cluster) - these aren't needed on the computation nodes.




                BTW, If you have, e.g., pdsh installed and configured on your head node, you could install openmpi-bin on your entire cluster with one command. e.g.



                pdsh -g all 'apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y install openmpi-bin'


                FYI, pdsh ("Parallel Distributed Shell") was written by LLNL (who were also the authors of slurm) in order to help automate administration and management of their clusters. It was written to be an enhanced open-source clone of an IBM program called dsh ("Distributed Shell")




                Also BTW, you can find a list of Ubuntu openmpi packages AND packages that use OpenMPI at: https://packages.ubuntu.com/search?keywords=openmpi



                The list includes the versions of the packages available for each Ubuntu release.






                share|improve this answer














                Just as with your similar question about mpich the answer is to install the packaged version of OpenMPI provided by your distribution on each node of your cluster.



                You're running Ubuntu, so:



                apt-get install openmpi-bin


                The openmpi-bin package depends on libopenmpi2 and openmpi-common so installing it will cause them to be automatically installed.



                You may also want to install the documentation (openmpi-doc) and/or the develoment headers and libs (libopenmpi-dev) on another machine (perhaps on the head node of your cluster) - these aren't needed on the computation nodes.




                BTW, If you have, e.g., pdsh installed and configured on your head node, you could install openmpi-bin on your entire cluster with one command. e.g.



                pdsh -g all 'apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y install openmpi-bin'


                FYI, pdsh ("Parallel Distributed Shell") was written by LLNL (who were also the authors of slurm) in order to help automate administration and management of their clusters. It was written to be an enhanced open-source clone of an IBM program called dsh ("Distributed Shell")




                Also BTW, you can find a list of Ubuntu openmpi packages AND packages that use OpenMPI at: https://packages.ubuntu.com/search?keywords=openmpi



                The list includes the versions of the packages available for each Ubuntu release.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Feb 16 at 3:36

























                answered Feb 16 at 3:28









                cas

                37.6k44392




                37.6k44392






















                     

                    draft saved


                    draft discarded


























                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f424519%2finstall-open-mpi-on-hpc%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    How to check contact read email or not when send email to Individual?

                    Displaying single band from multi-band raster using QGIS

                    How many registers does an x86_64 CPU actually have?