[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Unexpected errors while compiling BLAS libray code

From: Michael Riedl
Subject: Unexpected errors while compiling BLAS libray code
Date: Tue, 7 Jan 2020 13:10:47 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

Hallo Gaius,

attached two files which are subsets of two much bigger modules.

The routines all fail with

mriedl@laptop:~/.../Numerik/quellen.iso/GM2err$make blas1
gm2 -c -fiso -flibs=iso -I /usr/local/gm2/lib/gcc/i686-pc-linux-gnu/8.2.0/m2/iso -I /usr/local/gm2/lib/gcc/i686-pc-linux-gnu/8.2.0/m2/pim -I /home/mriedl/Modula-2/InOut/quellen.git -L /usr/local/gm2/libs -O0 -g blas1.mod ../../gcc-8.2.0+gm2-git-latest/gm2/gcc-versionno/gcc/gm2/gm2-compiler/M2Base.def:1:procedure function is about to finish and no return statement has been executed
make: *** [blas1.o] Error 1n

I could identify that

         PROCEDURE cabs1(Z : COMPLEX16) : REAL8; (* Here the error occurs *)

                RETURN ABS(RE(Z)) + ABS(IM(Z));
          END cabs1;

causes an error in all routines containng that (to be inlined) function. For the remaining procedures I cannot point closer to the code fragment at the moment.

Any idea ?

Thanks in advance


PS: I will try to prepare the other failed modules in a similar way in the next days - will then sent them step by step as I find time.

Attachment: blas1.mod
Description: audio/mod

Attachment: blas2.mod
Description: audio/mod

reply via email to

[Prev in Thread] Current Thread [Next in Thread]