|
From: | tbanelwebmin |
Subject: | Re: How to use mpirun with C or C++ Org-babel? |
Date: | Fri, 8 Dec 2023 11:36:02 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 |
Hello, I found [1][2] that it is possible to change the compiler for C and C++ source blocks. I would like to know if there is a way to add =mpirun -np 2= (where 2 can be any other number) to run the resulting executable. Thanks! [1] https://orgmode.org/worg//org-contrib/babel/languages/ob-doc-C.html [2] https://github.com/gheber/literate-hdf5
[Prev in Thread] | Current Thread | [Next in Thread] |