<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
I recently got a copy of E.Bueler's petsc book and was converting
the<br>
programs to fortran for my students and have run into a compile
error that<br>
I can not figure out. I comment out the MatSetValues line the code
compiles fine.<br>
<br>
When I run make on vecmatkspf.F90, I get the error:<br>
<blockquote><font face="monospace"> 42 |
PetscCallA(MatSetValues(A,1,i,4,j,aA,INSERT_VALUES,ierr))<br>
|
1<br>
Error: There is no specific subroutine for the generic
'matsetvalues' at (1)</font><br>
</blockquote>
My petsc set works, runs with my FEA code and compiles and runs the
fortran<br>
programs in the petsc tutorials directories just fine. And in
particular, compiles<br>
and runs the C versions from Bueler.<br>
<br>
I've attached the make file and the source. I must be doing
something obviously wrong but I can not spot it.<br>
<br>
-sanjay<br>
<pre class="moz-signature" cols="72">--
</pre>
</body>
</html>