emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to use mpirun with C or C++ Org-babel?


From: Edgar Lux
Subject: How to use mpirun with C or C++ Org-babel?
Date: Fri, 8 Dec 2023 00:10:11 +0100 (CET)

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

-- 
Sent with https://mailfence.com  
Secure and private email



reply via email to

[Prev in Thread] Current Thread [Next in Thread]