PAPI-3.7.0 Cray-XT5 build issue
Hi,
I'm trying to build PAPI targeted for the Cray-XT5.
I load in the Cray-XT5 programming environment and then build for running on the compute nodes.
I'm using this configure line:
./configure --prefix=/users/jeg/oss/cray-xt5 --libdir=/users/jeg/oss/cray-xt5/lib64 --includedir=/users/jeg/oss/cray-xt5/include --mandir=/users/jeg/oss/cray-xt5/share/man --with-tests=ctests --enable-static-tests --enable-static --disable-shared
make[3]: Leaving directory `/gpfs/home/xt-home/jeg/current/OpenSpeedShop_ROOT/BUILD/ela1/papi-3.7.0/src/perfctr-2.6.x'
make[2]: Leaving directory `/gpfs/home/xt-home/jeg/current/OpenSpeedShop_ROOT/BUILD/ela1/papi-3.7.0/src/perfctr-2.6.x'
make[1]: Leaving directory `/gpfs/home/xt-home/jeg/current/OpenSpeedShop_ROOT/BUILD/ela1/papi-3.7.0/src/perfctr-2.6.x'
mkdir -p /users/jeg/current/OpenSpeedShop_ROOT/INSTALL/ela1/papi-3.7.0-7-root/users/jeg/oss/cray-xt5/lib64
cp -p libpapi.so /users/jeg/current/OpenSpeedShop_ROOT/INSTALL/ela1/papi-3.7.0-7-root/users/jeg/oss/cray-xt5/lib64/libpapi.so.3.7.0
cp: cannot stat `libpapi.so': No such file or directory
make: *** [native_install] Error 1
error: Bad exit status from /users/jeg/current/OpenSpeedShop_ROOT/INSTALL/ela1/rpm-tmp.12870 (%install)
I isolated it down to this. If I comment out the 3 lines from Rules.perctr-pfm I can build successfully, but manually.
jeg@ela1:~> diff Rules.perfctr-pfm ~jeg/current/OpenSpeedShop_ROOT/BUILD/ela1//cray-xt5/papi-3.7.0/src/.
336,338c336,338
< # cp -p $(SHLIB) $(DESTDIR)$(LIBDIR)/libpapi.so.$(PAPIVER).$(PAPIREV).$(PAPIAGE)
< # cd $(DESTDIR)$(LIBDIR); ln -sf libpapi.so.$(PAPIVER).$(PAPIREV).$(PAPIAGE) libpapi.so.$(PAPIVER)
< # cd $(DESTDIR)$(LIBDIR); ln -sf libpapi.so.$(PAPIVER).$(PAPIREV).$(PAPIAGE) libpapi.so
---
> cp -p $(SHLIB) $(DESTDIR)$(LIBDIR)/libpapi.so.$(PAPIVER).$(PAPIREV).$(PAPIAGE)
> cd $(DESTDIR)$(LIBDIR); ln -sf libpapi.so.$(PAPIVER).$(PAPIREV).$(PAPIAGE) libpapi.so.$(PAPIVER)
> cd $(DESTDIR)$(LIBDIR); ln -sf libpapi.so.$(PAPIVER).$(PAPIREV).$(PAPIAGE) libpapi.so
jeg@ela1:~>
Does 3.7.0 support building for the Cray-XT5?
If so, is my configure line calling out the right options?
Thanks for the help,
Jim G
I'm trying to build PAPI targeted for the Cray-XT5.
I load in the Cray-XT5 programming environment and then build for running on the compute nodes.
I'm using this configure line:
./configure --prefix=/users/jeg/oss/cray-xt5 --libdir=/users/jeg/oss/cray-xt5/lib64 --includedir=/users/jeg/oss/cray-xt5/include --mandir=/users/jeg/oss/cray-xt5/share/man --with-tests=ctests --enable-static-tests --enable-static --disable-shared
make[3]: Leaving directory `/gpfs/home/xt-home/jeg/current/OpenSpeedShop_ROOT/BUILD/ela1/papi-3.7.0/src/perfctr-2.6.x'
make[2]: Leaving directory `/gpfs/home/xt-home/jeg/current/OpenSpeedShop_ROOT/BUILD/ela1/papi-3.7.0/src/perfctr-2.6.x'
make[1]: Leaving directory `/gpfs/home/xt-home/jeg/current/OpenSpeedShop_ROOT/BUILD/ela1/papi-3.7.0/src/perfctr-2.6.x'
mkdir -p /users/jeg/current/OpenSpeedShop_ROOT/INSTALL/ela1/papi-3.7.0-7-root/users/jeg/oss/cray-xt5/lib64
cp -p libpapi.so /users/jeg/current/OpenSpeedShop_ROOT/INSTALL/ela1/papi-3.7.0-7-root/users/jeg/oss/cray-xt5/lib64/libpapi.so.3.7.0
cp: cannot stat `libpapi.so': No such file or directory
make: *** [native_install] Error 1
error: Bad exit status from /users/jeg/current/OpenSpeedShop_ROOT/INSTALL/ela1/rpm-tmp.12870 (%install)
I isolated it down to this. If I comment out the 3 lines from Rules.perctr-pfm I can build successfully, but manually.
jeg@ela1:~> diff Rules.perfctr-pfm ~jeg/current/OpenSpeedShop_ROOT/BUILD/ela1//cray-xt5/papi-3.7.0/src/.
336,338c336,338
< # cp -p $(SHLIB) $(DESTDIR)$(LIBDIR)/libpapi.so.$(PAPIVER).$(PAPIREV).$(PAPIAGE)
< # cd $(DESTDIR)$(LIBDIR); ln -sf libpapi.so.$(PAPIVER).$(PAPIREV).$(PAPIAGE) libpapi.so.$(PAPIVER)
< # cd $(DESTDIR)$(LIBDIR); ln -sf libpapi.so.$(PAPIVER).$(PAPIREV).$(PAPIAGE) libpapi.so
---
> cp -p $(SHLIB) $(DESTDIR)$(LIBDIR)/libpapi.so.$(PAPIVER).$(PAPIREV).$(PAPIAGE)
> cd $(DESTDIR)$(LIBDIR); ln -sf libpapi.so.$(PAPIVER).$(PAPIREV).$(PAPIAGE) libpapi.so.$(PAPIVER)
> cd $(DESTDIR)$(LIBDIR); ln -sf libpapi.so.$(PAPIVER).$(PAPIREV).$(PAPIAGE) libpapi.so
jeg@ela1:~>
Does 3.7.0 support building for the Cray-XT5?
If so, is my configure line calling out the right options?
Thanks for the help,
Jim G