Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Clone the PMIx repository.

    Code Block
    $ git clone https://github.com/openpmix/openpmix.git


  2. Build the source code using the version you prefer. In this case we will use the master branch (v4.0 at the time of writing).

    Code Block
    $ cd openpmix
    $ ./autogen.pl
    [ output omitted ]
    $ ./configure --prefix=/opt/pmix --with-tm=/opt/pbs --without-slurm --with-develpmix-headers --disable-debug
    [ output omitted ]
    $ make V=1
    [ output omitted, the V=1 argument tells GNU make to print the full output rather than just the file it is compiling ]
    $ sudo make install
    [ output omitted ]


    The reason why the V=1 parameter is passed to make is because it becomes apparent the exact command line parameters used. This can be handy when it comes to compiling some of the example code later on.


  3. PMIx is now installed in /opt/pmix on your system.

    Code Block
    $ /opt/pmix/bin/pmix_info 
    [pbs-server:53900] pmix_mca_base_component_repository_open: "mca_pcompress_zlib" does not appear to be a valid pcompress MCA dynamic component (ignored): /opt/pmix/lib/pmix/mca_pcompress_zlib.so: undefined symbol: mca_pcompress_zlib_component. ret -1
                     Package: PMIx mike@pbs-server Distribution
                        PMIX: 4.0.0a1
          PMIX repo revision: gita943a1b
           PMIX release date: Mar 10, 2018
                      Prefix: /opt/pmix
     Configured architecture: pmix.arch
              Configure host: pbs-server
               Configured by: mike
               Configured on: Tue Mar 12 14:13:54 EDT 2019
              Configure host: pbs-server
      Configure command line: '--prefix=/opt/pmix' '--with-devel-headers'
                              '--disable-debug'
    [ remaining output omitted ]


    The error coming from pmix_info appears to be due to some recent change to compression within PMIx. This error will likely disappear in time.

...