Skip to content

Commit

Permalink
build and install pmixv4
Browse files Browse the repository at this point in the history
  • Loading branch information
xpillons committed Mar 5, 2024
1 parent 785757f commit 4461562
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
14 changes: 7 additions & 7 deletions packer/scripts/almalinux/slurm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,16 @@ fi
#
dnf -y install autoconf flex libevent-devel git
cd $BUILD_DIR
mkdir -p /opt/pmix/v3
mkdir -p /opt/pmix/v4
mkdir -p pmix

git clone https://github.com/openpmix/openpmix.git openpmix
rm -rf openpmix
git clone --recursive https://github.com/openpmix/openpmix.git
cd openpmix
git checkout v3.1
./autogen.sh
./configure --prefix=/opt/pmix/v3
make -j
make install
git checkout v4.2.9
./autogen.pl
./configure --prefix=/opt/pmix/v4
make -j install


if [ "$INSTALL_SLURM" = "yes" ]; then
Expand Down
22 changes: 11 additions & 11 deletions packer/scripts/ubuntu/slurm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,23 @@ mkdir -p $BUILD_DIR
# Build PMIx
#
apt-get update
apt-get install -y git libevent-dev libhwloc-dev autoconf flex make gcc libxml2
apt-get install -y git git libevent-dev libhwloc-dev autoconf flex make gcc libxml2

cd $BUILD_DIR
mkdir -p /opt/pmix/v3
mkdir -p pmix/build/v3
mkdir -p /opt/pmix/v4
mkdir -p pmix/build/v4

cd pmix
git clone https://github.com/openpmix/openpmix.git source
cd source/
git branch -a
git checkout v3.1
git pull
./autogen.sh
cd ../build/v3/
../../source/configure --prefix=/opt/pmix/v3

rm -rf openpmix
git clone --recursive https://github.com/openpmix/openpmix.git
cd openpmix
git checkout v4.2.9
./autogen.pl
./configure --prefix=/opt/pmix/v4
make -j install


if [ "$INSTALL_SLURM" = "yes" ]; then

#
Expand Down

0 comments on commit 4461562

Please sign in to comment.