[petsc-dev] Trying to get the CMake instructions to work, unsuccessfully

Richard Tran Mills rmills at climate.ornl.gov
Wed Feb 2 17:22:13 CST 2011

Hi Jed,

I get the following:

rmills at ubuntu:~/proj/petsc-dev/ubuntu-gnu_g$ /usr/bin/cmake 
/home/rmills/proj/petsc-dev -DCMAKE_C_FLAGS=' -Wall -Wwrite-strings 
-Wno-strict-aliasing -Wno-unknown-pragmas -g' 
-DCMAKE_Fortran_FLAGS='-Wall -Wno-unused-variable -g' 
CMake Error: The following variables are used in this project, but they are 
set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
     linked by target "petsc" in directory /home/rmills/proj/petsc-dev

-- Configuring incomplete, errors occurred!


On 2/2/2011 11:51 AM, Jed Brown wrote:
> '/usr/bin/cmake', '/home/rmills/proj/petsc-dev', '-DCMAKE_C_FLAGS= -Wall 
> -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g', 
> '-DCMAKE_C_COMPILER=/home/rmills/proj/petsc-dev/ubuntu-gnu_g/bin/mpicc', 
> '-DCMAKE_Fortran_FLAGS=  -Wall -Wno-unused-variable -g', 
> '-DCMAKE_Fortran_COMPILER=/home/rmills/proj/petsc-dev/ubuntu-gnu_g/bin/mpif90'

Richard Tran Mills, Ph.D.            |   E-mail: rmills at climate.ornl.gov
Computational Scientist              |   Phone:  (865) 241-3198
Computational Earth Sciences Group   |   Fax:    (865) 574-0405
Oak Ridge National Laboratory        |   http://climate.ornl.gov/~rmills

More information about the petsc-dev mailing list