Hi all, I am trying to change PETSC KSP tutorial ex34 to fortran code ex34f and I referred to ex22f, but it somehow seems wrong in my code. Important error information points to MatSetValuesStencil() [argument out of range]. Can anyone look over my code and give any advice? Many thanks. ---------------------------------------------------------------- SONG Pengyang (宋朋洋) MSc candidate in Physical Oceanography College of Oceanic and Atmospheric Sciences Ocean University of China No. 238 Songling Road, Qingdao 266100, Shandong, China TEL: (+86)15762264643
ex34f.F90
Description: ex34f.F90