[petsc-users] python3 update

Gideon Simpson gideon.simpson at gmail.com
Fri Feb 24 11:46:30 CST 2017


It appears the following modification to petsc_conf.py is sufficient to get PetscBinaryIO.py working:

change:
if os.environ.has_key('PETSC_DIR’):
to
if 'PETSC_DIR' in os.environ:
and
if os.environ.has_key('PETSC_ARCH’):
to
if 'PETSC_ARCH' in os.environ:

-gideon



More information about the petsc-users mailing list