Build error with PGI on Titan
Created by: kshitij-v-mehta
Modules loaded:
Currently Loaded Modulefiles:
1) eswrap/1.3.3-1.020200.1280.0
2) craype-network-gemini
3) cray-mpich/7.6.3
4) craype-interlagos
5) lustredu/1.4
6) xalt/0.7.5
7) git/2.13.0
8) module_msg/0.1
9) modulator/1.2.0
10) hsi/5.0.2.p1
11) DefApps
12) craype/2.5.13
13) python/3.5.1
14) cudatoolkit/7.5.18-1.0502.10743.2.1
15) cmake3/3.9.0
16) papi/5.5.1.3
17) fastbit/svn
18) m4/1.4.16
19) autoconf/2.69
20) automake/1.14
21) pgi/17.9.0
22) cray-libsci/16.11.1
23) udreg/2.3.2-1.0502.10518.2.17.gem
24) ugni/6.0-1.0502.10863.8.28.gem
25) pmi/5.0.12
26) dmapp/7.0.1-1.0502.11080.8.74.gem
27) gni-headers/4.0-1.0502.10859.7.8.gem
28) xpmem/0.1-2.0502.64982.5.3.gem
29) dvs/2.5_0.9.0-1.0502.2188.1.113.gem
30) alps/5.2.4-2.0502.9774.31.12.gem
31) rca/1.0.0-2.0502.60530.1.63.gem
32) atp/2.1.1
33) PrgEnv-pgi/5.2.82
34) cray-petsc/3.7.6.1
35) petsc/cray
36) cray-netcdf-hdf5parallel/4.4.1.1.3
37) netcdf-hdf5parallel/cray
Running cmake results in an error:
CC=cc CXX=CC FTN=ftn cmake -DADIOS2_USE_Fortran=ON -DADIOS2_USE_DataMan=OFF -DADIOS2_USE_ZeroMQ=OFF -DADIOS2_USE_HDF5=OFF -DBUILD_SHARED_LIBS=OFF -DADIOS2_ENABLE_PIC=ON -DCMAKE_INSTALL_PREFIX=$PWD/../installation/pgi -DCMAKE_BUILD_TYPE=Release -DADIOS2_USE_SST=OFF -DADIOS2_BUILD_EXAMPLES=OFF ../
-- The C compiler identification is PGI 17.9.0
-- The CXX compiler identification is PGI 17.9.0
-- Cray Programming Environment 2.5.13 C
-- Check for working C compiler: /opt/cray/craype/2.5.13/bin/cc
-- Check for working C compiler: /opt/cray/craype/2.5.13/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Cray Programming Environment 2.5.13 CXX
-- Check for working CXX compiler: /opt/cray/craype/2.5.13/bin/CC
-- Check for working CXX compiler: /opt/cray/craype/2.5.13/bin/CC -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - failed
-- Found BZip2: /usr/lib64/libbz2.so (found version "1.0.5")
-- Looking for BZ2_bzCompressInit
-- Looking for BZ2_bzCompressInit - found
-- Could NOT find ZFP (missing: ZFP_LIBRARY ZFP_INCLUDE_DIR)
-- Could NOT find SZ (missing: SZ_LIBRARY SZ_INCLUDE_DIR)
-- The Fortran compiler identification is GNU 4.3.4
-- Check for working Fortran compiler: /usr/bin/gfortran
-- Check for working Fortran compiler: /usr/bin/gfortran -- works
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Checking whether /usr/bin/gfortran supports Fortran 90
-- Checking whether /usr/bin/gfortran supports Fortran 90 -- yes
-- Found MPI_C: /opt/cray/craype/2.5.13/bin/cc (found version "3.1")
-- Could NOT find MPI_Fortran (missing: MPI_Fortran_LIB_NAMES MPI_Fortran_F77_HEADER_DIR MPI_Fortran_MODULE_DIR MPI_Fortran_WORKS)
-- Could NOT find MPI (missing: MPI_Fortran_FOUND Fortran) (found version "3.1")
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE
-- Found ADIOS1: /lustre/atlas/proj-shared/csc249/CSC249ADCD01/software/titan.gnu/gcc-4.9.3/adios-develop/lib/libadios_nompi.a (found suitable version "1.13.1", minimum required is "1.12.0")
-- Found PythonInterp: /sw/xk6/python/3.5.1/sles11.3_gnu4.9.0/bin/python3 (found version "3.5.1")
-- Found PythonLibs: /sw/xk6/python/3.5.1/sles11.3_gnu4.9.0/lib/libpython3.5m.so (found version "3.5.1")
-- Could NOT find PythonModule_numpy (missing: PythonModule_numpy_PATH)
-- Could NOT find PythonFull (missing: numpy)
-- Looking for shmget
-- Looking for shmget - found
-- Checking whether header cstdio is available
-- Checking whether header cstdio is available - yes
-- Checking for Large File Support
-- Checking for Large File Support - yes
-- Checking whether C++ compiler has 'long long'
-- Checking whether C++ compiler has 'long long' - yes
-- Checking whether C++ compiler has '__int64'
-- Checking whether C++ compiler has '__int64' - no
-- Checking whether wstring is available
-- Checking whether wstring is available - yes
-- Checking whether C compiler has ptrdiff_t in stddef.h
-- Checking whether C compiler has ptrdiff_t in stddef.h - yes
-- Checking whether C compiler has ssize_t in unistd.h
-- Checking whether C compiler has ssize_t in unistd.h - yes
-- Checking whether CXX compiler has setenv
-- Checking whether CXX compiler has setenv - yes
-- Checking whether CXX compiler has unsetenv
-- Checking whether CXX compiler has unsetenv - yes
-- Checking whether CXX compiler has environ in stdlib.h
-- Checking whether CXX compiler has environ in stdlib.h - no
-- Checking whether CXX compiler has utimes
-- Checking whether CXX compiler has utimes - yes
-- Checking whether CXX compiler has utimensat
-- Checking whether CXX compiler has utimensat - yes
-- Checking whether CXX compiler struct stat has st_mtim member
-- Checking whether CXX compiler struct stat has st_mtim member - yes
-- Checking whether CXX compiler struct stat has st_mtimespec member
-- Checking whether CXX compiler struct stat has st_mtimespec member - no
-- Checking whether <ext/stdio_filebuf.h> is available
-- Checking whether <ext/stdio_filebuf.h> is available - yes
-- Using the single-header code from /ccs/home/kmehta/opt/adios2/thirdparty/nlohmann_json/nlohmann_json/single_include/
CMake Error at source/adios2/CMakeLists.txt:70 (target_compile_features):
target_compile_features no known features for CXX compiler
"PGI"
version 17.9.0.
-- Detecting Fortran/C Interface
-- Detecting Fortran/C Interface - Found GLOBAL and MODULE mangling
-- Verifying Fortran/CXX Compiler Compatibility
-- Verifying Fortran/CXX Compiler Compatibility - Success
ADIOS2 build configuration:
ADIOS Version: 2.1.1
C++ Compiler : PGI 17.9.0 CrayPrgEnv
/opt/cray/craype/2.5.13/bin/CC
Fortran Compiler : GNU 4.3.4
/usr/bin/gfortran
Installation prefix: /ccs/home/kmehta/opt/adios2/installation/pgi
bin: bin
lib: lib
include: include
cmake: lib/cmake/adios2
Features:
Library Type: static (with PIC)
Build Type: Release
Testing: ON
Build Options:
BZip2 : ON
ZFP : OFF
SZ : OFF
MPI : OFF
DataMan : ON
SST : OFF
ZeroMQ : OFF
HDF5 : OFF
ADIOS1 : ON
Python : OFF
Fortran : ON
SysVShMem: ON
-- Configuring incomplete, errors occurred!