[CIG-LONG] Gale 2.0.1 install problem with PETSc

Eunseo Choi echoi2 at memphis.edu
Wed Jan 30 08:43:36 PST 2013


I had the same blas/lapack error when I first tried to install 2.0.1 w/
petsc 3.2p7 on OS X 10.8.2 (darwin 12.2).

In my case, the problem was solved when I added
'--linkflags=-L/path/to/blas -lblas -L/path/to/lapack -llapack' to the
configure options.
Details will depend on one's system but the key seemed to be being explicit
with the paths to these libraries.

Feng's build log indicates that the error occurred at the very last stage,
linking the executable, 'Gale'.
So, a quick and easy test would be to re-run the failed command with those
options added. A full re-configure/re-building can be done after verifying
this is a solution.

I didn't follow the discussion that closely so this might have been
suggested already but just in case.

Cheers,
Eunseo



On Tue, Jan 29, 2013 at 10:02 PM, feng lin <rimbong at gmail.com> wrote:

> Sorry for didn't reply instantly. I saw the message just now.
>
> File attached are config.cfg, config.log and (out.log) the compiler output
> including the error corresponding to Gale2.0.1/petsc3.2
>
>
> -Feng Ln
>
>
> On Tue, Jan 29, 2013 at 4:51 PM, Walter Landry <wlandry at caltech.edu>wrote:
>
>> Walter Landry <wlandry at caltech.edu> wrote:
>> > Feng Lin <rimbong at gmail.com> wrote:
>> >> Hi Walter,
>> >>
>> >> I still couldn't install Gale2.0.1.
>> >> I think I am facing at the same problem with Frank.
>> >>
>> >> I installed the Gale2.0.0 without any problem last fall. So I did some
>> test here:
>> >>
>> >> I compared the config.cfg files between Gale2.0.0(configured with
>> petsc 3.0) and Gale2.0.1(configured with petsc 3.2)
>> >> I noticed that the config.cfg in Gale2.0.1 contains much less LIB and
>> LIBPATH...etc than in Gale2.0.0
>> >>
>> >> Then I tried to configure Gale2.0.1 with petsc 3.0. I went through the
>> configure part and I got a config.cfg similar with Gale2.0.0(configured
>> with petsc 3.0).
>> >> However I couldn't finish the installation with ./scons.
>> >>
>> >> file attached is cfg files for Gale2.0.1/petsc3.0(config10.cfg)
>>  Gale2.0.0/petsc3.0(config00.cfg) Gale2.0.1/petsc3.2(config12.cfg)
>> >
>> > Send the config.log corresponding to Gale2.0.1/petsc3.2
>> > (config12.cfg).  The other configurations are unlikely to work.
>>
>> Also, send the compiler error you get.
>>
>> Cheers,
>> Walter Landry
>> _______________________________________________
>> CIG-LONG mailing list
>> CIG-LONG at geodynamics.org
>> http://geodynamics.org/cgi-bin/mailman/listinfo/cig-long
>>
>
>
> _______________________________________________
> CIG-LONG mailing list
> CIG-LONG at geodynamics.org
> http://geodynamics.org/cgi-bin/mailman/listinfo/cig-long
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://geodynamics.org/pipermail/cig-long/attachments/20130130/e713b316/attachment.htm 


More information about the CIG-LONG mailing list