MPI with CodeLite

General questions regarding the usage of CodeLite
CodeLite Curious
Posts: 1
Joined: Thu Oct 19, 2017 1:19 am
Genuine User: Yes
IDE Question: C++

MPI with CodeLite

Post by Emhyr » Thu Oct 19, 2017 1:26 am


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.

User avatar
CodeLite Plugin
Posts: 6110
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++

Re: MPI with CodeLite

Post by eranif » Thu Oct 19, 2017 9:19 am

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: ... 1.php#toc6
MPIC supports similar syntax as gcc so the rest should be OK
Make sure you have read the HOW TO POST thread

Post Reply