[petsc-dev] [GPU] Crash on ex19 with mpirun -np 2 (optimized build)

Projet_TRIOU triou at cea.fr
Tue Jan 14 08:42:24 CST 2014


Hi all,

I try running in parallel the ex19 test case on CPU and GPU:

OPT="_opt"
dir=/ccc/cont002/home/den/triou/Version_test_airain-hybrid/Trio_U/lib/src/LIBPETSC/petsc/linux$OPT/src/snes/examples/tutorials
option="-pc_type none -ksp_type fgmres -snes_monitor_short -snes_rtol 
1.e-5 -log_summary -ksp_view -cuda_show_devices"
mpirun -np 2 $dir/ex19 $option 1>cpu$OPT.log 2>&1
mpirun -np 2 $dir/ex19 -dm_vec_type cusp -dm_mat_type aijcusp $option 
1>gpu$OPT.log 2>&1

With OPT="", PETSc optimized library is used, parallel calculation runs 
well on CPU and GPU.
With OPT="_opt", PETSc non optimized library is used, parallel 
calculation crashes on GPU (it is OK on CPU).

I join the log files. The only difference seems that PETSc-dev is built 
with -O3 intead of -g...
I could try to rebuild PETSc with -O2 but do you have any idea of the 
problem ?

Thanks,

Pierre



-------------- next part --------------
A non-text attachment was scrubbed...
Name: cpu.log
Type: text/x-log
Size: 15683 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20140114/25b176c2/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cpu_opt.log
Type: text/x-log
Size: 14744 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20140114/25b176c2/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gpu.log
Type: text/x-log
Size: 15467 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20140114/25b176c2/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gpu_opt.log
Type: text/x-log
Size: 7867 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20140114/25b176c2/attachment-0003.bin>


More information about the petsc-dev mailing list