Skip to content

Regression-tests don't link inside "make check" but appear to work ok outside of it. #171

@cponder

Description

@cponder

The system is an ARM64 cluster running Rocky Linux 9.3.
The native GCC is 11.4.1 but I'm using a custom build of 14.2.0, and believe the problem is collisions between my built libraries and the ones installed under /usr.
When I run this

make -i -k V=1 check

ALL of the cases report failures like this:

FAIL: nctst
===========
/work/01768/ponderc/vista/SHARE/Utils/PNetCDF/1.14.0/GCC-14.2.0_OpenMPI-5.0.7/distro/test/CXX/.libs/nctst: symbol lookup error: /work/01768/ponderc/vista/SHARE/Utils/OpenMPI/5.0.7/GCC-14.2.0_CUDA-12.8.0.0_570.86.10_UCX-1.18.0_HWLoc-2.12.0_PMIx-5.0.6_ZLib-1.3.1/lib/libopen-pal.so.80: undefined symbol: pmix_framework_names
FAIL nctst (exit status: 127)

I believe my environment is set up correctly, though -- the PNetCDF doesn't complain about the build, and if I run the command

distro/test/CXX/.libs/nctst

standalone, it looks like it did work

*** TESTING C++ nctst for APIs with different netCDF formats       ------ pass

and this file gets created

-rw-r--r-- 1 ponderc G-821262 1692 Feb 25 07:35 testfile.nc

My suspicion is that the harness is shuffling the $LD_LIBRARY_PATH, but don't see an easy way to check this.
I tried putting /usr/lib64 at the front but got a different failure about the GLIBCXX version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions