[Trilinos-Users] Using OpenMP support in Trilinos
Heroux, Michael A
maherou at sandia.gov
Wed Sep 19 18:48:20 MDT 2012
Eric,
Can you give some details about problem size, use of MPI (or not), type of system, etc.
Thanks.
Mike
On Sep 19, 2012, at 3:17 PM, Eric Marttila wrote:
> Hello,
>
> I'm using AztecOO and ML to solve a linear system. I've been running my
> simulation in serial mode, but now I would like to take advantage of multiple
> cores by using the OpenMP support that is available in Trilinos. I realize
> that the packages I'm using are not fully multi-threaded with openmp, but I'm
> hoping for some performance improvement since some of the packages I'm using
> have at least some level of OpenMP support.
>
> I reconfigured and built Trilinos 10.12.2 with
>
> -D Trilinos_ENABLE_OpenMP:BOOL=ON
>
> ...but when I run my simulation I see that it is slower than if I have
> Trilinos configured without the above option. I have set the environment
> variable OMP_NUM_THREADS to the desired number of threads.
>
> I was also able to reproduce this behavior with one of the trilinos example
> prgrams (attached below), so I suspect I am missing something obvious in using
> the OpenMP support.
>
> Does anybody have thoughts of what I might be missing?
>
> Thanks.
> --Eric
>
> --
> Eric A. Marttila
> ThermoAnalytics, Inc.
> 23440 Airpark Blvd.
> Calumet, MI 49913
>
> email: Eric.Marttila at ThermoAnalytics.com
> phone: 810-636-2443
> fax: 906-482-9755
> web: http://www.thermoanalytics.com
> <ml-example.cpp>_______________________________________________
> Trilinos-Users mailing list
> Trilinos-Users at software.sandia.gov
> http://software.sandia.gov/mailman/listinfo/trilinos-users
More information about the Trilinos-Users
mailing list