[petsc-dev] PETSC_COMM_SELF == 0

Matthew Knepley knepley at gmail.com
Tue Mar 31 10:19:17 CDT 2015


On Tue, Mar 31, 2015 at 10:13 AM, Mark Adams <mfadams at lbl.gov> wrote:

> No, I don't have a C main program (like the doc says).
>

I can see COMM_WORLD set in the Fortran initialize wrapper, but where is
COMM_SELF set?

   MAtt


> On Tue, Mar 31, 2015 at 11:05 AM, Matthew Knepley <knepley at gmail.com>
> wrote:
>
>> On Tue, Mar 31, 2015 at 5:44 AM, Mark Adams <mfadams at lbl.gov> wrote:
>>
>>> I'm finding that my fortran code on OSX has PETSC_COMM_SELF == 0.
>>>
>>> I can not find where PETSC_COMM_SELF is created.
>>>
>>
>> Its set in PetscInitializeFortran(). Did you call that?
>>
>>   Matt
>>
>>
>>>
>>> Mark
>>>
>>
>>
>>
>> --
>> 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-dev/attachments/20150331/87b61a99/attachment.html>


More information about the petsc-dev mailing list