weizhouUMICH / SAIGE

GNU Lesser General Public License v3.0
187 stars 72 forks source link

R CMD INSTALL SAIGE #442

Open yang285 opened 8 months ago

yang285 commented 8 months ago

Extracting archive /root/SAIGE/thirdParty/cget/cget/build/tmp-67d3f5b3200142408b51fae5f684f960/b6177d0b743c0f1f6765db535dd8b6ce30c00061.tar.gz ...

Process XSDK defaults ... USE_XSDK_DEFAULTS = 'FALSE' -- SuperLU will be built as a static library. -- The C compiler identification is GNU 10.2.1 -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- The Fortran compiler identification is GNU 10.2.1 -- Check for working Fortran compiler: /usr/bin/gfortran -- Check for working Fortran compiler: /usr/bin/gfortran -- broken CMake Error at /usr/local/share/cmake-3.14/Modules/CMakeTestFortranCompiler.cmake:45 (message): The Fortran compiler

"/usr/bin/gfortran"

is not able to compile a simple test program.

It fails with the following output:

Change Dir: /root/SAIGE/thirdParty/cget/cget/build/tmp-67d3f5b3200142408b51fae5f684f960/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/gmake cmTC_4fce2/fast 
make -f CMakeFiles/cmTC_4fce2.dir/build.make CMakeFiles/cmTC_4fce2.dir/build
make[1]: Entering directory '/root/SAIGE/thirdParty/cget/cget/build/tmp-67d3f5b3200142408b51fae5f684f960/build/CMakeFiles/CMakeTmp'
Building Fortran object CMakeFiles/cmTC_4fce2.dir/testFortranCompiler.f.o
/usr/bin/gfortran    -c /root/SAIGE/thirdParty/cget/cget/build/tmp-67d3f5b3200142408b51fae5f684f960/build/CMakeFiles/CMakeTmp/testFortranCompiler.f -o CMakeFiles/cmTC_4fce2.dir/testFortranCompiler.f.o
Linking Fortran executable cmTC_4fce2
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4fce2.dir/link.txt --verbose=1
/usr/bin/gfortran  -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld    CMakeFiles/cmTC_4fce2.dir/testFortranCompiler.f.o  -o cmTC_4fce2 
/usr/bin/ld: CMakeFiles/cmTC_4fce2.dir/testFortranCompiler.f.o: relocation R_X86_64_32S against `.rodata' can not be used when making a PIE object; recompile with -fPIE
collect2: error: ld returned 1 exit status
make[1]: *** [CMakeFiles/cmTC_4fce2.dir/build.make:87: cmTC_4fce2] Error 1
make[1]: Leaving directory '/root/SAIGE/thirdParty/cget/cget/build/tmp-67d3f5b3200142408b51fae5f684f960/build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:121: cmTC_4fce2/fast] Error 2

CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:62 (enable_language)

-- Configuring incomplete, errors occurred! See also "/root/SAIGE/thirdParty/cget/cget/build/tmp-67d3f5b3200142408b51fae5f684f960/build/CMakeFiles/CMakeOutput.log". See also "/root/SAIGE/thirdParty/cget/cget/build/tmp-67d3f5b3200142408b51fae5f684f960/build/CMakeFiles/CMakeError.log". Command failed: ['/usr/local/bin/cmake', '-DCMAKE_TOOLCHAIN_FILE=/root/SAIGE/thirdParty/cget/cget/cget.cmake', '/root/SAIGE/thirdParty/cget/cget/build/tmp-67d3f5b3200142408b51fae5f684f960/superlu-b6177d0b743c0f1f6765db535dd8b6ce30c00061', '-DCGET_CMAKE_DIR=/usr/local/lib/python3.6/site-packages/cget/cmake', '-DCGET_CMAKE_ORIGINAL_SOURCE_FILE=/root/SAIGE/thirdParty/cget/cget/build/tmp-67d3f5b3200142408b51fae5f684f960/superlu-b6177d0b743c0f1f6765db535dd8b6ce30c00061/cget_original_cmake_file__.cmake', '-DCMAKE_C_FLAGS=-fPIC', '-DCMAKE_CXX_FLAGS=-fPIC', '-DBUILD_TESTING=Off', '-DCMAKE_BUILD_TYPE=Release', '-DCMAKE_INSTALL_PREFIX=/root/SAIGE/thirdParty/cget/cget/pkg/xiaoyelisuperlu/install'] Failed to build package xiaoyeli/superlu ERROR: configuration failed for package ‘SAIGE’