Ah - I wasn't using SLEPC... so I'm sure that's the difference.  I didn't have 
to modify Make.common at all... just set a dummy value for PETSC_ARCH (I'm 
using an installed Petsc 3.1 here for reference).

Derek

On Apr 10, 2011, at 6:09 PM, Vijay S. Mahadevan wrote:

> Derek, I had to remove the PETSC_ARCH value for it to compile. Did you
> make any other changes in Make.common ?
> 
> Also, the compilation succeeded but the linking failed because it
> could not find the slepc library. I am looking into the problem now.
> 
> Vijay
> 
> On Sun, Apr 10, 2011 at 7:06 PM, Derek Gaston <[email protected]> wrote:
>> Weird... I just did this earlier today and didn't have any trouble... I set 
>> PETSC_ARCH to "junk"...
>> 
>> What did you modify in Make.common?
>> 
>> Derek
>> 
>> On Apr 10, 2011, at 5:37 PM, Vijay S. Mahadevan wrote:
>> 
>>> Just an update. "Make" came back to bite me because of my arbitrary
>>> PETSC_ARCH. I had to change Make.common to make this work..
>>> 
>>> Vijay
>>> 
>>> On Sun, Apr 10, 2011 at 6:29 PM, Vijay S. Mahadevan <[email protected]> 
>>> wrote:
>>>> John,
>>>> 
>>>> Interestingly that worked ! And for now, I can definitely live with that.
>>>> 
>>>> In the long run, it does feel like a hack. But it actually reminds me
>>>> that slepc configure has the same problem when using an installed
>>>> version of petsc. There, you need to specify
>>>> PETSC_ARCH="installed-petsc" for configure to go through. Just drawing
>>>> parallels..
>>>> 
>>>> Anyway thanks for the quick reply.
>>>> Vijay
>>>> 
>>>> On Sun, Apr 10, 2011 at 6:23 PM, John Peterson
>>>> <[email protected]> wrote:
>>>>> On Sun, Apr 10, 2011 at 4:14 PM, Vijay S. Mahadevan <[email protected]> 
>>>>> wrote:
>>>>>> All,
>>>>>> 
>>>>>> While trying to configure libMesh with installed version of petsc and
>>>>>> slepc, the configure fails. My configure command is
>>>>>> 
>>>>>> ./configure --enable-shared=yes --enable-everything
>>>>>> --enable-2D-only=no --with-cc=icc --with-cxx=icpc --with-fc=ifort
>>>>>> --enable-petsc  --enable-slepc --enable-pfem --enable-xdr
>>>>>> --enable-perflog --enable-gzstreams --enable-metis --enable-parmetis
>>>>>> --enable-tetgen --enable-triangle --enable-gmv -enable-netcdf=no
>>>>>> --enable-hilbert=no -enable-exodus=no --enable-laspack
>>>>>> --enable-tracefiles --enable-exceptions --enable-amr
>>>>>> 
>>>>>> The error message on stdout is
>>>>>> 
>>>>>> checking for /opt/petsc-opt/include/petsc.h... yes
>>>>>> <<< PETSc disabled.  Please set your "$PETSC_ARCH" environment
>>>>>> variable correctly. >>>
>>>>> 
>>>>> In PETSc 2.x days, we used to give up on trying to configure PETSc if
>>>>> the user's PETSC_ARCH was not set.
>>>>> 
>>>>> Since PETSC_ARCH is no longer needed in PETSc 3, this configure test
>>>>> needs to be updated.
>>>>> 
>>>>> It should work fine if you just set PETSC_ARCH to something, anything
>>>>> other than the empty string really.
>>>>> 
>>>>> If that still doesn't work let us know.
>>>>> 
>>>>> --
>>>>> John
>>>>> 
>>>> 
>>> 
>>> ------------------------------------------------------------------------------
>>> Xperia(TM) PLAY
>>> It's a major breakthrough. An authentic gaming
>>> smartphone on the nation's most reliable network.
>>> And it wants your games.
>>> http://p.sf.net/sfu/verizon-sfdev
>>> _______________________________________________
>>> Libmesh-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/libmesh-users
>> 
>> 


------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to