Open
Description
-- Begin AmgXWrapper configuration
-- Checking for one of the modules 'petsc'
CMake Error at /home/urban/DL-workspace/cmake-3.25.0/share/cmake-3.25/Modules/FindPkgConfig.cmake:894 (message):
None of the required 'petsc' found
Call Stack (most recent call first):
CMakeLists.txt:68 (pkg_search_module)
-- Found PETSc version at
-- Found amgx_c.h at /home/urban/DL-workspace/AMGX-main/include
-- Found amgx_config.h: /home/urban/DL-workspace/AMGX-main/include/amgx_config.h
CMake Error at CMakeLists.txt:80 (find_library):
Could not find AMGX_LIBRARIES using the following names: amgxsh
-- Configuring incomplete, errors occurred!
See also "/home/urban/DL-workspace/AmgXWrapper-master/build/CMakeFiles/CMakeOutput.log".
See also "/home/urban/DL-workspace/AmgXWrapper-master/build/CMakeFiles/CMakeError.log".
hello everyone i am getting error as shown above
i have cuda 11.2 installed
cmake version 3.25.0
gcc 9.3.0
openmpi 4.1.1
run the whole amgx by writing in the script file as shown below
#! /bin/bash
##path to the cuda library
export LD_LIBRARY_PATH=/opt/ohpc/pub/cuda/cuda-11.2/lib64:$LD_LIBRARY_PATH
export PATH=/opt/ohpc/pub/cuda/cuda-11.2/bin:$PATH
module load openmpi
export LD_LIBRARY_PATH=/opt/ohpc/pub/compiler/gcc/9.3.0/lib64:$LD_LIBRARY_PATH
export PATH=/opt/ohpc/pub/compiler/gcc/9.3.0/bin:$PATH
export PREFIX_AmgXWrapper="/home/urban/DL-workspace/AmgXWrapper-master"
export PATH_TO_PETSC_DIR="/home/urban/OpenFOAM/ThirdParty-v1912/platforms/linux64GccDPInt32/petsc-3.12.5"
export BUILD_OF_PETSC="arch-linux-c-debug"
export PATH_TO_CUDA="/opt/ohpc/pub/cuda/cuda-11.2"
export PATH_TO_AMGX="/home/urban/DL-workspace/AMGX-main"
export PATH_TO_AMGX_WRAPPER_SOURCE="/home/urban/DL-workspace/AmgXWrapper-master"
cmake \
-D CMAKE_INSTALL_PREFIX=${PREFIX_AmgXWrapper} \
-D PETSC_DIR=${PATH_TO_PETSC_DIR} \
-D PETSC_ARCH=${BUILD_OF_PETSC} \
-D CUDA_DIR=${PATH_TO_CUDA} \
-D AMGX_DIR=${PATH_TO_AMGX} \
${PATH_TO_AMGX_WRAPPER_SOURCE} \
../
can someone kindly guide me through this error
it will be greatly helpful
thanks
Metadata
Assignees
Labels
No labels
Activity