Ask Your Question

Revision history [back]

As shown by @slcoleman and @John Palmieri, the easiest way to invoke Sage via Bash is through /path/to/sage, followed by the file to be run. This can be made simpler through an alias added to ~/.bashrc or the PATH. I'll also add a small Bash script I wrote that runs a Sage file on multiple threads:

#!/bin/bash

for j in {1..10}; do echo Launching thread.... ../sage ./loader.sage.py & done 2>/dev/null

As shown by @slcoleman and @John Palmieri, the easiest way to invoke Sage via Bash is through /path/to/sage, followed by the file to be run. This can be made simpler through an alias added to ~/.bashrc or the PATH. I'll also add a small Bash script I wrote that runs a Sage file on multiple threads:

#!/bin/bash

for j in {1..10}; do do echo Launching thread.... thread....; ../sage ./loader.sage.py & & done 2>/dev/null

2>/dev/null