[petsc-dev] configure error

Mark F. Adams mark.adams at columbia.edu
Thu Aug 25 16:14:22 CDT 2011


I'm getting this error in a Cray:

madams/petsc-dev-new> ./cray-xe6-dbg.py
===============================================================================
             Configuring PETSc to compile on your system                       
===============================================================================
*******************************************************************************
        CONFIGURATION CRASH  (Please send configure.log to petsc-maint at mcs.anl.gov)
*******************************************************************************

'Configure' object has no attribute 'f2cblaslapack'
  File "/global/u2/m/madams/petsc-dev-new/config/configure.py", line 269, in petsc_configure
    framework = config.framework.Framework(['--configModules=PETSc.Configure','--optionsModule=PETSc.compilerOptions']+sys.argv[1:], loadArgDB = 0)
  File "/global/u2/m/madams/petsc-dev-new/config/BuildSystem/config/framework.py", line 110, in __init__
    self.createChildren()
  File "/global/u2/m/madams/petsc-dev-new/config/BuildSystem/config/framework.py", line 316, in createChildren
    self.getChild(moduleName)
  File "/global/u2/m/madams/petsc-dev-new/config/BuildSystem/config/framework.py", line 301, in getChild
    config.setupDependencies(self)
  File "/global/u2/m/madams/petsc-dev-new/config/PETSc/Configure.py", line 76, in setupDependencies
    framework.require('PETSc.utilities.scalarTypes', self.f2cblaslapack)
madams/petsc-dev-new> cat configure.log
                            Pushing language C
                            Popping language C
                            Pushing language CUDA
                            Popping language CUDA
                            Pushing language Cxx
                            Popping language Cxx
                            Pushing language FC
                            Popping language FC
madams/petsc-dev-new> 

This is my script:

#!/usr/bin/python
if __name__ == '__main__':
  import sys
  import os
  sys.path.insert(0, os.path.abspath('config'))
  import configure
  configure_options = [
    '--COPTFLAGS=-mp -g',
    '--CXXOPTFLAGS=-mp -g',
    '--FOPTFLAGS=-mp -g',
    '--download-blacs',
    '--download-triangle',
    '--download-parmetis',
    '--download-f-blas-lapack=1',
    '--download-hypre=1',
    '--with-cc=cc -g',
    '--with-clib-autodetect=0',
    '--with-cxx=CC -g',
    '--with-cxxlib-autodetect=0',
    '--with-debugging=1',
    '--with-fc=ftn',
    '--with-fortranlib-autodetect=0',
    '--with-mpiexec=/usr/common/acts/PETSc/3.1/bin/mpiexec.aprun',
    '--with-shared-libraries=0',
    '--with-x=0',
    'PETSC_ARCH=cray-xe6-dbg',
   ]
  configure.petsc_configure(configure_options)

Any ideas?

Mark






More information about the petsc-dev mailing list