Hi All, I am attempting to configure my CMakeLists.txt file to compile a simple program using PETSc. I installed PETSc on a cluster, and cmake cannot find it. Can you shed some light on how I can do?
CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
PROJECT(helloworld)
SET(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake-modules")
FIND_PACKAGE(PETSc REQUIRED)
INCLUDE_DIRECTORIES(${PETSC_INCLUDES})
ADD_DEFINITIONS(${PETSC_DEFINITIONS})
Thanks,
Paul
