[petsc-users] with-openmp error with hypre

Kong, Fande fande.kong at inl.gov
Tue Feb 13 13:02:50 CST 2018


Curious about the comparison of 16x4 VS 64.

Fande,

On Tue, Feb 13, 2018 at 11:44 AM, Bakytzhan Kallemov <bkallemov at lbl.gov>
wrote:

> Hi,
>
> I am not sure about 64 flat run,
>
> unfortunately I did not save logs since it's easy to run,  but for 16 -
> here is the plot I got for different number of threads for KSPSolve time
>
> Baky
>
> On 02/13/2018 10:28 AM, Matthew Knepley wrote:
>
> On Tue, Feb 13, 2018 at 11:30 AM, Smith, Barry F. <bsmith at mcs.anl.gov>
> wrote:
>>
>> > On Feb 13, 2018, at 10:12 AM, Mark Adams <mfadams at lbl.gov> wrote:
>> >
>> > FYI, we were able to get hypre with threads working on KNL on Cori by
>> going down to -O1 optimization. We are getting about 2x speedup with 4
>> threads and 16 MPI processes per socket. Not bad.
>>
>>   In other works using 16 MPI processes with 4 threads per process is
>> twice as fast as running with 64 mpi processes?  Could you send the
>> -log_view output for these two cases?
>
>
> Is that what you mean? I took it to mean
>
>   We ran 16MPI processes and got time T.
>   We ran 16MPI processes with 4 threads each and got time T/2.
>
> I would likely eat my shirt if 16x4 was 2x faster than 64.
>
>   Matt
>
>
>>
>> >
>> > There error, flatlined or slightly diverging hypre solves, occurred
>> even in flat MPI runs with openmp=1.
>>
>>   But the answers are wrong as soon as you turn on OpenMP?
>>
>>    Thanks
>>
>>     Barry
>>
>>
>> >
>> > We are going to test the Haswell nodes next.
>> >
>> > On Thu, Jan 25, 2018 at 4:16 PM, Mark Adams <mfadams at lbl.gov> wrote:
>> > Baky (cc'ed) is getting a strange error on Cori/KNL at NERSC. Using
>> maint it runs fine with -with-openmp=0, it runs fine with -with-openmp=1
>> and gamg, but with hypre and -with-openmp=1, even running with flat MPI,
>> the solver seems flatline (see attached and notice that the residual starts
>> to creep after a few time steps).
>> >
>> > Maybe you can suggest a hypre test that I can run?
>> >
>>
>>
>
>
> --
> 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
>
> https://www.cse.buffalo.edu/~knepley/
> <https://urldefense.proofpoint.com/v2/url?u=http-3A__www.caam.rice.edu_-257Emk51_&d=DwMDaQ&c=54IZrppPQZKX9mLzcGdPfFD1hxrcB__aEkJFOKJFd00&r=DUUt3SRGI0_JgtNaS3udV68GRkgV4ts7XKfj2opmiCY&m=ZS-L-0QdKGNAOTdfVWHmsv4U3pZmyEvneNWi1bnUBUc&s=Mo_G_7aeedH4UA8ZyO0DCM5xoWvnNhyUcFeSSgPnrBE&e=>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20180213/1ec9be4d/attachment.html>


More information about the petsc-users mailing list