| Author |
Comment/Response |
Peter Radloff
|
05/29/11 2:45pm
Hi,
I am trying to write a Mathematica script. I create a file call script.m which contains the following:
#!/usr/local/bin/MathematicaScript -script
Solve[x^2==0,x]
I change the permissions associated with this file:
>> chmod a+x script.m
When I try to execute using:
>> ./script.m
I get the following error:
error: 8: Exec format error
I am running Ubuntu 11.04:
2.6.38-8-generic-pae #42-Ubuntu SMP Mon Apr 11 05:17:09 UTC 2011 i686 i686 i386 GNU/Linux
Thanks for your help,
Peter
URL: , |
|