Skip to content

Static build, BP5 on SST off fails #3148

Closed
@pnorbert

Description

pnorbert@cori05:~/src/ADIOS2-2.8.0/build> cmake -DCMAKE_INSTALL_PREFIX=/global/homes/p/pnorbert/adios/2.8.0/build \
-DADIOS2_USE_MPI=ON -DADIOS2_USE_Fortran=ON -DADIOS2_USE_BZip2=OFF -DADIOS2_USE_PNG=OFF \
-DADIOS2_USE_SST=OFF -DADIOS2_USE_BP5=ON \
-DADIOS2_USE_ZeroMQ=OFF -DADIOS2_USE_HDF5=OFF -DADIOS2_USE_Python=OFF \
-DADIOS2_BUILD_EXAMPLES_EXPERIMENTAL=OFF -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF \
-DBUILD_SHARED_LIBS=OFF ..

ADIOS2 build configuration:
  ADIOS Version: 2.8.0
  C++ Compiler : Intel 19.1.2.20200623 CrayPrgEnv
    /opt/cray/pe/craype/2.7.10/bin/CC

  Fortran Compiler : Intel 19.1.2.20200623 CrayPrgEnv
    /opt/cray/pe/craype/2.7.10/bin/ftn

  Installation prefix: /global/homes/p/pnorbert/adios/2.8.0/build
        bin: bin
        lib: lib64
    include: include
      cmake: lib64/cmake/adios2

  Features:
    Library Type: static (with PIC)
    Build Type:   Release
    Testing: OFF
    Examples: ON
    Build Options:
      BP5       : ON
      DataMan   : OFF
      DataSpaces: OFF
      HDF5      : OFF
      HDF5_VOL  : OFF
      MHS       : ON
      SST       : OFF
      CUDA      : OFF
      Fortran   : ON
      MPI       : ON
      Python    : OFF
      Blosc     : OFF
      BZip2     : OFF
      LIBPRESSIO: OFF
      MGARD     : OFF
      PNG       : OFF
      SZ        : OFF
      ZFP       : OFF
      DAOS      : OFF
      IME       : OFF
      O_DIRECT  : ON
      SysVShMem : ON
      ZeroMQ    : OFF
      Profiling : OFF
      Endian_Reverse: OFF
      Sodium    : ON
    RDMA Transport for Staging: Unconfigured
$ make install
...
Configuring adios2-config dummy CMake project
-- The C compiler identification is Intel 19.1.2.20200623
-- The CXX compiler identification is Intel 19.1.2.20200623
-- Cray Programming Environment 2.7.10 C
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /opt/cray/pe/craype/2.7.10/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Cray Programming Environment 2.7.10 CXX
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /opt/cray/pe/craype/2.7.10/bin/CC - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found MPI_C: /opt/cray/pe/craype/2.7.10/bin/cc (found version "3.1")
-- Found MPI_CXX: /opt/cray/pe/craype/2.7.10/bin/CC (found version "3.1")
-- Found MPI: TRUE (found version "3.1")
-- Found Sodium: /usr/lib64/libsodium.so
-- Found adios2: /global/homes/p/pnorbert/adios/2.8.0/build/lib64/cmake/adios2/adios2-config.cmake (found version "2.8.0") found components: C CXX MPI
CMake Error at CMakeLists.txt:9 (find_package):
  Found package configuration file:

    /global/homes/p/pnorbert/adios/2.8.0/build/lib64/cmake/adios2/adios2-config.cmake

  but it set adios2_FOUND to FALSE so package "adios2" is considered to be
  NOT FOUND.  Reason given by package:

  The following imported targets are referenced, but are missing: ffs::ffs

The ffs library was built

pnorbert@cori05:~/src/ADIOS2-2.8.0/build> ll lib64/
total 39076
-rw-rw---- 1 pnorbert pnorbert    37790 Apr  1 13:43 libEncryptionOperator.a
-rw-rw---- 1 pnorbert pnorbert    14876 Apr  1 13:44 libInlineMixedLangCPP.a
-rw-rw---- 1 pnorbert pnorbert   200908 Apr  1 13:44 libPluginEngineRead.a
-rw-rw---- 1 pnorbert pnorbert   117822 Apr  1 13:44 libPluginEngineWrite.a
-rw-rw---- 1 pnorbert pnorbert    81164 Apr  1 13:42 libadios2_atl.a
-rw-rw---- 1 pnorbert pnorbert   832972 Apr  1 13:43 libadios2_c.a
-rw-rw---- 1 pnorbert pnorbert    34680 Apr  1 13:44 libadios2_c_mpi.a
-rw-rw---- 1 pnorbert pnorbert 27042118 Apr  1 13:43 libadios2_core.a
-rw-rw---- 1 pnorbert pnorbert  1307788 Apr  1 13:44 libadios2_core_mpi.a
-rw-rw---- 1 pnorbert pnorbert  6556474 Apr  1 13:44 libadios2_cxx11.a
-rw-rw---- 1 pnorbert pnorbert    82864 Apr  1 13:44 libadios2_cxx11_mpi.a
-rw-rw---- 1 pnorbert pnorbert   288080 Apr  1 13:42 libadios2_dill.a
-rw-rw---- 1 pnorbert pnorbert    70258 Apr  1 13:42 libadios2_enet.a
-rw-rw---- 1 pnorbert pnorbert  1397616 Apr  1 13:42 libadios2_evpath.a
-rw-rw---- 1 pnorbert pnorbert   774184 Apr  1 13:42 libadios2_ffs.a
-rw-rw---- 1 pnorbert pnorbert  1112186 Apr  1 13:44 libadios2_fortran.a
-rw-rw---- 1 pnorbert pnorbert    17538 Apr  1 13:44 libadios2_fortran_mpi.a

Same issue on my linux box.
If SST and BP5 are both ON, then it works fine.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions