[slurm-users] Building with latest pmix-4.0.0 error

325 views
Skip to first unread message

Wayne Hendricks

unread,
Jan 5, 2022, 1:57:36 AM1/5/22
to slurm...@schedmd.com
./configure --prefix=/admin/slurm/slurm-21.08.5 --with-pmix=/admin/slurm/pmix-4.0.0

onfigure: WARNING: unable to locate pmix installation
configure: error: unable to locate pmix installation

configure:17261: checking for pmix installation
configure:17299: gcc -o conftest -DNUMA_VERSION1_COMPATIBILITY -g -O2 -fno-omit-frame-pointer -pthread -I/admin/slurm/pmix-4.0.0/include conftest.c -L/admin/slurm/pmix-4.0.0/lib -lpmix -lm -lresolv >&5
configure:17299: $? = 0
configure:17330: gcc -E -I/admin/slurm/pmix-4.0.0/include conftest.c
configure:17330: $? = 0
configure:17488: result: /admin/slurm/pmix-4.0.0
configure:17510: error: unable to locate pmix installation

Not much useful output here. Pointing at the older pmix-3.2.3 dir seems to work fine. Not sure if this is an error with slurm or pmix install, but mix-4.0.0 seems to compile and install correctly.

Also, could use an error message for dependencies if libevent-core and libevent-pthreads are not installed in the main configure output. It shows in the config log during pmix check but not in main output. Anyone have an idea what is tripping it up?

re...@rezib.org

unread,
Jan 5, 2022, 3:22:33 AM1/5/22
to Slurm User Community List
Le Mercredi, Janvier 05, 2022 07:56 CET, Wayne Hendricks <waynehe...@gmail.com> a écrit:

> […]
>
> Not much useful output here. Pointing at the older pmix-3.2.3 dir seems to work fine. Not sure if this is an error with slurm or pmix install, but mix-4.0.0 seems to compile and install correctly.

PMIx v4 support has been temporarily dropped in Slurm : https://github.com/SchedMD/slurm/commit/34bd96a

As far as I can understand, it has never worked properly due to some changes in PMIx starting from v4. There is an ongoing effort to fix this:

https://bugs.schedmd.com/show_bug.cgi?id=7263
https://bugs.schedmd.com/show_bug.cgi?id=12396

Maybe you can try this Slurm fork where work is being done:
https://github.com/slurm-pmix/slurm/

Best,
Rémi


Reply all
Reply to author
Forward
0 new messages