[petsc-users] can't find PETSc package
paul zhang
paulhuaizhang at gmail.com
Mon Dec 1 20:53:49 CST 2014
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20141201/bcab242d/attachment-0001.html>
More information about the petsc-users
mailing list