I often develop scripts in Atom or in the REPL before running them on a compute cluster. The cluster is configured with a node for submitting scripts and several compute nodes. I can’t log in directly to a compute node, I can only log in to the submitting node.
What I would like to do is to submit a Julia script that behaves, with respect to echoing of the input lines and printing the results of evaluation of expressions that do not end in
;, as if it were being run in the REPL.
Every time I want to do this I rediscover the
-i option to
julia then I rediscover that it doesn’t have the effect that I think it will.
Have I missed an obvious way of doing this?