Page 1 of 1

MPI with CodeLite

Posted: Thu Oct 19, 2017 1:26 am
by Emhyr
Greetings!

I would like to use CodeLite with mpic++ compiler. But the "scan computer for compilers" can`t find it. But actually it exists.

For example, when I type in terminal:

Code: Select all

mpic++ -o Pi_parallel Pi_parallel.cpp,

it works. How can I solve this problem? Looking forward for your responce.

Re: MPI with CodeLite

Posted: Thu Oct 19, 2017 9:19 am
by eranif
Settings->build Settings->Compilers
Click on the "Copy" button (the one with the tooltip that says: "Create a compiler by copying an existing one")
And simply change the tools to the correct one.

From what I read here: https://www.open-mpi.org/doc/v2.0/man1/ ... 1.php#toc6
MPIC supports similar syntax as gcc so the rest should be OK