<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div><br></div> You must declare as<div><br></div><div><b><i> PetscInt ksta_p,kend_p</i></b></div><div><br></div><div> Perhaps they are declared as arrays?</div><div><br></div><div><div><br><blockquote type="cite"><div>On Aug 21, 2024, at 11:19 AM, TAY Wee Beng <zonexo@gmail.com> wrote:</div><br class="Apple-interchange-newline"><div>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div><p>Hi,</p><p>I am using the latest PETSc thru github. I compiled both the
debug and rel ver of PETSc w/o problem.</p><p>I then use it with my CFD code and the debug ver works.</p><p>However, I have problems with the rel ver:</p><p><b><i>ftn -o global.o -c -O3 -g -ip -ipo -fPIC -save -w
-I/home/project/11003851/lib/petsc_210824_intel_rel/include
global.F90<br>
ifort: remark #10448: Intel(R) Fortran Compiler Classic
(ifort) is now deprecated and will be discontinued late 2024.
Intel recommends that customers transition now to using the
LLVM-based Intel(R) Fortran Compiler (ifx) for continued
Windows* and Linux* support, new language support, new
language features, and optimizations. Use
'-diag-disable=10448' to disable this message.<br>
global.F90(444): error #6285: There is no matching specific
subroutine for this generic subroutine call.
[MATGETOWNERSHIPRANGE]<br>
call MatGetOwnershipRange(A_mat,ksta_p,kend_p,ierr)<br>
-------------^<br>
global.F90(720): error #6285: There is no matching specific
subroutine for this generic subroutine call.
[MATGETOWNERSHIPRANGE]<br>
call MatGetOwnershipRange(A_mat_uv,ksta_m,kend_m,ierr)<br>
-----^<br>
global.F90(774): error #6285: There is no matching specific
subroutine for this generic subroutine call.
[MATGETOWNERSHIPRANGE]<br>
call MatGetOwnershipRange(A_semi_x,ksta_mx,kend_mx,ierr)<br>
-----^<br>
global.F90(776): error #6285: There is no matching specific
subroutine for this generic subroutine call.
[MATGETOWNERSHIPRANGE]<br>
call MatGetOwnershipRange(A_semi_y,ksta_my,kend_my,ierr)<br>
-----^<br>
global.F90(949): error #6285: There is no matching specific
subroutine for this generic subroutine call.
[MATGETOWNERSHIPRANGE]<br>
call MatGetOwnershipRange(A_semi_x,ksta_mx,kend_mx,ierr)<br>
-----^<br>
global.F90(957): error #6285: There is no matching specific
subroutine for this generic subroutine call.
[MATGETOWNERSHIPRANGE]<br>
call MatGetOwnershipRange(A_semi_y,ksta_my,kend_my,ierr)<br>
-----^<br>
compilation aborted for global.F90 (code 1)</i></b><br>
</p><p>May I know what's the problem?<br>
</p>
<div class="moz-signature">-- <br><div><br class="webkit-block-placeholder"></div>
Thank you very much.<br>
<br>
Yours sincerely,<br>
<br>
================================================<br>
TAY Wee-Beng 郑伟明 (Zheng Weiming)<br>
================================================<br><p><br>
</p>
</div>
</div>
</div></blockquote></div><br></div></body></html>