[petsc-users] PETSc with Qt

Matthew Knepley knepley at gmail.com
Tue May 31 16:06:32 CDT 2011


On Tue, May 31, 2011 at 4:04 PM, Mohammad Mirzadeh <mirzadeh at gmail.com>wrote:

> Thanks Matt. I actually did that with -lpetsc but it complains that cannot
> find some functions related to mpi ... I'm thinking(actually right now) this
> could be since I have to configure Qt to run mpirun, correct?
>

No, you need the whole PETSc link line (as we say in the manual or
installation instructions). You can get it using

  make getlinklibs

     Matt


> On Mon, May 30, 2011 at 4:29 PM, Matthew Knepley <knepley at gmail.com>wrote:
>
>> On Sun, May 29, 2011 at 2:36 AM, Mohammad Mirzadeh <mirzadeh at gmail.com>wrote:
>>
>>> HI guys,
>>>
>>> Quick question: Is there a way to compile/link PETSc library to a project
>>> being done in Qt?
>>>
>>
>> Yes, just link in the libraries. For the current PETSc release, its just
>> libpetsc.
>>
>>    Matt
>>
>>
>>> Thanks,
>>> Mohammad
>>>
>>
>>
>>
>> --
>> What most experimenters take for granted before they begin their
>> experiments is infinitely more interesting than any results to which their
>> experiments lead.
>> -- Norbert Wiener
>>
>
>


-- 
What most experimenters take for granted before they begin their experiments
is infinitely more interesting than any results to which their experiments
lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110531/9f32628a/attachment.htm>


More information about the petsc-users mailing list