[petsc-dev] [petsc-maint #87339] Re: ex19 on GPU
Matthew Knepley
knepley at gmail.com
Sun Sep 18 10:50:11 CDT 2011
On Sun, Sep 18, 2011 at 10:29 AM, Shiyuan <gshy2014 at gmail.com> wrote:
>
>
> On Sat, Sep 17, 2011 at 10:48 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:
>
>>
>> Run the first one with -da_vec_type seqcusp and -da_mat_type seqaijcusp
>>
>> > VecScatterBegin 2097 1.0 1.0270e+00 1.0 0.00e+00 0.0 0.0e+00 0.0e+00
>> 0.0e+00 5 0 0 0 0 7 0 0 0 0 0
>> > VecCUSPCopyTo 2140 1.0 2.4991e-01 1.0 0.00e+00 0.0 0.0e+00 0.0e+00
>> 0.0e+00 1 0 0 0 0 2 0 0 0 0 0
>> > VecCUSPCopyFrom 2135 1.0 1.0437e+00 1.0 0.00e+00 0.0 0.0e+00 0.0e+00
>> 0.0e+00 5 0 0 0 0 7 0 0 0 0 0
>>
>> Why is it doing all these vector copy ups and downs? It is run on one
>> process it shouldn't be doing more than a handful total.
>>
>> Barry
>>
>> ./ex19 -da_vec_type seqcusp -da_mat_type seqaijcusp -pc_type none
> -dmmg_nlevels 1 -da_grid_x 100 -da_grid_y 100 -log_summary -mat_no_inode
> -preload off -cusp_synchronize -cuda_set_device 0 | tee ex19p2.txt
>
Barry, it looks like all those are coming from FD Jacobians. Did someone
make this the default?
Matt
> Summary of Stages: ----- Time ------ ----- Flops ----- --- Messages
> --- -- Message Lengths -- -- Reductions --
> Avg %Total Avg %Total counts
> %Total Avg %Total counts %Total
> 0: Main Stage: 4.2393e+00 24.4% 0.0000e+00 0.0% 0.000e+00
> 0.0% 0.000e+00 0.0% 0.000e+00 0.0%
> 1: SetUp: 4.9079e-02 0.3% 0.0000e+00 0.0% 0.000e+00
> 0.0% 0.000e+00 0.0% 0.000e+00 0.0%
> 2: Solve: 1.3071e+01 75.3% 8.8712e+09 100.0% 0.000e+00
> 0.0% 0.000e+00 0.0% 0.000e+00 0.0%
>
>
> ------------------------------------------------------------------------------------------------------------------------
>
> VecScatterBegin 5 1.0 1.5609e-03 1.0 0.00e+00 0.0 0.0e+00 0.0e+00
> 0.0e+00 0 0 0 0 0 0 0 0 0 0 0
> VecReduceArith 2 1.0 3.8650e-03 1.0 1.60e+05 1.0 0.0e+00 0.0e+00
> 0.0e+00 0 0 0 0 0 0 0 0 0 0 41
>
> VecReduceComm 1 1.0 0.0000e+00 0.0 0.00e+00 0.0 0.0e+00 0.0e+00
> 0.0e+00 0 0 0 0 0 0 0 0 0 0 0
> VecCUSPCopyTo 49 1.0 3.0950e-02 1.0 0.00e+00 0.0 0.0e+00 0.0e+00
> 0.0e+00 0 0 0 0 0 0 0 0 0 0 0
> VecCUSPCopyFrom 44 1.0 2.0876e-02 1.0 0.00e+00 0.0 0.0e+00 0.0e+00
> 0.0e+00 0 0 0 0 0 0 0 0 0 0 0
>
> The complete log is attached. Thanks.
>
--
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20110918/b93773c7/attachment.html>
More information about the petsc-dev
mailing list