1) This belongs in <a href="mailto:petsc-maint@mcs.anl.gov">petsc-maint@mcs.anl.gov</a><br><br>2) We always always need configure.log and make*.log to diagnose problems with build<br><br> Matt<br><br><div class="gmail_quote">
On Fri, Feb 13, 2009 at 1:31 AM, Svend Tollak Munkejord <span dir="ltr"><<a href="mailto:stm-direct_reply@pvv.org">stm-direct_reply@pvv.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
On 2009-02-12, Satish Balay wrote:<br>
<br>
> On Thu, 12 Feb 2009, Svend Tollak Munkejord wrote:<br>
><br>
>><br>
>> > But ideally - you should be using '--with-cc=suncc --wth-cxx=sunCC'<br>
>> > with sunf90 [not gcc/g++].<br>
>><br>
>> I agree, but this gives:<br>
>><br>
>> *********************************************************************************<br>
>> UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details):<br>
>> ---------------------------------------------------------------------------------------<br>
>> C++ compiler you provided with -with-cxx=sunCC does not work<br>
>> *********************************************************************************<br>
>><br>
>> configure.log contains things like<br>
>><br>
>> Possible ERROR while running linker: /usr/lib64/libm.so: file not recognized: File format not recognized<br>
>><br>
>> and I don't know how to fix it. I could send you the configure.log if<br>
>> you like.<br>
><br>
> Hmm - sometimes sun compilers require the static libm - so the<br>
> following additional option might<br>
> work. '--LIBS=/usr/lib64/libm.a'.<br>
<br>
As an option to ./config/configure.py ?<br>
It made no difference.<br>
<br>
> Otherwise - send us configure.log at<br>
> <a href="mailto:petsc-maint@mcs.anl.gov">petsc-maint@mcs.anl.gov</a><br>
<br>
Based on your next e-mail (below), this now seems futile?<br>
<br>
> Another note: we always recommend debug build of PETSc for<br>
> development. One should worry about optimized/performance builds -<br>
> only after developmenet is done and when performance numbers are<br>
> captured [perhaps for publishing].<br>
<br>
OK. I tried --with-debugging=yes, and it gave the same error message.<br>
<br>
<br>
On 2009-02-12, Satish Balay wrote:<br>
<br>
>> > Possible ERROR while running linker: /usr/lib64/libm.so: file not recognized: File format not recognized<br>
><br>
> Looks like sunCC is broken. [it can't compile a simple test<br>
> code].<br>
<br>
This is strange. I tried this on my 32-bit computer, and there sunCC<br>
didn't seem to cause any trouble.<br>
<br>
> This c++ dependency is from hypre..<br>
<br>
Yes, the BoomerAMG solver works very well for my problems.<br>
<br>
Regards,<br>
--<br>
<font color="#888888">Svend Tollak Munkejord<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener<br>