How to use PETSc with sunf90?

Matthew Knepley knepley at gmail.com
Fri Feb 13 06:35:06 CST 2009


1) This belongs in petsc-maint at mcs.anl.gov

2) We always always need configure.log and make*.log to diagnose problems
with build

   Matt

On Fri, Feb 13, 2009 at 1:31 AM, Svend Tollak Munkejord <
stm-direct_reply at pvv.org> wrote:

> Hi,
>
> On 2009-02-12, Satish Balay wrote:
>
> > On Thu, 12 Feb 2009, Svend Tollak Munkejord wrote:
> >
> >>
> >> > But ideally - you should be using '--with-cc=suncc --wth-cxx=sunCC'
> >> > with sunf90 [not gcc/g++].
> >>
> >> I agree, but this gives:
> >>
> >>
> *********************************************************************************
> >>          UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log
> for details):
> >>
> ---------------------------------------------------------------------------------------
> >> C++ compiler you provided with -with-cxx=sunCC does not work
> >>
> *********************************************************************************
> >>
> >> configure.log contains things like
> >>
> >> Possible ERROR while running linker: /usr/lib64/libm.so: file not
> recognized: File format not recognized
> >>
> >> and I don't know how to fix it. I could send you the configure.log if
> >> you like.
> >
> > Hmm - sometimes sun compilers require the static libm - so the
> > following additional option might
> > work. '--LIBS=/usr/lib64/libm.a'.
>
> As an option to ./config/configure.py ?
> It made no difference.
>
> > Otherwise - send us configure.log at
> > petsc-maint at mcs.anl.gov
>
> Based on your next e-mail (below), this now seems futile?
>
> > Another note: we always recommend debug build of PETSc for
> > development. One should worry about optimized/performance builds -
> > only after developmenet is done and when performance numbers are
> > captured [perhaps for publishing].
>
> OK. I tried --with-debugging=yes, and it gave the same error message.
>
>
> On 2009-02-12, Satish Balay wrote:
>
> >> > Possible ERROR while running linker: /usr/lib64/libm.so: file not
> recognized: File format not recognized
> >
> > Looks like sunCC is broken. [it can't compile a simple test
> > code].
>
> This is strange. I tried this on my 32-bit computer, and there sunCC
> didn't seem to cause any trouble.
>
> > This c++ dependency is from hypre..
>
> Yes, the BoomerAMG solver works very well for my problems.
>
> Regards,
> --
> Svend Tollak Munkejord
>



-- 
What most experimenters take for granted before they begin their experiments
is infinitely more interesting than any results to which their experiments
lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20090213/fe407702/attachment-0001.htm>


More information about the petsc-users mailing list