[petsc-dev] RDict import fragility

Jed Brown jedbrown at mcs.anl.gov
Mon Aug 5 08:54:16 CDT 2013


When I try to configure SLEPc, I get

  ERROR: Importing cmakeboot failed:
  No module named txpetscgpu


Traceback (most recent call last):
  File "./configure", line 10, in <module>
    execfile(os.path.join(os.path.dirname(__file__), 'config', 'configure.py'))
  File "./config/configure.py", line 403, in <module>
    cmakeok = cmakeboot.main(slepcdir,petscdir,petscarch=petscconf.ARCH,log=log)
  File "/home/jed/slepc/config/cmakeboot.py", line 165, in main
    return PETScMaker(slepcdir,petscdir,petscarch,argDB,framework).cmakeboot(args,log)
  File "/home/jed/slepc/config/cmakeboot.py", line 80, in cmakeboot
    self.setup()
  File "/home/jed/slepc/config/cmakeboot.py", line 75, in setup
    self.framework = self.loadConfigure()
  File "/home/jed/petsc/config/BuildSystem/script.py", line 271, in loadConfigure
    framework = cPickle.loads(cache)

It appears that if a module is removed from PETSc, even if it's not
used, the import will fail.  That's really annoying because it forces a
reconfigure even for all the PETSC_ARCHes that never used txpetscgpu.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20130805/daf7ca8a/attachment.sig>


More information about the petsc-dev mailing list