octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #63415] Error in fwrite() or rand() or randn()


From: José Luis García Pallero
Subject: [Octave-bug-tracker] [bug #63415] Error in fwrite() or rand() or randn(), I'm not sure
Date: Fri, 25 Nov 2022 08:17:41 -0500 (EST)

Follow-up Comment #3, bug #63415 (project octave):

I'm running Debian Sid and I always configure Octave in the compilation as
./configure --prefix=/opt/octave/ CFLAGS=-O3 FFLAGS=-O3 CXXFLAGS=-O3

I ran your test and it works with version 8.0.1, BUT only in CLI mode:

Variables visible from the current scope:

variables in scope: top scope

  Attr   Name        Size                     Bytes  Class
  ====   ====        ====                     =====  ===== 
         matA      100x150                      800  double
         matB      100x150                   120000  double
         matC    15000x1                     120000  double
         matD    15000x1                     120000  double
         n           1x1                          8  double

Total is 60001 elements using 360808 bytes


If I execute the script from the GUI I obtain

error: assert (stat ("m_rand.bin").size == numel (matB) * 8) failed
error: called from
    assert at line 107 column 11
    prueba_fwrite at line 15 column 1

Also, I'm having problems starting octave --gui with 8.0.1. Sometimes the
program does not launch, but no error is emitted in the command line, it only
maintains waiting. If I execute ps -U user I obtain, related with Octave,

107657 pts/10   00:00:00 octave
107658 ?        00:00:04 octave-gui


I don't know which hg id I cloned exactly (I deleted the folder after
compilation), but I did it after the call for translators message were
posted.

With Octave 7.3.0 all works fine in both CLI and GUI modes


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?63415>

_______________________________________________
Mensaje enviado vía Savannah
https://savannah.gnu.org/




reply via email to

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