Currently I use %%writefile
to save a cell to the file main.py
Afterwards I can run mpiexec python -m mpi4py main.py
in the commandline.
Do you know a way to run mpiexec
directly from inside the jupyter notebook?
I tried some magic commands but that didn’t work.
Have a nice day!