[petsc-users] Configuring PETSc for KNL

Jed Brown jed at jedbrown.org
Tue Apr 4 23:05:18 CDT 2017


Justin Chang <jychang48 at gmail.com> writes:

> So I tried the following options:
>
> -M 40
> -N 40
> -P 5
> -da_refine 1/2/3/4
> -log_view
> -mg_coarse_pc_type gamg
> -mg_levels_0_pc_type gamg
> -mg_levels_1_sub_pc_type cholesky
> -pc_type mg
> -thi_mat_type baij
>
> Performance improved dramatically. However, Haswell still beats out KNL but
> only by a little. Now it seems like MatSOR is taking some time (though I
> can't really judge whether it's significant or not). Attached are the log
> files.

MatSOR is gonna suck on KNL without some dirty work.

> If ex48 has SSE2 intrinsics, does that mean Haswell would almost always be
> better?

The SSE2 intrinsics are only in Jacobian assemble and could be upgraded
to AVX/512.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20170404/0433081d/attachment.pgp>


More information about the petsc-users mailing list