This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Strange error


Hi Giacomo,

> maglincont.exe: ../../../libgfortran/generated/matmul_r8.c:96:
> matmul_r8: Assertion `((a)->dtype & 0x07) == 2 || ((b)->dtype & 0x07) ==
> 2' failed

this line checks, if at least one of the arguments to MATMUL is a
matrix i.e. in Fortran terms, if it has rank 2. It seems one of your
MATMUL calls is incorrect - please check them.

It is possible that gfortran is lacking a compile- or runtime-check,
but there is a more-than-slim chance that this was fixed in one of the
later releases; I suggest you upgrade either to 4.3.3 or even better
to 4.4.1 and see if they like your code.

Cheers,
Dennis


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]