I didn't see anything wrong with my PETSC_DIR and PETSC_ARCH. Please see my setup below:
setenv PETSC_DIR /pic/projects/software_new/petsc-3.6.0 setenv PETSC_ARCH linux-openmpi-gnu-cxx-complex-opt Thanks, Shuangshuang -----Original Message----- From: Jed Brown [mailto:[email protected]] Sent: Monday, January 11, 2016 11:18 AM To: Jin, Shuangshuang; [email protected] Subject: Re: [petsc-users] PETSC_i "Jin, Shuangshuang" <[email protected]> writes: > Hi, I have the following codes (The version of Petsc installed on my machine > has PetscScalar set to be complex number): Looks like you're trying to compile with a different PETSc. Check PETSC_DIR and PETSC_ARCH.
