This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Strange error
- From: Dennis Wassel <dennis dot wassel at googlemail dot com>
- To: giacomo giotti mariani <giacomomariani at yahoo dot it>
- Cc: fortran at gcc dot gnu dot org
- Date: Mon, 27 Jul 2009 12:57:41 +0200
- Subject: Re: Strange error
- References: <4A6D759A.90309@yahoo.it>
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