Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Maple on Alpha/Linux
@ 1997-05-14 18:23 Allan B MacIsaac
  0 siblings, 0 replies; 3+ messages in thread
From: Allan B MacIsaac @ 1997-05-14 18:23 UTC (permalink / raw)


There was some discussion on this list previously concerning running the
Digitial Unix version of Maple under Alpha/Linux.  I was wondering if
anyone had had any success doing this?  I've been playing with this under
both kernel version 2.0.29 and 2.1.36 and get the same behaviour.  Maple
starts up fine and many commands work, but certain commands kill the maple
"compuational engine".  For example, Maple has no problem with 2*2, 2^2,
and 2.2^2, but 2^2.1 drops one back to the command line from maple, and
xmaple gives the popup window "The Maple Computational Window is no longer
executing.  No further compuations are possible in this session" 

If no one has been able to get Maple to work I was wondering if someone
knows why it "can't" work?   To help I'll include a diff between an strace
-f when I do a 2.2^2.2; and one where I do 2.2^2.  One should note that
the lines such as 

 open("/home2/allanb/maple//lib64/type/positive.m", O_RDONLY) = -1 ENOENT
(No such file or directory)

don't seem to be the problem.  The files don't exist on a DEC Unix box
which runs Maple with out a hitch and one can generate such lines when
running commands that appear to function fine.  Likewise the calls to
SYS_112 appear for both commands that work and those that don't.

It would be nice if someone could figure out the problems.  We'd love to
buy Maple for all our Alpha's, but our e-mail to Waterloo Maple Inc.
yielded a reply that they at that time had no intentions of releasing a
version of Maple for Alpha/linux.

--------------------------------------------------------------------------------
Dr. Allan B. MacIsaac                 There once was an old man from Esser,
Dept. of Applied Math                 Who's knowledge grew lesser and lesser.
University of Western Ontario         It at last grew so small,
London, Ontario, Canada               And now he's a College Professor.
--------------------------------------------------------------------------------

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Maple on Alpha/Linux
       [not found] <Pine.LNX.3.95.970514133156.9427A-100000@sparta.apmaths.uwo.ca>
@ 1997-05-14 18:32 ` Allan B MacIsaac
  0 siblings, 0 replies; 3+ messages in thread
From: Allan B MacIsaac @ 1997-05-14 18:32 UTC (permalink / raw)


Sorry I forgot the diff file.  I changed the pid in the two files so
diff  didn't spit out lines which differed only in the pid.

sparta> diff file1 file2

< [pid  0001] read(0, "2.2^2.2;\n", 8192) = 9

---
> [pid  0001] read(0, "2.2^2;\n", 8192)   = 7

290,299c290,295
< [pid  0001] SYS_112(0, 0x11ffff008, 0, 0x11fffefe0, 0x2) = -1 EPERM (Operation not permitted)
< [pid  0001] sigprocmask(SIG_BLOCK, [])  = 0 (old mask [])
< [pid  0001] SYS_112(0, 0x11ffff008, 0, 0x11fffefe0, 0x3) = -1 EPERM (Operation not permitted)
< [pid  0001] open("/home2/allanb/maple//lib64/evalf/power.m", O_RDONLY) = -1 ENOENT (No such file or directory)
< [pid  0001] lseek(3, 0, SEEK_END)       = 462848
< [pid  0001] lseek(3, 176128, SEEK_SET)  = 176128
< [pid  0001] read(3, "spline.m\0\0\16m\230\0\0\30\350\0"..., 4096) = 4096
< [pid  0001] lseek(4, 14280680, SEEK_SET) = 14280680
< [pid  0001] read(4, "\211\3655\4\0\0\0\0\4\0\0\0\5\0\0"..., 8192) = 8192
< [pid  0001] read(4, "\5\0\0\0\t\0\0\0\341\20\245\324\350"..., 8192) = 8192

---
> [pid  0001] SYS_112(0, 0x11fffef08, 0, 0x11fffeee0, 0x1400810b8) = -1 EPERM (Operation not permitted)
> [pid  0001] brk(0x1400c7ff0)            = 0x1400c7ff0
> [pid  0001] write(1, "> 2.2^2;\n                      "..., 53> 2.2^2;
>                                       4.84
> 
> ) = 53
301,336c297,325
< [pid  0001] SYS_112(0, 0x11fffef38, 0, 0x11fffef10, 0x140078820) = -1 EPERM (Operation not permitted)
< [pid  0001] sigprocmask(SIG_BLOCK, [])  = 0 (old mask [])
< [pid  0001] SYS_112(0, 0x11fffe848, 0, 0x11fffe820, 0x1) = -1 EPERM (Operation not permitted)
< [pid  0001] sigprocmask(SIG_BLOCK, [])  = 0 (old mask [])
< [pid  0001] SYS_112(0, 0x11fffe168, 0, 0x11fffe140, 0x14009e720) = -1 EPERM (Operation not permitted)
< [pid  0001] open("/home2/allanb/maple//lib64/type/positive.m", O_RDONLY) = -1 ENOENT (No such file or directory)
< [pid  0001] lseek(3, 0, SEEK_END)       = 462848
< [pid  0001] lseek(3, 225280, SEEK_SET)  = 225280
< [pid  0001] read(3, "Ei.m\0\0\10{p\0\0\fH\235 \0\0\2`"..., 4096) = 4096
< [pid  0001] lseek(4, 2478600, SEEK_SET) = 2478600
< [pid  0001] read(4, "\211\3655\4\0\0\0\0\4\0\0\0\5\0\0"..., 8192) = 8192
< [pid  0001] read(4, "\0\0\0\0\0\0\0\0\2\0\0\0\r\0\0\0"..., 8192) = 8192
< [pid  0001] sigprocmask(SIG_BLOCK, [])  = 0 (old mask [])
< [pid  0001] SYS_112(0, 0x11fffd668, 0, 0x11fffd640, 0x140078820) = -1 EPERM (Operation not permitted)
< [pid  0001] open("/home2/allanb/maple//lib64/ln.m", O_RDONLY) = -1 ENOENT (No such file or directory)
< [pid  0001] lseek(3, 0, SEEK_END)       = 462848
< [pid  0001] lseek(3, 294912, SEEK_SET)  = 294912
< [pid  0001] read(3, "FresnelC.m\0\0\vU\350\0\0\10x(\0"..., 4096) = 4096
< [pid  0001] lseek(4, 1443000, SEEK_SET) = 1443000
< [pid  0001] read(4, "\211\3655\4\0\0\0\0\3\0\0\0\5\0\0"..., 8192) = 8192
< [pid  0001] read(4, "\3\0\0\0\37\0\0\0\3\0\0\0\f\0\0\0"..., 8192) = 8192
< [pid  0001] sigprocmask(SIG_BLOCK, [])  = 0 (old mask [])
< [pid  0001] SYS_112(0, 0x11fffd588, 0, 0x11fffd560, 0x20001500000002) = -1 EPERM (Operation not permitted)
< [pid  0001] open("/home2/allanb/maple//lib64/evalf/ln.m", O_RDONLY) = -1 ENOENT (No such file or directory)
< [pid  0001] lseek(3, 0, SEEK_END)       = 462848
< [pid  0001] lseek(3, 151552, SEEK_SET)  = 151552
< [pid  0001] read(3, "realroot.m\0\0\1|H\0\0$ \0\0\3x\0"..., 4096) = 4096
< [pid  0001] lseek(4, 14060136, SEEK_SET) = 14060136
< [pid  0001] read(4, "\211\3655\4\0\0\0\0\4\0\0\0\5\0\0"..., 8192) = 8192
< [pid  0001] read(4, "\3\0\0\0\5\0\0\0signum\0\1\0\0\0"..., 8192) = 8192
< [pid  0001] sigprocmask(SIG_BLOCK, [])  = 0 (old mask [])
< [pid  0001] SYS_112(0, 0x11fffcc28, 0, 0x11fffcc00, 0x140025c00) = -1 EPERM (Operation not permitted)
< [pid  0001] sigprocmask(SIG_BLOCK, [])  = 0 (old mask [])
< [pid  0001] SYS_112(0, 0x11fffbef8, 0, 0x11fffbed0, 0x1) = -1 EPERM (Operation not permitted)
< [pid  0001] sigreturn( <unfinished ...>
< [pid  0001] +++ killed by SIGSEGV +++

---
> [pid  0001] SYS_112(0, 0x11ffff008, 0, 0x11fffefe0, 0x2) = -1 EPERM (Operation not permitted)
> [pid  0001] ioctl(0, TIOCGETP, 0x11fffef98) = 0
> [pid  0001] ioctl(1, TIOCGETP, 0x11fffef98) = -1 ENOTTY (Inappropriate ioctl for device)
> [pid  0001] ioctl(0, TIOCGETP, 0x11fffef38) = 0
> [pid  0001] ioctl(1, TIOCGETP, 0x11fffef38) = -1 ENOTTY (Inappropriate ioctl for device)
> [pid  0001] lseek(0, 0, SEEK_CUR)       = -1 ESPIPE (Illegal seek)
> [pid  0001] read(0, "quit;\n", 8192)    = 6
> [pid  0001] ioctl(0, TIOCGETP, 0x11fffef88) = 0
> [pid  0001] ioctl(1, TIOCGETP, 0x11fffef88) = -1 ENOTTY (Inappropriate ioctl for device)
> [pid  0001] getrusage(RUSAGE_SELF, {ru_utime={0, 7812}, ru_stime={0, 5859}, ...}) = 0
> [pid  0001] getrusage(RUSAGE_CHILDREN, {ru_utime={0, 0}, ru_stime={0, 0}, ...}) = 0
> [pid  0001] gettimeofday({1494769216, 35634}, NULL) = 0
> [pid  0001] write(1, "> quit;\nbytes used=178248, allo"..., 51> quit;
> bytes used=178248, alloc=262096, time=0.00
> ) = 51
> [pid  0001] sigaction(SIGTERM, {SIG_IGN}, {SIG_DFL}) = 0
> [pid  0001] lseek(0, 0, SEEK_CUR)       = -1 ESPIPE (Illegal seek)
> [pid  0001] exit(0)                     = ?
> <... wait4 resumed> [WIFEXITED(s) && WEXITSTATUS(s) == 0], WUNTRACED, NULL) = 0001
> sigprocmask(SIG_BLOCK, [CHLD])          = 0x80000 (old mask [CHLD])
> sigprocmask(SIG_SETMASK, [CHLD])        = 0x80000 (old mask [CHLD])
> sigprocmask(SIG_SETMASK, [])            = 0x80000 (old mask [CHLD])
> --- SIGCHLD (Child exited) ---
> wait4(-1, 0x11ffff400, WNOHANG|WUNTRACED, NULL) = -1 ECHILD (No child processes)
> sigreturn()                             = ? (mask now [])
> SYS_0(0x2, 0x11ffff698, 0x11ffff6b0, 0, 0) = -1 EADDRINUSE (Address already in use)
> SYS_0(0x1, 0x80000, 0x11fffe980, 0, 0)  = 48
> read(3, "", 3054)                       = 0
> exit(0)                                 = ?

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Maple on Alpha/Linux
@ 1997-05-23 14:26 BARTHOLDI Laurent
  0 siblings, 0 replies; 3+ messages in thread
From: BARTHOLDI Laurent @ 1997-05-23 14:26 UTC (permalink / raw)


Hi!
I had the same problem as you with maple V r3.
Then trying maple r4 suppressed the problem. I don't exactly know
what it is, but I traced it to missing system calls used by the
previous binary.
At least, now, I had no problem with r4.
Note of course that you can run a x86 binary in emulation. Not that
you really want to...
good luck,
	laurent

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1997-05-23 14:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-05-14 18:23 Maple on Alpha/Linux Allan B MacIsaac
     [not found] <Pine.LNX.3.95.970514133156.9427A-100000@sparta.apmaths.uwo.ca>
1997-05-14 18:32 ` Allan B MacIsaac
  -- strict thread matches above, loose matches on Subject: below --
1997-05-23 14:26 BARTHOLDI Laurent

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox