Open rtoy opened 4 months ago
Imported from SourceForge on 2024-07-08 01:46:32 Created by l_butler on 2019-07-16 03:09:10 Original: https://sourceforge.net/p/maxima/bugs/3565/#ee45
The problem is created by the line
$quit();
near the bottom of the input file a4.txt
. If that line is entered interactively, a syntax error is signaled, but if batched Maxima hangs (it appears to be trying to read a subsequent character).
If you remove that line, the code will be batched correctly. Note there is an irrevelant error on the first line, which refers to %
.
I will leave this open, because there is a bug here in batch
.
Imported from SourceForge on 2024-07-08 01:46:35 Created by l_butler on 2019-07-16 03:10:57 Original: https://sourceforge.net/p/maxima/bugs/3565/#72d4
Imported from SourceForge on 2024-07-08 01:46:39 Created by l_butler on 2019-07-16 03:31:16 Original: https://sourceforge.net/p/maxima/bugs/3565/#9fad
Imported from SourceForge on 2024-07-08 01:46:42 Created by l_butler on 2019-07-16 03:31:16 Original: https://sourceforge.net/p/maxima/bugs/3565/#be2d
Let me correct myself. Maxima does not hang, and batch
does correctly handle a syntax error like that above. Rather, it is doing a very lengthy calculation in the preceding line. The problem is that you are giving eigenvectors
a 4x4 matrix (of floats) to find the exact eigenvalues/vectors for.
You should look at dgeev
in the lapack
package.
Marking this as a wont-fix and closing.
Imported from SourceForge on 2024-07-08 01:46:46 Created by apayne90 on 2019-07-16 07:37:54 Original: https://sourceforge.net/p/maxima/bugs/3565/#ee45/cc61
Hi Leo Thanks for your help. Rgds Allan Payne
Sent from my iPad
On 16 Jul 2019, at 04:09, Leo Butler l_butler@users.sourceforge.net wrote:
The problem is created by the line
$quit(); near the bottom of the input file a4.txt. If that line is entered interactively, a syntax error is signaled, but if batched Maxima hangs (it appears to be trying to read a subsequent character). If you remove that line, the code will be batched correctly. Note there is an irrevelant error on the first line, which refers to %.
I will leave this open, because there is a bug here in batch.
[bugs:#3565] Trouble with Batch quit();
Status: open Group: None Labels: Quit battch Created: Sun Jun 23, 2019 12:25 PM UTC by Allan James Payne Last Updated: Sun Jun 23, 2019 12:25 PM UTC Owner: nobody Attachments:
a1.txt (16.6 kB; text/plain) a4.txt (847 Bytes; text/plain) wxMaxima version: 19.05.7 using wxWidgets version: wxWidgets 3.1.0 Maxima version: 5.43.0 Maxima build date: 2019-06-01 18:55:31 Host type: x86_64-w64-mingw32 System type: Win32 10.0.17763 X86-64 Lisp implementation type: SBCL Lisp implementation version: 1.4.14 wxMaxima's idea of the directory layout is: User configuration dir: C:/Users/apayne/maxima/ Help dir: C:\maxima-5.43.0\wxMaxima/help Using cd C:\Users\apayne\Desktop type C:\Users\apayne\Desktop\a4.txt |C:\maxima-5.43.0\bin\maxima.bat >C:\Users\apayne\Desktop\a1.txt echo aaa
The echo is not executed
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/maxima/bugs/3565/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
Attachments:
Imported from SourceForge on 2024-07-08 01:46:30 Created by apayne90 on 2019-06-23 12:25:30 Original: https://sourceforge.net/p/maxima/bugs/3565
wxMaxima version: 19.05.7 using wxWidgets version: wxWidgets 3.1.0 Maxima version: 5.43.0 Maxima build date: 2019-06-01 18:55:31 Host type: x86_64-w64-mingw32 System type: Win32 10.0.17763 X86-64 Lisp implementation type: SBCL Lisp implementation version: 1.4.14 wxMaxima's idea of the directory layout is: User configuration dir: C:/Users/apayne/maxima/ Help dir: C:\maxima-5.43.0\wxMaxima/help Using
cd C:\Users\apayne\Desktop type C:\Users\apayne\Desktop\a4.txt |C:\maxima-5.43.0\bin\maxima.bat >C:\Users\apayne\Desktop\a1.txt echo aaa
The echo is not executed
Attachments: