5 ms·
I run my Clojure + OpenCL + CUDA code from Org-mode without problems.
by dragandj 10y ago
I run my Clojure + OpenCL + CUDA code from Org-mode without problems.
- jacquesm 10y agoOn a remote machine or on your local machine?
- taeric 10y agoEither. :) If you setup a source block, you can use TRAMP to actually execute the command in a source block on a remote machine. So: #+BEGIN_SRC sh :dir /user@remotemachine.com:~/remotedir ls #+END_SRC The above will run ls on "remotemachine.com" and put the results in an output block below it. Edit: Meant to add that you can do the same with docker. Just use "/docker:dockerId:" as the dir, and it will execute in a docker instance locally. Using multihop addresses, this can get extreme.
- jacquesm 10y agoOh, that's very cool. Almost QNX like! Org mode is one of the few real literate programming tools that I'm aware of, the other one is 'Leo'.
- gpderetta 10y agothat's it. I'm learning org-mode.
- jacquesm 10y agoPlease do a write-up.
- taeric 10y agoIf there are examples you'd like to see written up, I'd be interested in helping out. I used to try complicated examples, which led to pages such as http://taeric.github.io/Sudoku.html http://taeric.github.io/Sudoku.html. I'm now much more into writeups such as http://www.howardism.org/Technical/Emacs/literate-devops.html http://www.howardism.org/Technical/Emacs/literate-devops.htm.... (Note, I did not write the second one.)