[petsc-users] configuration on hopper at nersc

George Pau gpau at lbl.gov
Tue Jul 2 11:54:31 CDT 2013


Satish,

Thanks, -with-cxx=0 works.

George



On Tue, Jul 2, 2013 at 9:18 AM, Satish Balay <balay at mcs.anl.gov> wrote:

> Configure Options: --configModules=PETSc.Configure
> --optionsModule=PETSc.compilerOptions --with-debugging=0
> --with-cc=/opt/cray/xt-asyncpe/5.19/bin/cc
> --with-fc=/opt/cray/xt-asyncpe/5.19/bin/ftn --with-mpiexec=aprun
> --download-metis=1 --download-parmetis=1 --with-clib-autodetect=0
> --with-cxxlib-autodetect=0 --with-fortranlib-autodetect=0
> --prefix=/global/homes/g/gpau/tough_codes/esd-tough3/build/Linux-x86_64-MPI-eco2n-Release/toughlib
>
>
> Can you use the additional option --with-cxx=0 ?
> [or perhaps --with-cxx=/opt/cray/xt-asyncpe/5.19/bin/CC]
>
> Satish
>
> On Mon, 1 Jul 2013, George Pau wrote:
>
> > As usual, I forgot the attachments.  George
> >
> >
> > On Mon, Jul 1, 2013 at 5:05 PM, George Pau <gpau at lbl.gov> wrote:
> >
> > > I was having trouble configuring petsc 3.4.1 on hopper.  The same
> > > configuration that use for 3.3.6 failed due to "Mismatched single
> quotes in
> > > C library string".  Attached (configure_without_additional_flag.log)
> is the
> > > result of the configuration script.
> > >
> > > I read in a previous thread (
> > > http://lists.mcs.anl.gov/pipermail/petsc-users/2011-July/009310.html)
> > > that I need to add  --with-clib-autodetect=0 --with-cxxlib-autodetect=0
> > > --with-fortranlib-autodetect=0 for that error.  But it failed later
> with
> > > the following error: "C++ error! mpi.h could not be located at: []".
> > >  configure_with_additional_flag.log is the result of the configuration
> > > script.
> > >
> > > I am using the gnu compiler and it is of version 4.1.40, if that is
> > > relevant.  Please let me know if you need other configuration
> information.
> > >
> > > Thanks,
> > > George
> > >
> > >
> > > --
> > > George Pau
> > > Earth Sciences Division
> > > Lawrence Berkeley National Laboratory
> > > One Cyclotron, MS 74-120
> > > Berkeley, CA 94720
> > >
> > > (510) 486-7196
> > > gpau at lbl.gov
> > > http://esd.lbl.gov/about/staff/georgepau/
> > >
> >
> >
> >
> >
>
>


-- 
George Pau
Earth Sciences Division
Lawrence Berkeley National Laboratory
One Cyclotron, MS 74-120
Berkeley, CA 94720

(510) 486-7196
gpau at lbl.gov
http://esd.lbl.gov/about/staff/georgepau/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130702/820a14e1/attachment-0001.html>


More information about the petsc-users mailing list