Tag Info

Hot answers tagged

9

On Windows, MathKernel.exe launches the kernel running within a window. The standard output is redirected to that window. To avoid this redirection, we must run the kernel as a console application using Math.exe instead: "C:\Program Files\Wolfram Research\Mathematica\10.0\Math" ^ -noprompt ^ -script C:\Users\a\Desktop\test.m ^ "data goes here" ...


6

These two small programs -- math.exe is the same as wolfram.exe, and MathKernel.exe is the same as WolframKernel.exe -- are kernel loaders, which provide an interface to the same main kernel code residing in the dynamic library WolframEngine.dll (also known as mathdll.dll in versions prior to 10.1.0). Both accept the same command line options as documented ...


3

Clusters can be significantly different from each other, so I strongly recommend you talk to someone who uses the same system and ask them for help with the details. However, there is one thing that is clearly incorrect in your job script: To run a script with Mathematica, you need to start the kernel (command line program), not the front end (graphical ...


2

After a lot of thinking and experimenting I have found Cygwin to be the the best option to support both multiple arguments and stdin. alias _="/cygdrive/c/Program\ Files/Wolfram\ Research/Mathematica/10.0/Math -noprompt -script "C:/Users/a/Desktop/test.m" "$@"" alias ls="_ FileNames[]" test.m in:=ToExpression@InputString[]; If[Length@$CommandLine<5, ...


2

I'm not sure on which operating system you are and whether this makes a difference, but your 4 choice don't do the same. math -run file.m edit: When you change this command to math -run < file.m then it does the same as the next (wrong) alternative. Doesn't do anything with the content of file.m at all, because the -run option expects a command ...


2

Boardman's tutorial (now in v3) really is excellent (especially for beginners like myself) and has been updated to take into account new image processing functions in MMA v10. It's readable on a Mac using the iBooks.app bundled with OSX 10.9+ and there's also a YouTube version (though I've not had a chance to look at that yet). As to how the Manipulate ...


1

There are a number of ways to grab moving images off a screen, and for iBooks/iPad resolution, that should be plenty good, though not so much at your local iMax. Examples: http://www.screencast-o-matic.com/ http://www.movavi.com/screen-capture/



Only top voted, non community-wiki answers of a minimum length are eligible