<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
I suddenly have problem compiling my CFD code. The error is:<br>
<br>
<i><u><b>PETSc_solvers.F90(303): error #8284: If the actual argument
is scalar, the dummy argument shall be scalar unless the
actual argument is of type character or is an element of an
array that is not assumed shape, pointer, or polymorphic.
[C]</b></u></i><i><u><b><br>
</b></u></i><i><u><b> call
MatSetValues(A_semi_xyz,1,II,7,int_semi_xyz(ijk,1:7),semi_mat_xyz(ijk,1:7),INSERT_VALUES,ierr)</b></u></i><i><u><b><br>
</b></u></i><i><u><b>---------^</b></u></i><i><u><b><br>
</b></u></i><i><u><b>PETSc_solvers.F90(525): error #8284: If the
actual argument is scalar, the dummy argument shall be scalar
unless the actual argument is of type character or is an
element of an array that is not assumed shape, pointer, or
polymorphic. [C]</b></u></i><i><u><b><br>
</b></u></i><i><u><b> call
MatSetValues(A_mat,1,II,1,JJ,big_A(ijk,kk),ADD_VALUES,ierr)</b></u></i><i><u><b><br>
</b></u></i><i><u><b>-----------------------------^</b></u></i><i><u><b><br>
</b></u></i><i><u><b>PETSc_solvers.F90(525): error #8284: If the
actual argument is scalar, the dummy argument shall be scalar
unless the actual argument is of type character or is an
element of an array that is not assumed shape, pointer, or
polymorphic. [E]</b></u></i><i><u><b><br>
</b></u></i><i><u><b> call
MatSetValues(A_mat,1,II,1,JJ,big_A(ijk,kk),ADD_VALUES,ierr)</b></u></i><i><u><b><br>
</b></u></i><i><u><b>-----------------------------^</b></u></i><i><u><b><br>
</b></u></i><i><u><b>compilation aborted for PETSc_solvers.F90
(code 1)</b></u></i><i><u><b><br>
</b></u></i><i><u><b>make: [PETSc_solvers.o] Error 1 (ignored)</b></u></i><br>
<br>
I never have this error before and it was compiling ok with gnu and
v3.6.2. Now with intel, it can't work. I wonder why...<br>
<pre class="moz-signature" cols="72">--
Thank you.
Yours sincerely,
TAY wee-beng</pre>
</body>
</html>