GEOS-DEV / GEOS-DEV/thirdPartyLibs
Cannot build `thirdPartyLibs`?
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 4
- Forks
- 18
- Avg merge
- 9d 14h
- Merged PRs (30d)
- 4
Description
I cannot build this project as given in https://geosx-geosx.readthedocs-hosted.com/en/latest/docs/sphinx/QuickStart.html
I am getting an error:
CMake Error at host-config:32 (include):
include could not find requested file:
/home/loki/Desktop/GEOS/thirdPartyLibs/tpls.cmake
-- BLT Version: 0.6.2
CMake Error at cmake/blt/SetupBLT.cmake:26 (message):
In-source builds are not supported. Please remove the CMakeFiles directory
and CMakeCache.txt from the 'src' dir and configure an out-of-source build
in another directory.
Call Stack (most recent call first):
CMakeLists.txt:38 (include)
My host-config file is as follows:
set( CONFIG_NAME "quick-start" )
# Set compilers path
set(CMAKE_C_COMPILER "/usr/bin/gcc" CACHE PATH "") # This is typically something like /usr/bin/gcc ... or clang
set(CMAKE_CXX_COMPILER "/usr/bin/g++" CACHE PATH "") # This is typically something like /usr/bin/g++ ... or clang++
set(ENABLE_FORTRAN OFF CACHE BOOL "" FORCE)
# Set paths to mpi
set(ENABLE_MPI ON CACHE PATH "")
set(MPI_C_COMPILER "/opt/intel/oneapi/mpi/latest/bin/mpicc" CACHE PATH "") # This is typically something like /usr/bin/mpicc
set(MPI_CXX_COMPILER "/opt/intel/oneapi/mpi/latest/bin/mpicxx" CACHE PATH "") # This is typically something like /usr/bin/mpicxx
set(MPIEXEC "/opt/intel/oneapi/mpi/latest/bin/mpirun" CACHE PATH "") # This is typically something like /usr/bin/mpirun
# Set paths to blas and lapack
set( BLAS_LIBRARIES "/usr/lib/x86_64-linux-gnu/blas/libblas.so" CACHE PATH "" FORCE ) # This is typically something like /usr/lib64/libblas.so
set( LAPACK_LIBRARIES "/usr/lib/x86_64-linux-gnu/lapack/liblapack.so" CACHE PATH "" FORCE ) # This is typically something like /usr/lib64/liblapack.so
# Cuda and openMP
set( ENABLE_CUDA ON CACHE PATH "" FORCE )
set( ENABLE_OPENMP OFF CACHE PATH "" FORCE )
# TPLs
set( ENABLE_TRILINOS ON CACHE PATH "" FORCE )
set( ENABLE_CALIPER OFF CACHE PATH "" FORCE )
set( ENABLE_DOXYGEN OFF CACHE BOOL "" FORCE)
set( ENABLE_MATHPRESSO OFF CACHE BOOL "" FORCE )
if(NOT ( EXISTS "${GEOS_TPL_DIR}" AND IS_DIRECTORY "${GEOS_TPL_DIR}" ) )
set(GEOS_TPL_DIR "${CMAKE_SOURCE_DIR}/../../thirdPartyLibs/install-${CONFIG_NAME}-release" CACHE PATH "" FORCE )
endif()
include(${CMAKE_CURRENT_LIST_DIR}/tpls.cmake)
I am on Pop-OS 22.04. I can add more details, if needed.
Thank you for your help.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the QuickStart instructions and the supplied host-config, then inspect the referenced tpls.cmake path and cmake/blt/SetupBLT.cmake. Reproduce the configuration on Pop-OS 22.04 and determine whether the documented paths and build location are valid. Done means the QuickStart build proceeds without the missing-file and in-source-build errors, with the required fix or documentation change identified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, linux
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100