[petsc-dev] petsc-dev installation error on Edison

Satish Balay balay at mcs.anl.gov
Fri Aug 1 16:22:49 CDT 2014


>>>>>>
'NoneType' object has no attribute 'group'  File "/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/configure.py", line 272, in petsc_configure
    framework.configure(out = sys.stdout)
  File "/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/framework.py", line 935, in configure
    child.configure()
  File "/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/package.py", line 602, in configure
    self.executeTest(self.configureLibrary)
  File "/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/base.py", line 126, in executeTest
    ret = test(*args,**kargs)
  File "/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/packages/MPI.py", line 780, in configureLibrary
    self.executeTest(self.checkMPICHorOpenMPI)
  File "/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/base.py", line 126, in executeTest
    ret = test(*args,**kargs)
  File "/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/packages/MPI.py", line 731, in checkMPICHorOpenMPI
    mpich_numversion = re.compile('\nint mpich_ver = *([0-9]*) *;').search(buf).group(1)
<<<<<

The stack is different. Looking further up..

>>>>>>>
Executing: cpp  -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers  /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.c


stderr:
/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.c:3:17: fatal error: mpi.h: No such file or directory
 #include <mpi.h>
                 ^
compilation terminated.
Source:
#include "confdefs.h"
#include "conffix.h"
#include <mpi.h>
int mpich_ver = MPICH_NUMVERSION;
<<<<<<<

I guess we need to move this mpich_version check - after mpi.h test..

Presumably '--with-cpp=cpp' is triggering this. [cc automatically
knows how to find (module) includes - but perhaps not cpp]

Satish

On Fri, 1 Aug 2014, Matthew Knepley wrote:

> On Fri, Aug 1, 2014 at 4:06 PM, Gautam Bisht <gbisht at lbl.gov> wrote:
> 
> > Hi,
> >
> > I'm getting an error while trying to install petsc-dev on Edison with GUN
> > compilers. Attached below is configure.log and additional command line
> > outputs.
> >
> 
> Satish fixed this. Did you pull?
> 
>   Thanks,
> 
>     Matt
> 
> 
> >
> > > module list -t
> > Currently Loaded Modulefiles:
> > modules/3.2.6.7
> > nsg/1.2.0
> > eswrap/1.1.0-1.020200.1130.0
> > switch/1.0-1.0502.51632.2.84.ari
> > craype-network-aries
> > craype/2.1.2
> > craype-ivybridge
> > cray-shmem/7.0.0
> > cray-mpich/7.0.0
> > torque/4.2.7
> > moab/7.2.7-e7c070d1-b3-SUSE11
> > altd/1.0
> > darshan/2.3.0
> > usg-default-modules/1.1
> > gcc/4.9.0
> > cray-libsci/13.0.0
> > udreg/2.3.2-1.0502.8763.1.11.ari
> > ugni/5.0-1.0502.9037.7.26.ari
> > pmi/5.0.4-1.0000.10161.132.4.ari
> > dmapp/7.0.1-1.0502.9080.9.32.ari
> > gni-headers/3.0-1.0502.9038.7.4.ari
> > xpmem/0.1-2.0502.51169.1.11.ari
> > job/1.5.5-0.1_2.0502.52111.3.39.ari
> > csa/3.0.0-1_2.0502.51200.1.108.ari
> > alps/5.2.1-2.0502.8712.10.32.ari
> > rca/1.0.0-2.0502.51491.3.92.ari
> > atp/1.7.3
> > PrgEnv-gnu/5.2.25
> > cmake/2.8.11.2
> > cray-hdf5-parallel/1.8.13
> > mercurial/2.7.1
> >
> > >git clone https://bitbucket.org/petsc/petsc petsc.0c8c14c5
> > cd petsc.0c8c14c5
> > git checkout 0c8c14c5
> >
> >
> > >cat config/configure-edison-gnu-4.9.0-debug.py
> > #!/usr/bin/env python
> > if __name__ == '__main__':
> >   import sys
> >   import os
> >   sys.path.insert(0, os.path.abspath('config'))
> >   import configure
> >   configure_options = [
> >      '--with-cc=cc',
> >      '--with-cxx=CC',
> >      '--with-fc=ftn',
> >      '--with-ld=cc',
> >      '--with-cpp=cpp',
> >      '--with-shared-libraries=0',
> >      '--with-gnu-compilers=0',
> >      '--with-debugging=0',
> >      '--with-clanguage=c',
> >      '--with-x=0',
> >      '--with-clib-autodetect=0',
> >      '--with-fortranlib-autodetect=0',
> >      '--with-cxxlib-autodetect=0',
> >      '--COPTFLAGS="-O3 -msse3 -fPIC"',
> >      '--FOPTFLAGS="-O3 -msse3 -fPIC"',
> >      '--download-parmetis=1',
> >      '--download-metis=1',
> >      '--with-hdf5=1',
> >      '--with-hdf5-dir=/opt/cray/hdf5-parallel/1.8.13/GNU/49',
> >      '--with-mpi-dir=/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49',
> >      '--with-c2html=0',
> >      '--PETSC_ARCH=edison-gnu-4.9.0-debug',
> >   ]
> >   configure.petsc_configure(configure_options)
> >
> >  Any ideas what is wrong?
> >
> > Thanks
> > -Gautam.
> >
> >
> 
> 
> 




More information about the petsc-dev mailing list