Mathematica 9 is now available
Student Support Forum
Student Support Forum: 'MathematicaScript' topicStudent Support Forum > General > Archives > "MathematicaScript"

Next Comment >Help | Reply To Topic
Author Comment/Response
Peter Radloff
05/29/11 2:45pm


I am trying to write a Mathematica script. I create a file call script.m which contains the following:

#!/usr/local/bin/MathematicaScript -script

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,


URL: ,

Subject (listing for 'MathematicaScript')
Author Date Posted
MathematicaScript Peter Radloff 05/29/11 2:45pm
Re: MathematicaScript Sourabh 08/01/11 02:14am
Re: MathematicaScript Kevin Driver 08/03/11 01:01am
Re: Re: MathematicaScript Forum Modera... 08/03/11 7:20pm
Re: MathematicaScript vnpham 10/12/11 00:57am
Next Comment >Help | Reply To Topic