MPI with CodeLite

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

MPI with CodeLite

Post 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.
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: MPI with CodeLite

Post 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
Make sure you have read the HOW TO POST thread
Post Reply