[petsc-users] petscvec.mod version problem

Peter Zhoujie Lu lzj at umich.edu
Tue Aug 7 16:28:27 CDT 2012


Hi All,

I am trying to compile my code that uses petscvec, I got an error about
version of petscmod.mod. I tried to search online, but couldn't find the
answer. I was wondering if anyone can help. I am using gfortran, openmpi on
OSX 10.7. The petsc version is 3.3-p2. Thanks.

Peter

openmpif90 -I../../mod -I../../externals/SU_MPI/mod
-I../../externals/ADT/mod -I../../src/python/fortran/aeroElastic
-I../../src/inputParam -I../../src/turbulence  -I/opt/local/include
-DHAS_ISNAN  -fpic -r8 -O2 -g
 -I/Users/lvzhoujie/Work/petsc-3.3-p2/include
-I/Users/lvzhoujie/Work/petsc-3.3-p2/linux-ifort-opt/include
-I/Users/lvzhoujie/Work/petsc-3.3-p2  -c getADjoint.F90 -o
../../obj/getADjoint.o

getADjoint.F90:18.14:

  use petscvec
              1
Fatal Error: Wrong module version '9' (expected '4') for file
'petscvec.mod' opened at (1)
make[4]: *** [getADjoint.o] Error 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120807/b9bbca0e/attachment.html>


More information about the petsc-users mailing list