Custom run command
Is there a way to define a custom run command for a project? One of the projects I'm working on uses MPI. Compiling with MPI is easy enough through cmake. But to run the project I have to go to the command line and invoke the mpi-runtime.
Basically I want to be able to tell CLion to run my program with
mpi_run -np 8 ./ProgramName
instead of
./ProgramName
请先登录再写评论。
Actually, you should be able to run mpi_run by selecting it in the "Executable" field of a Run Configuration editor.