[petsc-users] minor error message compiling

Nachiket Gokhale gokhalen at gmail.com
Wed Aug 8 11:34:50 CDT 2012


I just upgraded to 3.3 and while compiling I get the following error:

Traceback (most recent call last):
  File "/opt/petsc/petsc-3.3-p2/bin/petscnagupgrade.py", line 54, in <module>
    petscdir = os.environ['PETSC_DIR']
  File "/usr/local/lib/python2.7/UserDict.py", line 23, in __getitem__
    raise KeyError(key)
KeyError: 'PETSC_DIR'
make: [petscnagupgrade] Error 1 (ignored)

Seems to occur only when the env variable PETSC_DIR is not defined;
the program seems to compile properly inspite of this error.

-Nachiket


More information about the petsc-users mailing list