[petsc-users] Problem with PETSc-3.2 configuration

Satish Balay balay at mcs.anl.gov
Wed Sep 14 12:52:38 CDT 2011


Glad its working now.

Wrt newer compilers - usually sysadmins [for clusters] install
separate copies of newer compilers [and leave the default system
compiler untouched]. They also install another copy of MPI with this
new set of compilers.

This workarround is ok for getting going with PETSc - but gfortran
[prior to 4.3] has some f90 deficiencies - so some of the petsc f90
interface doesn't work because of this. So its good to use newer set
of compilers. [However if using PETSc only from c/c++ - you can ignore
this issue]

Satish

On Wed, 14 Sep 2011, Rongliang Chen wrote:

> Hi Satish and Barry,
> 
> Thanks for your reply.
> 
> It works by using optimized build.
> 
> This is a supercomputer and I do not have the permission to update the
> compliers.
> 
> Best,
> Rongliang
> 
> 
> > Message: 2
> > Date: Tue, 13 Sep 2011 18:13:31 -0500 (CDT)
> > From: Satish Balay <balay at mcs.anl.gov>
> > Subject: Re: [petsc-users] Problem with PETSc-3.2 configuration
> > To: PETSc users list <petsc-users at mcs.anl.gov>
> > Message-ID: <alpine.LFD.2.02.1109131806240.2462 at asterix>
> > Content-Type: TEXT/PLAIN; charset=US-ASCII
> >
> > Ok - this is on a RHEL5  box. And I'm able to reproduce the internal
> > compiler error.
> >
> > > mumps_static_mapping.F:333: internal compiler error: in
> > modified_type_die, at dwarf2out.c:8495
> >
> > The error is in debug symbol handler in the compiler. Looks like you
> > can workarround this by using optized build. i.e
> >
> > --with-debugging=0
> >
> > or debug build with:
> >
> > [default --with-debugging=1 ] FOPTFLAGS='-g -O'
> >
> > Satish
> >
> >
> > ------------------------------
> >
> > Message: 3
> > Date: Tue, 13 Sep 2011 19:48:46 -0500
> > From: Barry Smith <bsmith at mcs.anl.gov>
> > Subject: Re: [petsc-users] Problem with PETSc-3.2 configuration
> > To: PETSc users list <petsc-users at mcs.anl.gov>
> > Message-ID: <B1D68042-D7ED-43D7-88C8-BF42A927360A at mcs.anl.gov>
> > Content-Type: text/plain; charset=us-ascii
> >
> >
> >  Also that gfortran compiler is terribly old, you really should install the
> > 4.6 version of the Gnu compiler suite instead of living with that old stuff.
> >
> >   Barry
> >
> > On Sep 13, 2011, at 6:13 PM, Satish Balay wrote:
> >
> > > Ok - this is on a RHEL5  box. And I'm able to reproduce the internal
> > compiler error.
> > >
> > >> mumps_static_mapping.F:333: internal compiler error: in
> > modified_type_die, at dwarf2out.c:8495
> > >
> > > The error is in debug symbol handler in the compiler. Looks like you
> > > can workarround this by using optized build. i.e
> > >
> > > --with-debugging=0
> > >
> > > or debug build with:
> > >
> > > [default --with-debugging=1 ] FOPTFLAGS='-g -O'
> > >
> > > Satish
> > >
> >
> 



More information about the petsc-users mailing list