| home | help | back | first | fref | pref | prev | next | nref | lref | last | post |
Date: Thu, 3 Nov 2011 13:31:52 -0400 (EDT) From: Geoffrey Thomas <geofft@MIT.EDU> To: Alex T Prengel <alexp@MIT.EDU> cc: debathena@MIT.EDU In-Reply-To: <1320341117.7640.17.camel@dit> Message-ID: <alpine.DEB.2.00.1111031328310.8518@tyger.mit.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=UTF-8; format=flowed I get similar output on a 64-bit Debian system: tyger:~ geofft$ /afs/athena.mit.edu/software/math_v8.0.4/samplescript.m error: Cannot stat link ../../../distrib/SystemFiles/Kernel/Binaries/@sys/MathematicaScript Segmentation fault It seems to work fine if I cd into the directory containing MathematicaScript first, viz.: tyger:/afs/athena.mit.edu/software/math_v8.0.4/arch/i386_deb50/bin geofft$ /afs/athena.mit.edu/software/math_v8.0.4/samplescript.m 2.7791826342517999596707997900531048781604793468549176006128880531561`50. 3.0438152992885326626600381865107628152768600819252835819338884040493`50. 2.9527232590493977288840145261490898268010589217105977492409528527276`50. 0.8601678055215004196783223742585300460123847537009212794587623486218`50. 2.9106422667470550529722951224446278680509097113303745399360503992263`50. 2.8559022821519549414811098261794921167646721471261634611319968019509`50. 3.2080134733358405125478863362189256967208031909602107913697662450547`50. 2.780066100983459776280164036099053199627953894863703958097681201181`50. 3.0848653572248799519278172427231085714710524469193365578099667524911`50. 2.9857441614948536317907561181972692014470234281515869827269073776466`50. -- Geoffrey Thomas geofft@mit.edu On Thu, 3 Nov 2011, Alex T Prengel wrote: > I think I may have found a bug involving openafs @sys links on 32 bit > systems involving a script that needs to invoke a command interpreter > through an @sys link: > > if you just run /afs/athena.mit.edu/software/math_v8.0.4/samplescript.m > on a 64 bit system it produces a bunch of numerical output; Mathematica > has a command interpreter MathematicaScript that lets one run executable > scripts directly. > > Running the same script on a 32 bit system gives: > > error: Cannot stat > link ../../../distrib/SystemFiles/Kernel/Binaries/@sys/MathematicaScript > > A couple of @sys links are used to resolve the #! command line and > intermediate links pointing to MathematicaScript. Any idea what's wrong > here? > > Thanks, > > Alex > >
| home | help | back | first | fref | pref | prev | next | nref | lref | last | post |