TAY wee-beng
2015-10-18 16:28:16 UTC
Hi,
I suddenly have problem compiling my CFD code. The error is:
/_*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]*_//_*
*_//_* call
MatSetValues(A_semi_xyz,1,II,7,int_semi_xyz(ijk,1:7),semi_mat_xyz(ijk,1:7),INSERT_VALUES,ierr)*_//_*
*_//_*---------^*_//_*
*_//_*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]*_//_*
*_//_* call
MatSetValues(A_mat,1,II,1,JJ,big_A(ijk,kk),ADD_VALUES,ierr)*_//_*
*_//_*-----------------------------^*_//_*
*_//_*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]*_//_*
*_//_* call
MatSetValues(A_mat,1,II,1,JJ,big_A(ijk,kk),ADD_VALUES,ierr)*_//_*
*_//_*-----------------------------^*_//_*
*_//_*compilation aborted for PETSc_solvers.F90 (code 1)*_//_*
*_//_*make: [PETSc_solvers.o] Error 1 (ignored)*_/
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...
I suddenly have problem compiling my CFD code. The error is:
/_*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]*_//_*
*_//_* call
MatSetValues(A_semi_xyz,1,II,7,int_semi_xyz(ijk,1:7),semi_mat_xyz(ijk,1:7),INSERT_VALUES,ierr)*_//_*
*_//_*---------^*_//_*
*_//_*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]*_//_*
*_//_* call
MatSetValues(A_mat,1,II,1,JJ,big_A(ijk,kk),ADD_VALUES,ierr)*_//_*
*_//_*-----------------------------^*_//_*
*_//_*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]*_//_*
*_//_* call
MatSetValues(A_mat,1,II,1,JJ,big_A(ijk,kk),ADD_VALUES,ierr)*_//_*
*_//_*-----------------------------^*_//_*
*_//_*compilation aborted for PETSc_solvers.F90 (code 1)*_//_*
*_//_*make: [PETSc_solvers.o] Error 1 (ignored)*_/
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...
--
Thank you.
Yours sincerely,
TAY wee-beng
Thank you.
Yours sincerely,
TAY wee-beng