Intall error on Cori

Created by: jychoi-hpc

I am trying to build Adios2 on Cori but getting the following error. Building was ok but installation was failed:

-- Installing: /project/projectdirs/m499/Software/test/adios2/v2.1.0-2902-g83da09c8/cori_haswell/intel/lib64/libadios2_sst.a
-- Installing: /project/projectdirs/m499/Software/test/adios2/v2.1.0-2902-g83da09c8/cori_haswell/intel/bin/sst_conn_tool
CMake Error at source/adios2/toolkit/sst/util/cmake_install.cmake:45 (file):
  file RPATH_CHANGE could not write new RPATH:

    $ORIGIN/../lib64

  to the file:

    /project/projectdirs/m499/Software/test/adios2/v2.1.0-2902-g83da09c8/cori_haswell/intel/bin/sst_conn_tool

  No valid ELF RPATH or RUNPATH entry exists in the file;
Call Stack (most recent call first):
  source/adios2/toolkit/sst/cmake_install.cmake:45 (include)
  source/adios2/cmake_install.cmake:54 (include)
  source/cmake_install.cmake:37 (include)
  cmake_install.cmake:43 (include)


Makefile:73: recipe for target 'install' failed

Here is my cmake command:

cmake 
-DCMAKE_INSTALL_PREFIX=/dir/to/install 
-DCMAKE_BUILD_TYPE=RelWithDebInfo 
-DADIOS2_USE_MPI=ON 
-DADIOS2_USE_Fortran=ON 
-DADIOS2_USE_Python=OFF 
-DADIOS2_BUILD_SHARED_LIBS=ON 
-DADIOS2_BUILD_EXAMPLES_EXPERIMENTAL=OFF 
-DADIOS2_BUILD_TESTING=OFF 
-DADIOS2_USE_ADIOS1=OFF 
-DADIOS2_USE_HDF5=OFF 
-DADIOS2_USE_SST=ON 
..