dorsal team mailing list archive
-
dorsal team
-
Mailing list archive
-
Message #00321
Re: PETSc found, but not found
-
To:
Anders Logg <logg@xxxxxxxxx>
-
From:
Marie Rognes <meg@xxxxxxxxx>
-
Date:
Tue, 31 Aug 2010 23:14:32 +0200
-
Cc:
dorsal@xxxxxxxxxxxxxxxxxxx
-
In-reply-to:
<20100831205649.GU32356@olorin>
-
User-agent:
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100516 Thunderbird/3.0.4
On 31. aug. 2010 22:56, Anders Logg wrote:
> On Tue, Aug 31, 2010 at 04:28:32PM +0200, Marie Rognes wrote:
>
>> On 31. aug. 2010 16:22, Johannes Ring wrote:
>>
>>> On Tue, Aug 31, 2010 at 4:13 PM, Marie Rognes <meg@xxxxxxxxx> wrote:
>>>
>>>
>>>> I having some issues with PETSc (surprise) as of today.
>>>>
>>>> Dorsal tells me that (full log attached):
>>>>
>>>> [\snip]
>>>>
>>>> -- The following optional packages were found:
>>>> -- (OK) MPI
>>>> -- (OK) PETSC
>>>> -- (OK) SLEPC
>>>> -- (OK) UMFPACK
>>>>
>>>> [\snap]
>>>>
>>>> But:
>>>>
>>>>
>>>>
>>>>>>> from dolfin import *
>>>>>>> has_la_backend("PETSc")
>>>>>>>
>>>>>>>
>>>> False
>>>>
>>>>
>>>>>>> A = PETScMatrix()
>>>>>>>
>>>>>>>
>>>> Traceback (most recent call last):
>>>> File "<stdin>", line 1, in <module>
>>>> NameError: name 'PETScMatrix' is not defined
>>>>
>>>>
>>>>>>>
>>>> Help?
>>>>
>>>>
>>> There is no -DHAS_PETSC in your log. Try to clean up/remove the
>>> dorsal_build_dir inside the DOLFIN source directory.
>>>
>>
>> Removed. Check.
>>
>>
>>
>>> Then rerun Dorsal
>>> and see if the PETSc test passes.
>>>
>>>
>> -- The following optional packages were found:
>> -- (OK) MPI
>> -- (OK) PETSC
>> -- (OK) SLEPC
>> -- (OK) UMFPACK
>> -- (OK) PARMETIS
>> -- (OK) GMP
>> -- (OK) CGAL
>> -- (OK) ZLIB
>> -- (OK) PYTHON
>> -- The following optional packages could not be found:
>> -- (**) TRILINOS
>> -- (**) MTL4
>> -- (**) CHOLMOD
>> -- (**) SCOTCH
>> -- Configuring done
>> -- Generating done
>> -- Build files have been written to: /home/meg/local/dorsal_downloads/dolfin
>> make: *** No rule to make target `install'. Stop.
>> Failure with exit status: 2
>> Exit message: There was a problem building dolfin.
>>
> I had the same problem (I think). It turned out to be a problem with my
> PETSC_ARCH variable which was set to linux-gnu-c-opt instead of
> linux-gnu-cxx-opt.
>
>
Doesn't solve the problem for me :(
- My PETSC_ARCH is set to linux-gnu-cxx-opt (cf gentoo.platform)
- cmake reports: -- PETSC_ARCH is linux-gnu-cxx-opt
- Still get same problem.
> I think this changed in Dorsal at some point recently.
>
>
Everything updated as of 20 seconds ago ...
--
Marie
Follow ups
References