[petsc-users] Threaded Petsc

Subramanya G subramanya.g at gmail.com
Mon Oct 15 23:35:54 CDT 2012


Hi,
When I try to run the example suggested with -dm_vector_type  pthread
, I get  a unknown vector type error.

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