<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
Working off the main branch, I am trying to compile a code that uses
VecGetArrayReadF90 and VecRestoreArrayReadF90.<br>
The subroutines all compile but at link, I am encountering <br>
<blockquote>Undefined symbols for architecture x86_64:<br>
"_vecgetarrayreadf90_", referenced from:<br>
_parbmat_ in parbmat.o<br>
_psprojb_ in psprojb.o<br>
_psubsp_ in psubsp.o<br>
_usolve_ in usolve.o<br>
_paropm_ in libparpack.a(paropm.o)<br>
_pminvsqr_ in libparpack.a(pminvsqr.o)<br>
_parkv_ in libparpack.a(parkv.o)<br>
...<br>
"_vecrestorearrayreadf90_", referenced from:<br>
_parbmat_ in parbmat.o<br>
_psprojb_ in psprojb.o<br>
_psubsp_ in psubsp.o<br>
_usolve_ in usolve.o<br>
_paropm_ in libparpack.a(paropm.o)<br>
_pminvsqr_ in libparpack.a(pminvsqr.o)<br>
_parkv_ in libparpack.a(parkv.o)<br>
</blockquote>
Searching the repo I do not see these any place (the closest is
DMDAVecGetArrayReadF90 and DMDAVecRestoreArrayReadF90).<br>
I do see VecGetArrayRead and VecRestoreArrayRead, which will resolve
my linking issues, but I recall that these were supposed to be
depricated in favor of the ...ReadF90 version.<br>
<br>
-sanjay<br>
<pre class="moz-signature" cols="72">--
</pre>
</body>
</html>