Yaroslav Bulatov
Yaroslav Bulatov

Reputation: 57963

Sandboxing Mathematica on Unix

Is anyone able to run Mathematica under ptrace sandbox? I'm able to get Matlab to work with it, but Mathematica seems to freeze.

The following is supposed to produce img.png with all calls ptraced, freezes

strace -f test.m

test.m:

#!/usr/local/bin/MathematicaScript -script
img=Plot3D[Im[ArcSin[(x + I y)^4]], {x, -2, 2}, {y, -2, 2}, Mesh -> None,PlotStyle -> Directive[Yellow, Specularity[White, 20], Opacity[0.5]],ExclusionsStyle -> {None, Red}];
Export["img.png", img]

crossposted to Mathematica mailing list

Upvotes: 2

Views: 214

Answers (1)

Rolf Mertig
Rolf Mertig

Reputation: 1362

This just works fine for me. I use some recent debian-based Linux:

rolfm@gluon:~/mathgroup$ uname -a

Linux gluon 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:07:17 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

Upvotes: 1

Related Questions