Hello for compiled problem

Barry Smith bsmith at mcs.anl.gov
Tue Mar 10 15:19:31 CDT 2009


    Satish,

     Why does config/configure.py NOT automatically turn on LANG  
english when it starts up?
Then we would not have to parse warning/error messages in all languages?

    Barry

On Mar 10, 2009, at 2:45 PM, Satish Balay wrote:

> On Tue, 10 Mar 2009, Wei-Dong Lian wrote:
>
>> Hello,
>>
>> I did not configure the flag -PIC, can you tell me how to change  
>> the -PIC to
>> -fPIC.
>
> Its a problem with configure - and you default language of choice. Try
> changing your lang to english - when building PETSc.
>
> Perhaps the following might work.
>
> export LANG en_US.UTF-8
> ./config/configure.py ...
> make
>
>> By the way, why there are two types lib *.so and *.lib in the  
>> library path.
>
> Perhaps you mean .a - not .lib
>
> If you use --with-shared=1 or --with-dynamic=1 - you get .so files  
> aswell.
>
>> But when I change option to FC=g77, it only left *.lib in the  
>> library path.
>
> Due to the -PIC issue - perhaps .so files didn't get created..
>
> Satish
>



More information about the petsc-users mailing list