paul zhang <[email protected]> writes: > Like this? still in trouble though... > > CMAKE_MINIMUM_REQUIRED(VERSION 2.8) > > set(PETSC_DIR /home/hzh225/LIB_CFD/nP/petsc-3.5.2)
If you're going to manually set local paths in your build files, then CMake is definitely a waste of time. These are normally environment variables. > set(PETSC_ARCH /home/hzh225/LIB_CFD/nP/petsc-3.5.2/linux-gnu-intel) This is not how PETSC_ARCH works. It should probably be "linux-gnu-intel". Please read what PETSc's build prints or read the documentation. http://www.mcs.anl.gov/petsc/documentation/installation.html
signature.asc
Description: PGP signature
