[petsc-users] Threaded Petsc
Barry Smith
bsmith at mcs.anl.gov
Mon Oct 15 23:59:43 CDT 2012
Ok, thanks. Shri will update them with the latest info tomorrow. Sorry for the confusion. (they are easier :-)).
Barry
On Oct 15, 2012, at 11:57 PM, Subramanya G <subramanya.g at gmail.com> wrote:
> Hi Barry,
> These are the instructions that I found.
> Thanks.
>
> http://www.mcs.anl.gov/petsc/petsc-dev/docs/installation.html#threads
>
> Subramanya G Sadasiva,
>
> Graduate Research Assistant,
> Hierarchical Design and Characterization Laboratory,
> School of Mechanical Engineering,
> Purdue University.
>
> "The art of structure is where to put the holes"
> Robert Le Ricolais, 1894-1977
>
>
> On Mon, Oct 15, 2012 at 9:49 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:
>>
>> On Oct 15, 2012, at 11:35 PM, Subramanya G <subramanya.g at gmail.com> wrote:
>>
>>> Hi,
>>> When I try to run the example suggested with -dm_vector_type pthread
>>> , I get a unknown vector type error.
>>
>> That documentation is out of date. Please let us know where you saw this "suggestion" so we can remove it.
>>
>> Barry
>>
>>
>>>
>>> Unknown vector type: pthread!
>>>
>>>
>>>
>>> Here are my configure lines
>>> Configure options --download-mpich --download-f-blas-lapack
>>> --download-scientificpython --download-fiat --download-generator
>>> --download-chaco --download-triangle --with-shared-libraries
>>> --download-metis --download-parmetis --download-umfpack
>>> --download-hypre --sharedLibraryFlags=-fPIC -shared
>>> --with-pthreadclasses
>>>
>>>
>>>
>>> I am using the latest Petsc Dev version.
>>> Does anybody have any idea what might be wrong? It built without any
>>> issues. Do I need to do anything else when I configure.
>>>
>>> Subramanya G Sadasiva,
>>>
>>> Graduate Research Assistant,
>>> Hierarchical Design and Characterization Laboratory,
>>> School of Mechanical Engineering,
>>> Purdue University.
>>>
>>> "The art of structure is where to put the holes"
>>> Robert Le Ricolais, 1894-1977
>>>
>>>
>>> On Mon, Oct 15, 2012 at 5:44 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:
>>>>
>>>> On Oct 15, 2012, at 7:38 PM, Subramanya G <subramanya.g at gmail.com> wrote:
>>>>
>>>>> Hi ,
>>>>> I need iterative solvers for some of my code and I was planning to use
>>>>> petsc for it. Owing to the fact that some other parts of my code
>>>>> aren't parallelizable, I can't use petsc in parallel. However, I see
>>>>> that petsc can do threads now.. I have a small question about this .
>>>>> Does this allow me to assemble a matrix in the main thread. and then
>>>>> when solve is called will petsc take care of using multiple threads?
>>>>
>>>> Yes
>>>>
>>>>> Will this give me any speed ups?
>>>>
>>>> Yes
>>>>
>>>> You need to use petsc-dev for this functionality and let us know if you have difficulties.
>>>>
>>>> Barry
>>>>
>>>>> Thanks/
>>>>> Subramanya G Sadasiva,
>>>>>
>>>>> Graduate Research Assistant,
>>>>> Hierarchical Design and Characterization Laboratory,
>>>>> School of Mechanical Engineering,
>>>>> Purdue University.
>>>>>
>>>>> "The art of structure is where to put the holes"
>>>>> Robert Le Ricolais, 1894-1977
>>>>
>>
More information about the petsc-users
mailing list