Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue to use cget install -f requirements.txt #33

Open
Bochao1 opened this issue Sep 13, 2021 · 18 comments
Open

issue to use cget install -f requirements.txt #33

Bochao1 opened this issue Sep 13, 2021 · 18 comments

Comments

@Bochao1
Copy link

Bochao1 commented Sep 13, 2021

Dear sir or Madam,
i am new to this program, and i am not able to install rareworker sucessfully. It is so appreciated if you can help me went throughout with this.

$conda create -n raremetal r-base=3.6.1 r-essentials python=2.7
$conda activate raremetal
download & install depdence packages
$conda install -c hcc r-mathlib
$conda install -c conda-forge zlib
$conda install -c conda-forge cget
conda install -c conda-forge fortran-compiler
$cget install -f requirements.txt ## can not be sucessfully conducted
hpc/hers_en/blin/program/miniconda3/envs/raremetal/bin/../lib/gcc/x86_64-conda_cos6-linux-gnu/7.3.0/../../../../x86_64-conda_cos6-linux-gnu/bin/ld: final link failed: nonrepresentable section on output
collect2: error: ld returned 1 exit status
gmake[2]: *** [sav] Error 1
gmake[1]: *** [CMakeFiles/sav.dir/all] Error 2
gmake: *** [all] Error 2
Command failed: ['/hpc/hers_en/blin/program/miniconda3/envs/raremetal/bin/cmake', '--build', '/hpc/hers_en/blin/program/raremetal/cget/cget/build/tmp-5814a2afe7274a3682f99f5bd0fb0530/build', '--config', 'Release', '--', '-j', '64']
Failed to build package statgen/savvy

alternative try to install requirements.txt using pip
$pip3 install -r requirements.txt
Invalid requirement: 'statgen/savvy@019a1ddaa9ec588f807f234f68787862f94ea057'
It looks like a path. Does it exist ?

alternative try to install statgen/savvy using conda or cget
$conda install -c conda-forge -c bioconda savvy
$cget install --prefix /hpc/hers_en/blin/program/raremetal statgen/savvy
$mkdir build && cd build
$cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=../cget/cget/cget.cmake -DBUILD_TESTS=1 ..
CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
CMake 3.2 or higher is required. You are running version 2.8.12.2

-- Configuring incomplete, errors occurred!
(raremetal) bash-4.2$ make
make: *** No targets specified and no makefile found. Stop.
(raremetal) bash-4.

@jonathonl
Copy link
Collaborator

You will need to install a more recent version of CMake (>= v3.2). Also, can you provide the output of cget --version?

@jonathonl
Copy link
Collaborator

Also, were there more messages printed before the link error?

hpc/hers_en/blin/program/miniconda3/envs/raremetal/bin/../lib/gcc/x86_64-conda_cos6-linux-gnu/7.3.0/../../../../x86_64-conda_cos6-linux-gnu/bin/ld: final link failed: nonrepresentable section on output

@Bochao1
Copy link
Author

Bochao1 commented Sep 13, 2021

Thanks a lot for quickly reply. My cget is 0.1.9 and cmake is 3.17.0. Will this be problematic?

(raremetal) bash-4.2$ cget --version
cget, version 0.1.9
(raremetal) bash-4.2$ cmake --version
cmake version 3.17.0

@Bochao1
Copy link
Author

Bochao1 commented Sep 13, 2021

Also, were there more messages printed before the link error?

hpc/hers_en/blin/program/miniconda3/envs/raremetal/bin/../lib/gcc/x86_64-conda_cos6-linux-gnu/7.3.0/../../../../x86_64-conda_cos6-linux-gnu/bin/ld: final link failed: nonrepresentable section on output

-- Build files have been written to: /hpc/hers_en/blin/program/raremetal/cget/cget/build/tmp-b229da5ccdc54d68a5061e4e967e3722/build
Scanning dependencies of target libzstd.pc
Scanning dependencies of target libzstd_static
[ 3%] Creating pkg-config file
[ 3%] Built target libzstd.pc
[ 11%] Building C object build/cmake/lib/CMakeFiles/libzstd_static.dir////lib/common/fse_decompress.c.o
[ 11%] Building C object build/cmake/lib/CMakeFiles/libzstd_static.dir/
///lib/common/entropy_common.c.o
[ 26%] Building C object build/cmake/lib/CMakeFiles/libzstd_static.dir////lib/common/pool.c.o
[ 26%] Building C object build/cmake/lib/CMakeFiles/libzstd_static.dir/
///lib/common/error_private.c.o
[ 26%] Building C object build/cmake/lib/CMakeFiles/libzstd_static.dir////lib/common/threading.c.o
[ 26%] Building C object build/cmake/lib/CMakeFiles/libzstd_static.dir/
///lib/common/zstd_common.c.o
[ 34%] Building C object build/cmake/lib/CMakeFiles/libzstd_static.dir////lib/common/xxhash.c.o
[ 34%] Building C object build/cmake/lib/CMakeFiles/libzstd_static.dir/
///lib/compress/fse_compress.c.o
[ 38%] Building C object build/cmake/lib/CMakeFiles/libzstd_static.dir////lib/compress/huf_compress.c.o
[ 42%] Building C object build/cmake/lib/CMakeFiles/libzstd_static.dir/
///lib/compress/zstd_compress.c.o
[ 46%] Building C object build/cmake/lib/CMakeFiles/libzstd_static.dir////lib/compress/zstd_fast.c.o
[ 50%] Building C object build/cmake/lib/CMakeFiles/libzstd_static.dir/
///lib/compress/zstdmt_compress.c.o
[ 53%] Building C object build/cmake/lib/CMakeFiles/libzstd_static.dir////lib/compress/zstd_double_fast.c.o
[ 61%] Building C object build/cmake/lib/CMakeFiles/libzstd_static.dir/
///lib/compress/zstd_lazy.c.o
[ 61%] Building C object build/cmake/lib/CMakeFiles/libzstd_static.dir////lib/compress/zstd_opt.c.o
[ 65%] Building C object build/cmake/lib/CMakeFiles/libzstd_static.dir/
///lib/compress/zstd_ldm.c.o
[ 73%] Building C object build/cmake/lib/CMakeFiles/libzstd_static.dir////lib/decompress/zstd_decompress.c.o
[ 73%] Building C object build/cmake/lib/CMakeFiles/libzstd_static.dir/
///lib/decompress/huf_decompress.c.o
[ 76%] Building C object build/cmake/lib/CMakeFiles/libzstd_static.dir////lib/dictBuilder/cover.c.o
[ 80%] Building C object build/cmake/lib/CMakeFiles/libzstd_static.dir/
///lib/dictBuilder/divsufsort.c.o
[ 88%] Building C object build/cmake/lib/CMakeFiles/libzstd_static.dir////lib/dictBuilder/zdict.c.o
[ 88%] Building C object build/cmake/lib/CMakeFiles/libzstd_static.dir/
///lib/deprecated/zbuff_common.c.o
[ 96%] Building C object build/cmake/lib/CMakeFiles/libzstd_static.dir////lib/deprecated/zbuff_compress.c.o
[ 96%] Building C object build/cmake/lib/CMakeFiles/libzstd_static.dir/
///lib/deprecated/zbuff_decompress.c.o
[100%] Linking C static library libzstd.a
[100%] Built target libzstd_static
[ 3%] Creating pkg-config file
[ 38%] Built target libzstd.pc
[100%] Built target libzstd_static
Install the project...
-- Install configuration: "Release"
-- Installing: /hpc/hers_en/blin/program/raremetal/cget/cget/pkg/zstd/install/share/pkgconfig/libzstd.pc
-- Installing: /hpc/hers_en/blin/program/raremetal/cget/cget/pkg/zstd/install/include/zstd.h
-- Installing: /hpc/hers_en/blin/program/raremetal/cget/cget/pkg/zstd/install/include/zbuff.h
-- Installing: /hpc/hers_en/blin/program/raremetal/cget/cget/pkg/zstd/install/include/zdict.h
-- Installing: /hpc/hers_en/blin/program/raremetal/cget/cget/pkg/zstd/install/include/zstd_errors.h
-- Installing: /hpc/hers_en/blin/program/raremetal/cget/cget/pkg/zstd/install/lib/libzstd.a
Downloading http://zlib.net/zlib-1.2.11.tar.gz
[######################################################################] 100%
Extracting archive /hpc/hers_en/blin/program/raremetal/cget/cget/build/tmp-a9f7201f83484bc6a5f2f225dc32176d/zlib-1.2.11.tar.gz ...
-- The C compiler identification is GNU 7.3.0
-- Check for working C compiler: /hpc/hers_en/blin/program/miniconda3/envs/raremetal/bin/x86_64-conda_cos6-linux-gnu-cc
-- Check for working C compiler: /hpc/hers_en/blin/program/miniconda3/envs/raremetal/bin/x86_64-conda_cos6-linux-gnu-cc - works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of off64_t
-- Check size of off64_t - done
-- Looking for fseeko
-- Looking for fseeko - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Renaming
-- /hpc/hers_en/blin/program/raremetal/cget/cget/build/tmp-a9f7201f83484bc6a5f2f225dc32176d/zlib-1.2.11/zconf.h
-- to 'zconf.h.included' because this file is included with zlib
-- but CMake generates it automatically in the build directory.
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:

BUILD_TESTING
CGET_CMAKE_DIR
CGET_CMAKE_ORIGINAL_SOURCE_FILE

-- Build files have been written to: /hpc/hers_en/blin/program/raremetal/cget/cget/build/tmp-a9f7201f83484bc6a5f2f225dc32176d/build
Scanning dependencies of target zlibstatic
Scanning dependencies of target zlib
[ 2%] Building C object CMakeFiles/zlib.dir/compress.o
[ 7%] Building C object CMakeFiles/zlib.dir/adler32.o
[ 10%] Building C object CMakeFiles/zlibstatic.dir/adler32.o
[ 10%] Building C object CMakeFiles/zlib.dir/crc32.o
[ 12%] Building C object CMakeFiles/zlibstatic.dir/compress.o
[ 20%] Building C object CMakeFiles/zlibstatic.dir/crc32.o
[ 20%] Building C object CMakeFiles/zlib.dir/deflate.o
[ 20%] Building C object CMakeFiles/zlib.dir/gzclose.o
[ 30%] Building C object CMakeFiles/zlibstatic.dir/gzclose.o
[ 30%] Building C object CMakeFiles/zlibstatic.dir/deflate.o
[ 30%] Building C object CMakeFiles/zlibstatic.dir/gzlib.o
[ 30%] Building C object CMakeFiles/zlib.dir/gzlib.o
[ 32%] Building C object CMakeFiles/zlib.dir/gzread.o
[ 35%] Building C object CMakeFiles/zlibstatic.dir/gzread.o
[ 37%] Building C object CMakeFiles/zlib.dir/gzwrite.o
[ 45%] Building C object CMakeFiles/zlibstatic.dir/gzwrite.o
[ 45%] Building C object CMakeFiles/zlibstatic.dir/inflate.o
[ 45%] Building C object CMakeFiles/zlib.dir/inflate.o
[ 57%] Building C object CMakeFiles/zlibstatic.dir/inftrees.o
[ 57%] Building C object CMakeFiles/zlib.dir/infback.o
[ 60%] Building C object CMakeFiles/zlibstatic.dir/infback.o
[ 65%] Building C object CMakeFiles/zlib.dir/inftrees.o
[ 72%] Building C object CMakeFiles/zlibstatic.dir/zutil.o
[ 72%] Building C object CMakeFiles/zlibstatic.dir/inffast.o
[ 72%] Building C object CMakeFiles/zlibstatic.dir/trees.o
[ 75%] Building C object CMakeFiles/zlib.dir/trees.o
[ 75%] Building C object CMakeFiles/zlib.dir/uncompr.o
[ 75%] Building C object CMakeFiles/zlibstatic.dir/uncompr.o
[ 75%] Building C object CMakeFiles/zlib.dir/zutil.o
[ 75%] Building C object CMakeFiles/zlib.dir/inffast.o
[ 77%] Linking C static library libz.a
[ 80%] Linking C shared library libz.so
[ 80%] Built target zlibstatic
[ 80%] Built target zlib
Scanning dependencies of target example64
Scanning dependencies of target minigzip
Scanning dependencies of target minigzip64
Scanning dependencies of target example
[ 82%] Building C object CMakeFiles/example64.dir/test/example.o
[ 87%] Building C object CMakeFiles/minigzip.dir/test/minigzip.o
[ 87%] Building C object CMakeFiles/minigzip64.dir/test/minigzip.o
[ 90%] Building C object CMakeFiles/example.dir/test/example.o
[ 92%] Linking C executable minigzip
[ 95%] Linking C executable minigzip64
[ 97%] Linking C executable example64
[100%] Linking C executable example
[100%] Built target minigzip
[100%] Built target minigzip64
[100%] Built target example64
[100%] Built target example
[ 80%] Built target zlibstatic
[ 80%] Built target zlib
[ 85%] Built target minigzip
[100%] Built target example64
[100%] Built target minigzip64
[100%] Built target example
Install the project...
-- Install configuration: "Release"
-- Installing: /hpc/hers_en/blin/program/raremetal/cget/cget/pkg/zlib/install/lib/libz.so.1.2.11
-- Installing: /hpc/hers_en/blin/program/raremetal/cget/cget/pkg/zlib/install/lib/libz.so.1
-- Set runtime path of "/hpc/hers_en/blin/program/raremetal/cget/cget/pkg/zlib/install/lib/libz.so.1.2.11" to "/hpc/hers_en/blin/program/raremetal/cget/lib"
-- Installing: /hpc/hers_en/blin/program/raremetal/cget/cget/pkg/zlib/install/lib/libz.so
-- Installing: /hpc/hers_en/blin/program/raremetal/cget/cget/pkg/zlib/install/lib/libz.a
-- Installing: /hpc/hers_en/blin/program/raremetal/cget/cget/pkg/zlib/install/include/zconf.h
-- Installing: /hpc/hers_en/blin/program/raremetal/cget/cget/pkg/zlib/install/include/zlib.h
-- Installing: /hpc/hers_en/blin/program/raremetal/cget/cget/pkg/zlib/install/share/man/man3/zlib.3
-- Installing: /hpc/hers_en/blin/program/raremetal/cget/cget/pkg/zlib/install/share/pkgconfig/zlib.pc
-- The C compiler identification is GNU 7.3.0
-- The CXX compiler identification is GNU 7.3.0
-- Check for working C compiler: /hpc/hers_en/blin/program/miniconda3/envs/raremetal/bin/x86_64-conda_cos6-linux-gnu-cc
-- Check for working C compiler: /hpc/hers_en/blin/program/miniconda3/envs/raremetal/bin/x86_64-conda_cos6-linux-gnu-cc - works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /hpc/hers_en/blin/program/miniconda3/envs/raremetal/bin/x86_64-conda_cos6-linux-gnu-c++
-- Check for working CXX compiler: /hpc/hers_en/blin/program/miniconda3/envs/raremetal/bin/x86_64-conda_cos6-linux-gnu-c++ - works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Warning (dev) at CMakeLists.txt:43 (target_sources):
Policy CMP0076 is not set: target_sources() command converts relative paths
to absolute. Run "cmake --help-policy CMP0076" for policy details. Use
the cmake_policy command to set the policy and suppress this warning.

An interface source of target "shrinkwrap" has a relative path.
This warning is for project developers. Use -Wno-dev to suppress it.

-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:

BUILD_TESTING
CGET_CMAKE_DIR
CGET_CMAKE_ORIGINAL_SOURCE_FILE

-- Build files have been written to: /hpc/hers_en/blin/program/raremetal/cget/cget/build/tmp-884910bb46ab41d484c1f68859ef9332/build
Install the project...
-- Install configuration: "Release"
-- Installing: /hpc/hers_en/blin/program/raremetal/cget/cget/pkg/jonathonl__shrinkwrap/install/include/shrinkwrap
-- Installing: /hpc/hers_en/blin/program/raremetal/cget/cget/pkg/jonathonl__shrinkwrap/install/include/shrinkwrap/istream.hpp
-- Installing: /hpc/hers_en/blin/program/raremetal/cget/cget/pkg/jonathonl__shrinkwrap/install/include/shrinkwrap/xz.hpp
-- Installing: /hpc/hers_en/blin/program/raremetal/cget/cget/pkg/jonathonl__shrinkwrap/install/include/shrinkwrap/zstd.hpp
-- Installing: /hpc/hers_en/blin/program/raremetal/cget/cget/pkg/jonathonl__shrinkwrap/install/include/shrinkwrap/gz.hpp
-- Installing: /hpc/hers_en/blin/program/raremetal/cget/cget/pkg/jonathonl__shrinkwrap/install/include/shrinkwrap/stdio.hpp
-- Installing: /hpc/hers_en/blin/program/raremetal/cget/cget/pkg/jonathonl__shrinkwrap/install/share/shrinkwrap/shrinkwrap-config.cmake
-- Installing: /hpc/hers_en/blin/program/raremetal/cget/cget/pkg/jonathonl__shrinkwrap/install/share/shrinkwrap/shrinkwrap-config-version.cmake
Extracting archive /home/hers_en/blin/.config/cget/cache/md5-d6fd14e208aca7e08cbe9072233d0af9/htslib-1.6.tar.bz2 ...
-- The C compiler identification is GNU 7.3.0
-- The CXX compiler identification is GNU 7.3.0
-- Check for working C compiler: /hpc/hers_en/blin/program/miniconda3/envs/raremetal/bin/x86_64-conda_cos6-linux-gnu-cc
-- Check for working C compiler: /hpc/hers_en/blin/program/miniconda3/envs/raremetal/bin/x86_64-conda_cos6-linux-gnu-cc - works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /hpc/hers_en/blin/program/miniconda3/envs/raremetal/bin/x86_64-conda_cos6-linux-gnu-c++
-- Check for working CXX compiler: /hpc/hers_en/blin/program/miniconda3/envs/raremetal/bin/x86_64-conda_cos6-linux-gnu-c++ - works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
checking for gcc... /hpc/hers_en/blin/program/miniconda3/envs/raremetal/bin/x86_64-conda_cos6-linux-gnu-cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /hpc/hers_en/blin/program/miniconda3/envs/raremetal/bin/x86_64-conda_cos6-linux-gnu-cc accepts -g... yes
checking for /hpc/hers_en/blin/program/miniconda3/envs/raremetal/bin/x86_64-conda_cos6-linux-gnu-cc option to accept ISO C89... none needed
checking for ranlib... /hpc/hers_en/blin/program/miniconda3/envs/raremetal/bin/x86_64-conda_cos6-linux-gnu-ranlib
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGEFILE_SOURCE value needed for large files... no
checking shared library type for unknown-Linux... plain .so
checking how to run the C preprocessor... /hpc/hers_en/blin/program/miniconda3/envs/raremetal/bin/x86_64-conda_cos6-linux-gnu-cpp
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for gmtime_r... yes
checking for fsync... yes
checking for drand48... yes
checking whether fdatasync is declared... yes
checking for fdatasync... yes
checking for library containing log... -lm
checking for zlib.h... yes
checking for inflate in -lz... yes
checking for library containing recv... none required
configure: WARNING: GCS support not enabled: requires libcurl support
configure: WARNING: S3 support not enabled: requires libcurl support
checking whether PTHREAD_MUTEX_RECURSIVE is declared... yes
configure: creating ./config.status
config.status: creating config.mk
config.status: creating htslib.pc.tmp
config.status: creating config.h
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:

BUILD_TESTING
CGET_CMAKE_DIR
CGET_CMAKE_ORIGINAL_SOURCE_FILE

-- Build files have been written to: /hpc/hers_en/blin/program/raremetal/cget/cget/build/tmp-e96bd472ec46421b9bcb59929875cd52/build
Scanning dependencies of target hts
[100%] Building htslib ...
test/test-vcf-api.c: In function 'bcf_to_vcf':
test/test-vcf-api.c:238:9: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result [-Wunused-result]
fwrite(line.s,1,line.l,stdout);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

[100%] Built target hts
[100%] Building htslib ...
[100%] Built target hts
Install the project...
-- Install configuration: "Release"
-- Installing: /hpc/hers_en/blin/program/raremetal/cget/cget/pkg/htslib/install/include/htslib
-- Installing: /hpc/hers_en/blin/program/raremetal/cget/cget/pkg/htslib/install/include/htslib/khash_str2int.h
-- Installing: /hpc/hers_en/blin/program/raremetal/cget/cget/pkg/htslib/install/include/htslib/kfunc.h
-- Installing: /hpc/hers_en/blin/program/raremetal/cget/cget/pkg/htslib/install/include/htslib/faidx.h
-- Installing: /hpc/hers_en/blin/program/raremetal/cget/cget/pkg/htslib/install/include/htslib/khash.h
-- Installing: /hpc/hers_en/blin/program/raremetal/cget/cget/pkg/htslib/install/include/htslib/ksort.h
-- Installing: /hpc/hers_en/blin/program/raremetal/cget/cget/pkg/htslib/install/include/htslib/tbx.h
-- Installing: /hpc/hers_en/blin/program/raremetal/cget/cget/pkg/htslib/install/include/htslib/vcf.h
-- Installing: /hpc/hers_en/blin/program/raremetal/cget/cget/pkg/htslib/install/include/htslib/hts_endian.h
-- Installing: /hpc/hers_en/blin/program/raremetal/cget/cget/pkg/htslib/install/include/htslib/regidx.h
-- Installing: /hpc/hers_en/blin/program/raremetal/cget/cget/pkg/htslib/install/include/htslib/hts.h
-- Installing: /hpc/hers_en/blin/program/raremetal/cget/cget/pkg/htslib/install/include/htslib/hfile.h
-- Installing: /hpc/hers_en/blin/program/raremetal/cget/cget/pkg/htslib/install/include/htslib/vcfutils.h
-- Installing: /hpc/hers_en/blin/program/raremetal/cget/cget/pkg/htslib/install/include/htslib/synced_bcf_reader.h
-- Installing: /hpc/hers_en/blin/program/raremetal/cget/cget/pkg/htslib/install/include/htslib/hts_defs.h
-- Installing: /hpc/hers_en/blin/program/raremetal/cget/cget/pkg/htslib/install/include/htslib/kstring.h
-- Installing: /hpc/hers_en/blin/program/raremetal/cget/cget/pkg/htslib/install/include/htslib/kseq.h
-- Installing: /hpc/hers_en/blin/program/raremetal/cget/cget/pkg/htslib/install/include/htslib/kbitset.h
-- Installing: /hpc/hers_en/blin/program/raremetal/cget/cget/pkg/htslib/install/include/htslib/hts_log.h
-- Installing: /hpc/hers_en/blin/program/raremetal/cget/cget/pkg/htslib/install/include/htslib/vcf_sweep.h
-- Installing: /hpc/hers_en/blin/program/raremetal/cget/cget/pkg/htslib/install/include/htslib/knetfile.h
-- Installing: /hpc/hers_en/blin/program/raremetal/cget/cget/pkg/htslib/install/include/htslib/hts_os.h
-- Installing: /hpc/hers_en/blin/program/raremetal/cget/cget/pkg/htslib/install/include/htslib/sam.h
-- Installing: /hpc/hers_en/blin/program/raremetal/cget/cget/pkg/htslib/install/include/htslib/klist.h
-- Installing: /hpc/hers_en/blin/program/raremetal/cget/cget/pkg/htslib/install/include/htslib/thread_pool.h
-- Installing: /hpc/hers_en/blin/program/raremetal/cget/cget/pkg/htslib/install/include/htslib/cram.h
-- Installing: /hpc/hers_en/blin/program/raremetal/cget/cget/pkg/htslib/install/include/htslib/bgzf.h
-- Installing: /hpc/hers_en/blin/program/raremetal/cget/cget/pkg/htslib/install/lib/libhts.a
-- The C compiler identification is GNU 7.3.0
-- The CXX compiler identification is GNU 7.3.0
-- Check for working C compiler: /hpc/hers_en/blin/program/miniconda3/envs/raremetal/bin/x86_64-conda_cos6-linux-gnu-cc
-- Check for working C compiler: /hpc/hers_en/blin/program/miniconda3/envs/raremetal/bin/x86_64-conda_cos6-linux-gnu-cc - works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /hpc/hers_en/blin/program/miniconda3/envs/raremetal/bin/x86_64-conda_cos6-linux-gnu-c++
-- Check for working CXX compiler: /hpc/hers_en/blin/program/miniconda3/envs/raremetal/bin/x86_64-conda_cos6-linux-gnu-c++ - works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:

BUILD_TESTING
CGET_CMAKE_DIR
CGET_CMAKE_ORIGINAL_SOURCE_FILE

-- Build files have been written to: /hpc/hers_en/blin/program/raremetal/cget/cget/build/tmp-740a7c191d914bcea41fbd94b354a442/build
Scanning dependencies of target savvy
[ 11%] Building CXX object CMakeFiles/savvy.dir/src/savvy/reader.cpp.o
[ 11%] Building CXX object CMakeFiles/savvy.dir/src/savvy/region.cpp.o
[ 16%] Building CXX object CMakeFiles/savvy.dir/src/savvy/sav_reader.cpp.o
[ 27%] Building CXX object CMakeFiles/savvy.dir/src/savvy/vcf_reader.cpp.o
[ 38%] Building CXX object CMakeFiles/savvy.dir/src/savvy/savvy.cpp.o
[ 38%] Building CXX object CMakeFiles/savvy.dir/src/savvy/site_info.cpp.o
[ 44%] Building CXX object CMakeFiles/savvy.dir/src/savvy/utility.cpp.o
[ 44%] Building CXX object CMakeFiles/savvy.dir/src/savvy/varint.cpp.o
[ 50%] Linking CXX static library libsavvy.a
[ 50%] Built target savvy
Scanning dependencies of target sav
[ 61%] Building CXX object CMakeFiles/sav.dir/src/sav/main.cpp.o
[ 61%] Building CXX object CMakeFiles/sav.dir/src/sav/export.cpp.o
[ 72%] Building CXX object CMakeFiles/sav.dir/src/sav/import.cpp.o
[ 77%] Building CXX object CMakeFiles/sav.dir/src/sav/index.cpp.o
[ 77%] Building CXX object CMakeFiles/sav.dir/src/sav/merge.cpp.o
[ 83%] Building CXX object CMakeFiles/sav.dir/src/sav/sort.cpp.o
[ 88%] Building CXX object CMakeFiles/sav.dir/src/sav/stat.cpp.o
[ 94%] Building CXX object CMakeFiles/sav.dir/src/sav/utility.cpp.o
[100%] Linking CXX executable sav
/hpc/hers_en/blin/program/miniconda3/envs/raremetal/bin/../lib/gcc/x86_64-conda_cos6-linux-gnu/7.3.0/../../../../x86_64-conda_cos6-linux-gnu/bin/ld: /hpc/hers_en/blin/program/miniconda3/envs/raremetal/lib/libstdc++.so: undefined reference to aligned_alloc@GLIBC_2.16' /hpc/hers_en/blin/program/miniconda3/envs/raremetal/bin/../lib/gcc/x86_64-conda_cos6-linux-gnu/7.3.0/../../../../x86_64-conda_cos6-linux-gnu/bin/ld: /hpc/hers_en/blin/program/miniconda3/envs/raremetal/lib/libstdc++.so: undefined reference to clock_gettime@GLIBC_2.17'
collect2: error: ld returned 1 exit status
gmake[2]: *** [sav] Error 1
gmake[1]: *** [CMakeFiles/sav.dir/all] Error 2
gmake: *** [all] Error 2
Command failed: ['/hpc/hers_en/blin/program/miniconda3/envs/raremetal/bin/cmake', '--build', '/hpc/hers_en/blin/program/raremetal/cget/cget/build/tmp-740a7c191d914bcea41fbd94b354a442/build', '--config', 'Release', '--', '-j', '64']
Failed to build package statgen/savvy

@jonathonl
Copy link
Collaborator

Ok, can you try running cget install -DCMAKE_C_STANDARD=11 -f requirements.txt?

@Bochao1
Copy link
Author

Bochao1 commented Sep 13, 2021

Still the same error:
conda update cget

PackageNotInstalledError: Package is not installed in prefix.
prefix: /hpc/hers_en/blin/program/miniconda3/envs/raremetal
package name: cget

(raremetal) bash-4.2$ conda update cmake

PackageNotInstalledError: Package is not installed in prefix.
prefix: /hpc/hers_en/blin/program/miniconda3/envs/raremetal
package name: cmake

(raremetal) bash-4.2$
(raremetal) bash-4.2$ cget --version
cget, version 0.1.9
(raremetal) bash-4.2$ cmake --version
cmake version 3.17.0

CMake suite maintained and supported by Kitware (kitware.com/cmake).
(raremetal) bash-4.2$ cget install -DCMAKE_C_STANDARD=11 -f requirements.txt

Downloading https://github.com/statgen/savvy/archive/019a1ddaa9ec588f807f234f68787862f94ea057.tar.gz
[######################################################################] 100%
Extracting archive /hpc/hers_en/blin/program/raremetal/cget/cget/build/tmp-bf7e7b7a9340431a9b12cfedd42d373f/019a1ddaa9ec588f807f234f68787862f94ea057.tar.gz ...
-- The C compiler identification is GNU 7.3.0
-- The CXX compiler identification is GNU 7.3.0
-- Check for working C compiler: /hpc/hers_en/blin/program/miniconda3/envs/raremetal/bin/x86_64-conda_cos6-linux-gnu-cc
-- Check for working C compiler: /hpc/hers_en/blin/program/miniconda3/envs/raremetal/bin/x86_64-conda_cos6-linux-gnu-cc - works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /hpc/hers_en/blin/program/miniconda3/envs/raremetal/bin/x86_64-conda_cos6-linux-gnu-c++
-- Check for working CXX compiler: /hpc/hers_en/blin/program/miniconda3/envs/raremetal/bin/x86_64-conda_cos6-linux-gnu-c++ - works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:

BUILD_TESTING
CGET_CMAKE_DIR
CGET_CMAKE_ORIGINAL_SOURCE_FILE

-- Build files have been written to: /hpc/hers_en/blin/program/raremetal/cget/cget/build/tmp-bf7e7b7a9340431a9b12cfedd42d373f/build
Scanning dependencies of target savvy
[ 11%] Building CXX object CMakeFiles/savvy.dir/src/savvy/reader.cpp.o
[ 11%] Building CXX object CMakeFiles/savvy.dir/src/savvy/region.cpp.o
[ 16%] Building CXX object CMakeFiles/savvy.dir/src/savvy/sav_reader.cpp.o
[ 38%] Building CXX object CMakeFiles/savvy.dir/src/savvy/savvy.cpp.o
[ 38%] Building CXX object CMakeFiles/savvy.dir/src/savvy/site_info.cpp.o
[ 38%] Building CXX object CMakeFiles/savvy.dir/src/savvy/vcf_reader.cpp.o
[ 44%] Building CXX object CMakeFiles/savvy.dir/src/savvy/utility.cpp.o
[ 44%] Building CXX object CMakeFiles/savvy.dir/src/savvy/varint.cpp.o
[ 50%] Linking CXX static library libsavvy.a
[ 50%] Built target savvy
Scanning dependencies of target sav
[ 55%] Building CXX object CMakeFiles/sav.dir/src/sav/export.cpp.o
[ 72%] Building CXX object CMakeFiles/sav.dir/src/sav/main.cpp.o
[ 77%] Building CXX object CMakeFiles/sav.dir/src/sav/index.cpp.o
[ 77%] Building CXX object CMakeFiles/sav.dir/src/sav/merge.cpp.o
[ 83%] Building CXX object CMakeFiles/sav.dir/src/sav/import.cpp.o
[ 83%] Building CXX object CMakeFiles/sav.dir/src/sav/stat.cpp.o
[ 88%] Building CXX object CMakeFiles/sav.dir/src/sav/sort.cpp.o
[ 94%] Building CXX object CMakeFiles/sav.dir/src/sav/utility.cpp.o
[100%] Linking CXX executable sav
/hpc/hers_en/blin/program/miniconda3/envs/raremetal/bin/../lib/gcc/x86_64-conda_cos6-linux-gnu/7.3.0/../../../../x86_64-conda_cos6-linux-gnu/bin/ld: /hpc/hers_en/blin/program/miniconda3/envs/raremetal/lib/libstdc++.so: undefined reference to aligned_alloc@GLIBC_2.16' /hpc/hers_en/blin/program/miniconda3/envs/raremetal/bin/../lib/gcc/x86_64-conda_cos6-linux-gnu/7.3.0/../../../../x86_64-conda_cos6-linux-gnu/bin/ld: /hpc/hers_en/blin/program/miniconda3/envs/raremetal/lib/libstdc++.so: undefined reference to clock_gettime@GLIBC_2.17'
collect2: error: ld returned 1 exit status
gmake[2]: *** [sav] Error 1
gmake[1]: *** [CMakeFiles/sav.dir/all] Error 2
gmake: *** [all] Error 2
Command failed: ['/hpc/hers_en/blin/program/miniconda3/envs/raremetal/bin/cmake', '--build', '/hpc/hers_en/blin/program/raremetal/cget/cget/build/tmp-bf7e7b7a9340431a9b12cfedd42d373f/build', '--config', 'Release', '--', '-j', '64']
Failed to build package statgen/savvy

@Bochao1
Copy link
Author

Bochao1 commented Sep 13, 2021

/hpc/hers_en/blin/program/miniconda3/envs/raremetal/lib/libstdc++.so: undefined reference to clock_gettime@GLIBC_2.17'

I checked glibc version is 2.17
$ ldd --version
ldd (GNU libc) 2.17
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.

@jonathonl
Copy link
Collaborator

I'm guessing the conda environment might be using an older c compiler. With the "raremetal" conda environment activated, please run:

which gcc
gcc --version
/usr/bin/gcc --version
cat /etc/os-release

@Bochao1
Copy link
Author

Bochao1 commented Sep 13, 2021

Thanks a lot!
(raremetal) bash-4.2$ which gcc
/usr/lib64/ccache/gcc
(raremetal) bash-4.2$ gcc --version
gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

(raremetal) bash-4.2$ /usr/bin/gcc --version
gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

(raremetal) bash-4.2$ cat /etc/os-release
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

@jonathonl
Copy link
Collaborator

Ok, I'm going to try to reproduce this on my end. I'll try to get back to you by tomorrow.

@Bochao1
Copy link
Author

Bochao1 commented Sep 13, 2021 via email

@welchr
Copy link
Member

welchr commented Sep 14, 2021

Seems like it's trying to link against two different versions of libc, maybe due to mixing conda channels? Not sure. Some of those things aren't necessary either I think in order to compile raremetal.

edit: try Jonathon's commands below instead
conda create -n raremetal
conda activate raremetal
conda install -c conda-forge zlib cget fortran-compiler
cget install -f requirements.txt

@jonathonl
Copy link
Collaborator

Yes, the conda toolchains don't seem to be configured properly. I have successfully built raremetal on CentOS 7 using the system compilers (including /usr/bin/gfortran). You must first purge your existing "raremetal" conda environment to get rid of conda compilers.

conda env remove -n raremetal
conda create -n raremetal cmake # CMake is the only tool you'll need from conda
conda activate raremetal
pip3 install --user cget
rm -rf cget/
cget install statgen/[email protected] # install newer version of savvy that includes fix for older versions of gcc
cget install -f requirements.txt # install remaining dependencies in requirements file (libStatGen and RMath)
rm -rf build/; mkdir build; cd build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=../cget/cget/cget.cmake .. # ensure the compilers listed in output messages are under /usr/bin/
VERBOSE=1 make

@Bochao1
Copy link
Author

Bochao1 commented Sep 16, 2021

Yes, the conda toolchains don't seem to be configured properly. I have successfully built raremetal on CentOS 7 using the system compilers (including /usr/bin/gfortran). You must first purge your existing "raremetal" conda environment to get rid of conda compilers.

conda env remove -n raremetal
conda create -n raremetal cmake # CMake is the only tool you'll need from conda
conda activate raremetal
pip3 install --user cget
rm -rf cget/
cget install statgen/[email protected] # install newer version of savvy that includes fix for older versions of gcc
cget install -f requirements.txt # install remaining dependencies in requirements file (libStatGen and RMath)
rm -rf build/; mkdir build; cd build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=../cget/cget/cget.cmake .. # ensure the compilers listed in output messages are under /usr/bin/
VERBOSE=1 make

Thanks a lot!!! After I remove most of pcakges in the existing "raremetal" conda environment, I got following error message,a nd fixed it by install cxx-complier. Then the commend "cget install -f requirements.txt" works ok with many warning messages. Now i am stucked in command "cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=/hpc/hers_en/blin/program/raremetal/cget/cget/cget.cmake -DBUILD_TESTS=1 .. " with error message below:

(raremetal) bash-4.2$ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=/hpc/hers_en/blin/program/raremetal/cget/cget/cget.cmake -DBUILD_TESTS=1 ..
-- Configuring done
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
LIB_HTS
linked by target "libraremetal" in directory /hpc/hers_en/blin/program/raremetal
LIB_SAVVY
linked by target "raremetalworker" in directory /hpc/hers_en/blin/program/raremetal
LIB_STATGEN
linked by target "libraremetal" in directory /hpc/hers_en/blin/program/raremetal

-- Generating done
CMake Generate step failed. Build files cannot be regenerated correctly.

(raremetal) bash-4.2$ cget install -f requirements.txt
Downloading https://github.com/statgen/savvy/archive/019a1ddaa9ec588f807f234f68787862f94ea057.tar.gz
[######################################################################] 100%
Extracting archive /hpc/hers_en/blin/program/raremetal/cget/cget/build/tmp-676e47fa296441eb9231495baf3a2c3c/019a1ddaa9ec588f807f234f68787862f94ea057.tar.gz ...
-- The C compiler identification is GNU 9.4.0
CMake Error at /hpc/hers_en/blin/program/miniconda3/envs/raremetal/share/cmake-3.19/Modules/CMakeDetermineCXXCompiler.cmake:48 (message):
Could not find compiler set in environment variable CXX:

/usr/local/bin/g++.

Call Stack (most recent call first):
CMakeLists.txt:2 (project)

CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
See also "/hpc/hers_en/blin/program/raremetal/cget/cget/build/tmp-676e47fa296441eb9231495baf3a2c3c/build/CMakeFiles/CMakeOutput.log".
Command failed: ['/hpc/hers_en/blin/program/miniconda3/envs/raremetal/bin/cmake', '-DCMAKE_TOOLCHAIN_FILE=/hpc/hers_en/blin/program/raremetal/cget/cget/cget.cmake', '/hpc/hers_en/blin/program/raremetal/cget/cget/build/tmp-676e47fa296441eb9231495baf3a2c3c/savvy-019a1ddaa9ec588f807f234f68787862f94ea057', '-DCGET_CMAKE_DIR=/hpc/hers_en/blin/program/miniconda3/envs/raremetal/lib/python2.7/site-packages/cget/cmake', '-DCGET_CMAKE_ORIGINAL_SOURCE_FILE=/hpc/hers_en/blin/program/raremetal/cget/cget/build/tmp-676e47fa296441eb9231495baf3a2c3c/savvy-019a1ddaa9ec588f807f234f68787862f94ea057/cget_original_cmake_file.cmake', '-DBUILD_TESTING=Off', '-DCMAKE_BUILD_TYPE=Release', '-DCMAKE_INSTALL_PREFIX=/hpc/hers_en/blin/program/raremetal/cget/cget/pkg/statgen__savvy/install']
Failed to build package statgen/savvy

(raremetal) bash-4.2$$ conda install -c conda-forge cxx-compiler
(raremetal) bash-4.2$ cget install -f requirements.txt
Extracting archive /hpc/hers_en/blin/program/raremetal/cget/cget/build/tmp-981305a5fa8846ffb9999cf17b5f953e/019a1ddaa9ec588f807f234f68787862f94ea057.tar.gz ...
CMake Error at /hpc/hers_en/blin/program/miniconda3/envs/raremetal/share/cmake-3.19/Modules/CMakeDetermineCCompiler.cmake:49 (message):
Could not find compiler set in environment variable CC:

/hpc/hers_en/blin/program/miniconda3/envs/raremetal/bin/x86_64-conda_cos6-linux-gnu-cc.
Call Stack (most recent call first):
CMakeLists.txt:2 (project)

CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!

The "cget install -f requirements.txt" command works through with warning messgae, I copy paste below:

CMake Warning:
Manually-specified variables were not used by the project:

BUILD_TESTING
CGET_CMAKE_DIR
CGET_CMAKE_ORIGINAL_SOURCE_FILE

Successfully installed statgen/savvy
Downloading https://github.com/statgen/libStatGen/archive/cram-support.tar.gz
[######################################################################] 100%
Extracting archive /hpc/hers_en/blin/program/raremetal/cget/cget/build/tmp-8add768f44f84c4793d74f90c8488a8d/cram-support.tar.gz ...
-- The C compiler identification is GNU 9.4.0
-- The CXX compiler identification is GNU 9.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /hpc/hers_en/blin/program/miniconda3/envs/raremetal/bin/x86_64-conda-linux-gnu-cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /hpc/hers_en/blin/program/miniconda3/envs/raremetal/bin/x86_64-conda-linux-gnu-c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:

BUILD_TESTING
CGET_CMAKE_DIR
CGET_CMAKE_ORIGINAL_SOURCE_FILE

-- Build files have been written to: /hpc/hers_en/blin/program/raremetal/cget/cget/build/tmp-8add768f44f84c4793d74f90c8488a8d/build
Scanning dependencies of target libStatGen
[100%] Building libStatGen ...
make[3]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
In file included from Chromosome.h:4,
from Chromosome.cpp:2:
GenomeSequence.h:99:7: warning: 'GenomeSequence' declared with greater visibility than its base 'MemoryMapArray<unsigned int, unsigned int, 460927905, 20100401, PackedAccess_4Bit<char*>, PackedAssign_4Bit<char*>, Packed4BitElementCount2Bytes, genomeSequenceMmapHeader>' [-Wattributes]
99 | class GenomeSequence : public genomeSequenceArray
| ^~~~~~~~~~~~~~
In file included from GenomeSequence.cpp:25:
GenomeSequence.h:99:7: warning: 'GenomeSequence' declared with greater visibility than its base 'MemoryMapArray<unsigned int, unsigned int, 460927905, 20100401, PackedAccess_4Bit<char*>, PackedAssign_4Bit<char*>, Packed4BitElementCount2Bytes, genomeSequenceMmapHeader>' [-Wattributes]
99 | class GenomeSequence : public genomeSequenceArray
| ^~~~~~~~~~~~~~
In file included from ReferenceSequence.cpp:25:
ReferenceSequence.h:249:7: warning: 'PackedSequenceData' declared with greater visibility than its base 'PackedVector<PackedAccess_4Bit<std::vector&>, PackedAssign_4Bit<std::vector&>, Packed4BitElementCount2Bytes>' [-Wattributes]
249 | class PackedSequenceData : public PackedVector4Bit_t
| ^~~~~~~~~~~~~~~~~~
In file included from SamRecord.h:24,
from SamFile.h:24,
from SamFile.cpp:18:
../include/GenomeSequence.h:99:7: warning: 'GenomeSequence' declared with greater visibility than its base 'MemoryMapArray<unsigned int, unsigned int, 460927905, 20100401, PackedAccess_4Bit<char*>, PackedAssign_4Bit<char*>, Packed4BitElementCount2Bytes, genomeSequenceMmapHeader>' [-Wattributes]
99 | class GenomeSequence : public genomeSequenceArray
| ^~~~~~~~~~~~~~
In file included from SamRecord.h:24,
from GenericSamInterface.h:24,
from GenericSamInterface.cpp:19:
../include/GenomeSequence.h:99:7: warning: 'GenomeSequence' declared with greater visibility than its base 'MemoryMapArray<unsigned int, unsigned int, 460927905, 20100401, PackedAccess_4Bit<char*>, PackedAssign_4Bit<char*>, Packed4BitElementCount2Bytes, genomeSequenceMmapHeader>' [-Wattributes]
99 | class GenomeSequence : public genomeSequenceArray
| ^~~~~~~~~~~~~~

In file included from SamRecord.h:24,
from SamRecord.cpp:21:
../include/GenomeSequence.h:99:7: warning: 'GenomeSequence' declared with greater visibility than its base 'MemoryMapArray<unsigned int, unsigned int, 460927905, 20100401, PackedAccess_4Bit<char*>, PackedAssign_4Bit<char*>, Packed4BitElementCount2Bytes, genomeSequenceMmapHeader>' [-Wattributes]
99 | class GenomeSequence : public genomeSequenceArray
| ^~~~~~~~~~~~~~
In file included from SamRecord.h:24,
from SamFile.h:24,
from SamValidation.h:21,
from SamValidation.cpp:20:
../include/GenomeSequence.h:99:7: warning: 'GenomeSequence' declared with greater visibility than its base 'MemoryMapArray<unsigned int, unsigned int, 460927905, 20100401, PackedAccess_4Bit<char*>, PackedAssign_4Bit<char*>, Packed4BitElementCount2Bytes, genomeSequenceMmapHeader>' [-Wattributes]
99 | class GenomeSequence : public genomeSequenceArray
| ^~~~~~~~~~~~~~
In file included from SamRecord.h:24,
from SamStatistics.h:22,
from SamStatistics.cpp:18:
../include/GenomeSequence.h:99:7: warning: 'GenomeSequence' declared with greater visibility than its base 'MemoryMapArray<unsigned int, unsigned int, 460927905, 20100401, PackedAccess_4Bit<char*>, PackedAssign_4Bit<char*>, Packed4BitElementCount2Bytes, genomeSequenceMmapHeader>' [-Wattributes]
99 | class GenomeSequence : public genomeSequenceArray
| ^~~~~~~~~~~~~~
In file included from SamRecord.h:24,
from SamQuerySeqWithRefHelper.h:23,
from SamQuerySeqWithRefHelper.cpp:20:
../include/GenomeSequence.h:99:7: warning: 'GenomeSequence' declared with greater visibility than its base 'MemoryMapArray<unsigned int, unsigned int, 460927905, 20100401, PackedAccess_4Bit<char*>, PackedAssign_4Bit<char*>, Packed4BitElementCount2Bytes, genomeSequenceMmapHeader>' [-Wattributes]
99 | class GenomeSequence : public genomeSequenceArray
| ^~~~~~~~~~~~~~
In file included from SamRecord.h:24,
from SamFilter.h:21,
from SamFilter.cpp:21:
../include/GenomeSequence.h:99:7: warning: 'GenomeSequence' declared with greater visibility than its base 'MemoryMapArray<unsigned int, unsigned int, 460927905, 20100401, PackedAccess_4Bit<char*>, PackedAssign_4Bit<char*>, Packed4BitElementCount2Bytes, genomeSequenceMmapHeader>' [-Wattributes]
99 | class GenomeSequence : public genomeSequenceArray
| ^~~~~~~~~~~~~~
In file included from SamRecord.h:24,
from PileupElement.h:21,
from PileupElement.cpp:18:
../include/GenomeSequence.h:99:7: warning: 'GenomeSequence' declared with greater visibility than its base 'MemoryMapArray<unsigned int, unsigned int, 460927905, 20100401, PackedAccess_4Bit<char*>, PackedAssign_4Bit<char*>, Packed4BitElementCount2Bytes, genomeSequenceMmapHeader>' [-Wattributes]
99 | class GenomeSequence : public genomeSequenceArray
| ^~~~~~~~~~~~~~
In file included from SamRecord.h:24,
from PileupElement.h:21,
from PileupElementBaseQual.h:22,
from PileupElementBaseQual.cpp:20:
../include/GenomeSequence.h:99:7: warning: 'GenomeSequence' declared with greater visibility than its base 'MemoryMapArray<unsigned int, unsigned int, 460927905, 20100401, PackedAccess_4Bit<char*>, PackedAssign_4Bit<char*>, Packed4BitElementCount2Bytes, genomeSequenceMmapHeader>' [-Wattributes]
99 | class GenomeSequence : public genomeSequenceArray
| ^~~~~~~~~~~~~~
In file included from SamRecord.h:24,
from SamTags.h:23,
from SamTags.cpp:18:
../include/GenomeSequence.h:99:7: warning: 'GenomeSequence' declared with greater visibility than its base 'MemoryMapArray<unsigned int, unsigned int, 460927905, 20100401, PackedAccess_4Bit<char*>, PackedAssign_4Bit<char*>, Packed4BitElementCount2Bytes, genomeSequenceMmapHeader>' [-Wattributes]
99 | class GenomeSequence : public genomeSequenceArray
| ^~~~~~~~~~~~~~
In file included from SamRecord.h:24,
from CigarHelper.h:21,
from CigarHelper.cpp:20:
../include/GenomeSequence.h:99:7: warning: 'GenomeSequence' declared with greater visibility than its base 'MemoryMapArray<unsigned int, unsigned int, 460927905, 20100401, PackedAccess_4Bit<char*>, PackedAssign_4Bit<char*>, Packed4BitElementCount2Bytes, genomeSequenceMmapHeader>' [-Wattributes]
99 | class GenomeSequence : public genomeSequenceArray
| ^~~~~~~~~~~~~~
In file included from SamRecord.h:24,
from SamRecordPool.h:22,
from SamRecordPool.cpp:19:
../include/GenomeSequence.h:99:7: warning: 'GenomeSequence' declared with greater visibility than its base 'MemoryMapArray<unsigned int, unsigned int, 460927905, 20100401, PackedAccess_4Bit<char*>, PackedAssign_4Bit<char*>, Packed4BitElementCount2Bytes, genomeSequenceMmapHeader>' [-Wattributes]
99 | class GenomeSequence : public genomeSequenceArray
| ^~~~~~~~~~~~~~
In file included from SamRecord.h:24,
from SamFile.h:24,
from SamCoordOutput.h:21,
from SamCoordOutput.cpp:18:
../include/GenomeSequence.h:99:7: warning: 'GenomeSequence' declared with greater visibility than its base 'MemoryMapArray<unsigned int, unsigned int, 460927905, 20100401, PackedAccess_4Bit<char*>, PackedAssign_4Bit<char*>, Packed4BitElementCount2Bytes, genomeSequenceMmapHeader>' [-Wattributes]
99 | class GenomeSequence : public genomeSequenceArray
| ^~~~~~~~~~~~~~
In file included from SamRecord.h:24,
from SamRecordHelper.h:21,
from SamRecordHelper.cpp:18:
../include/GenomeSequence.h:99:7: warning: 'GenomeSequence' declared with greater visibility than its base 'MemoryMapArray<unsigned int, unsigned int, 460927905, 20100401, PackedAccess_4Bit<char*>, PackedAssign_4Bit<char*>, Packed4BitElementCount2Bytes, genomeSequenceMmapHeader>' [-Wattributes]
99 | class GenomeSequence : public genomeSequenceArray
| ^~~~~~~~~~~~~~
[100%] Built target libStatGen
[100%] Building libStatGen ...
make[3]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
[100%] Built target libStatGen
Install the project...
-- Install configuration: "Release"
Successfully installed statgen/libStatGen
Downloading https://github.com/atks/Rmath/archive/1a438f2f363e1f8fcf6b2804bd2cd0136d300230.tar.gz
Extracting archive /hpc/hers_en/blin/program/raremetal/cget/cget/build/tmp-0967359a7e0848988d2c9c35b1fc8f16/1a438f2f363e1f8fcf6b2804bd2cd0136d300230.tar.gz ...
-- The C compiler identification is GNU 9.4.0
-- The CXX compiler identification is GNU 9.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /hpc/hers_en/blin/program/miniconda3/envs/raremetal/bin/x86_64-conda-linux-gnu-cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /hpc/hers_en/blin/program/miniconda3/envs/raremetal/bin/x86_64-conda-linux-gnu-c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:

BUILD_TESTING
CGET_CMAKE_DIR
CGET_CMAKE_ORIGINAL_SOURCE_FILE

-- Build files have been written to: /hpc/hers_en/blin/program/raremetal/cget/cget/build/tmp-0967359a7e0848988d2c9c35b1fc8f16/build
Scanning dependencies of target libRmath
[100%] Building libRmath ...
make[3]: warning: jobserver unavailable: using -j1. Add +' to parent make rule. cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C lbeta.c: In function 'lbeta': lbeta.c:72:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 72 | else | ^~~~ lbeta.c:76:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 76 | return log(gammafn(p) * (gammafn(q) / gammafn(p + q))); | ^~~~~~ cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=c++17' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-fvisibility-inlines-hidden' is valid for C++/ObjC++ but not for C [100%] Built target libRmath [100%] Building libRmath ... make[3]: warning: jobserver unavailable: using -j1. Add +' to parent make rule.
[100%] Built target libRmath
Install the project...
-- Install configuration: "Release"
-- Installing: /hpc/hers_en/blin/program/raremetal/cget/cget/pkg/atks__Rmath/install/include/Rmath
-- Installing: /hpc/hers_en/blin/program/raremetal/cget/cget/pkg/atks__Rmath/install/include/Rmath/R_ext
-- Installing: /hpc/hers_en/blin/program/raremetal/cget/cget/pkg/atks__Rmath/install/include/Rmath/R_ext/Random.h
-- Installing: /hpc/hers_en/blin/program/raremetal/cget/cget/pkg/atks__Rmath/install/include/Rmath/R_ext/Error.h
-- Installing: /hpc/hers_en/blin/program/raremetal/cget/cget/pkg/atks__Rmath/install/include/Rmath/R_ext/Print.h
-- Installing: /hpc/hers_en/blin/program/raremetal/cget/cget/pkg/atks__Rmath/install/include/Rmath/R_ext/RS.h
-- Installing: /hpc/hers_en/blin/program/raremetal/cget/cget/pkg/atks__Rmath/install/include/Rmath/R_ext/libextern.h
-- Installing: /hpc/hers_en/blin/program/raremetal/cget/cget/pkg/atks__Rmath/install/include/Rmath/R_ext/Boolean.h
-- Installing: /hpc/hers_en/blin/program/raremetal/cget/cget/pkg/atks__Rmath/install/include/Rmath/R_ext/Arith.h
-- Installing: /hpc/hers_en/blin/program/raremetal/cget/cget/pkg/atks__Rmath/install/include/Rmath/Rconfig.h
-- Installing: /hpc/hers_en/blin/program/raremetal/cget/cget/pkg/atks__Rmath/install/include/Rmath/Rmath.h
-- Installing: /hpc/hers_en/blin/program/raremetal/cget/cget/pkg/atks__Rmath/install/include/Rmath/config.h
-- Installing: /hpc/hers_en/blin/program/raremetal/cget/cget/pkg/atks__Rmath/install/include/Rmath/Rmath.h0
-- Installing: /hpc/hers_en/blin/program/raremetal/cget/cget/pkg/atks__Rmath/install/lib/libRmath.a
Successfully installed atks/Rmath

@jonathonl
Copy link
Collaborator

I'm having trouble following what you did and in what order you did it.

Did you start off by running conda env remove -n raremetal (note: you should also run conda deactivate before removing it)? This is important because we need to remove the conda provided compilers from the environment and clear any environment variables (e.g., CC and CXX) that might be confusing CMake so that CMake will use the system compilers under /usr/bin/.

Alternatively, you could install a newer version of CMake from source and avoid conda entirely.

If you see the line The C compiler identification is GNU 9.4.0 then you are using the wrong compiler. The version you should expect for this operating system is 4.8.5.

@Bochao1
Copy link
Author

Bochao1 commented Sep 17, 2021

pip3 install --user cget

Thanks I followed the commends you provide one-by-one, and i could not install cget using pip3 .

(raremetal) bash-4.2$ conda deactivate
(base) bash-4.2$ conda env remove -n raremetal

Remove all packages in environment /hpc/hers_en/blin/program/miniconda3/envs/raremetal:

(base) bash-4.2$ conda create -n raremetal cmake # CMake is the only tool you'll need from conda
Collecting package metadata (current_repodata.json): done
Solving environment: done

Package Plan

environment location: /hpc/hers_en/blin/program/miniconda3/envs/raremetal

added / updated specs:
- cmake

The following NEW packages will be INSTALLED:

_libgcc_mutex conda-forge/linux-64::_libgcc_mutex-0.1-conda_forge
_openmp_mutex conda-forge/linux-64::_openmp_mutex-4.5-1_gnu
bzip2 conda-forge/linux-64::bzip2-1.0.8-h7f98852_4
c-ares conda-forge/linux-64::c-ares-1.17.2-h7f98852_0
ca-certificates conda-forge/linux-64::ca-certificates-2021.5.30-ha878542_0
cmake conda-forge/linux-64::cmake-3.21.2-h8897547_0
expat conda-forge/linux-64::expat-2.4.1-h9c3ff4c_0
krb5 conda-forge/linux-64::krb5-1.19.2-hcc1bbae_0
libcurl conda-forge/linux-64::libcurl-7.79.0-h2574ce0_0
libedit conda-forge/linux-64::libedit-3.1.20191231-he28a2e2_2
libev conda-forge/linux-64::libev-4.33-h516909a_1
libgcc-ng conda-forge/linux-64::libgcc-ng-11.2.0-h1d223b6_8
libgomp conda-forge/linux-64::libgomp-11.2.0-h1d223b6_8
libnghttp2 conda-forge/linux-64::libnghttp2-1.43.0-h812cca2_0
libssh2 conda-forge/linux-64::libssh2-1.10.0-ha56f1ee_0
libstdcxx-ng conda-forge/linux-64::libstdcxx-ng-11.2.0-he4da1e4_8
libuv conda-forge/linux-64::libuv-1.42.0-h7f98852_0
lz4-c conda-forge/linux-64::lz4-c-1.9.3-h9c3ff4c_1
ncurses conda-forge/linux-64::ncurses-6.2-h58526e2_4
openssl conda-forge/linux-64::openssl-1.1.1l-h7f98852_0
rhash conda-forge/linux-64::rhash-1.4.1-h7f98852_0
tk conda-forge/linux-64::tk-8.6.11-h27826a3_1
xz conda-forge/linux-64::xz-5.2.5-h516909a_1
zlib conda-forge/linux-64::zlib-1.2.11-h516909a_1010
zstd conda-forge/linux-64::zstd-1.5.0-ha95c52a_0

Proceed ([y]/n)? y

Preparing transaction: done
Verifying transaction: done
Executing transaction: done

To activate this environment, use

$ conda activate raremetal

To deactivate an active environment, use

$ conda deactivate

(base) bash-4.2$ conda list -n raremetal

packages in environment at /hpc/hers_en/blin/program/miniconda3/envs/raremetal:

Name Version Build Channel

_libgcc_mutex 0.1 conda_forge conda-forge
_openmp_mutex 4.5 1_gnu conda-forge
bzip2 1.0.8 h7f98852_4 conda-forge
c-ares 1.17.2 h7f98852_0 conda-forge
ca-certificates 2021.5.30 ha878542_0 conda-forge
cmake 3.21.2 h8897547_0 conda-forge
expat 2.4.1 h9c3ff4c_0 conda-forge
krb5 1.19.2 hcc1bbae_0 conda-forge
libcurl 7.79.0 h2574ce0_0 conda-forge
libedit 3.1.20191231 he28a2e2_2 conda-forge
libev 4.33 h516909a_1 conda-forge
libgcc-ng 11.2.0 h1d223b6_8 conda-forge
libgomp 11.2.0 h1d223b6_8 conda-forge
libnghttp2 1.43.0 h812cca2_0 conda-forge
libssh2 1.10.0 ha56f1ee_0 conda-forge
libstdcxx-ng 11.2.0 he4da1e4_8 conda-forge
libuv 1.42.0 h7f98852_0 conda-forge
lz4-c 1.9.3 h9c3ff4c_1 conda-forge
ncurses 6.2 h58526e2_4 conda-forge
openssl 1.1.1l h7f98852_0 conda-forge
rhash 1.4.1 h7f98852_0 conda-forge
tk 8.6.11 h27826a3_1 conda-forge
xz 5.2.5 h516909a_1 conda-forge
zlib 1.2.11 h516909a_1010 conda-forge
zstd 1.5.0 ha95c52a_0 conda-forge
(base) bash-4.2$ conda activate raremetal
(raremetal) bash-4.2$ pip3 install --user cget
Requirement already satisfied: cget in /home/hers_en/blin/.local/lib/python3.6/site-packages
Requirement already satisfied: click>=6.6 in /home/hers_en/blin/.local/lib/python3.6/site-packages (from cget)
Requirement already satisfied: six>=1.10 in /usr/lib/python3.6/site-packages (from cget)
Requirement already satisfied: importlib-metadata; python_version < "3.8" in /home/hers_en/blin/.local/lib/python3.6/site-packages (from click>=6.6->cget)
Requirement already satisfied: typing-extensions>=3.6.4; python_version < "3.8" in /home/hers_en/blin/.local/lib/python3.6/site-packages (from importlib-metadata; python_version < "3.8"->click>=6.6->cget)
Requirement already satisfied: zipp>=0.5 in /home/hers_en/blin/.local/lib/python3.6/site-packages (from importlib-metadata; python_version < "3.8"->click>=6.6->cget)
(raremetal) bash-4.2$ rm -rf cget/
(raremetal) bash-4.2$ cget install statgen/[email protected] # install newer version of savvy that includes fix for older versions of gcc
bash: cget: command not found

@jonathonl
Copy link
Collaborator

Please try the attached raremetal executables. They should run on centos7 as long as the system developer tools are installed.
raremetal-executables.tar.gz

@Bochao1
Copy link
Author

Bochao1 commented Sep 20, 2021

Please try the attached raremetal executables. They should run on centos7 as long as the system developer tools are installed.
raremetal-executables.tar.gz

Thanks, the executive program works well without any issue now!

Thanks a lot again for all your effort to help me out!!!
Best,
Bochao

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants