MPI with CodeLite

General questions regarding the usage of CodeLite

MPI with CodeLite

Postby Emhyr » Thu Oct 19, 2017 1:26 am

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.
Emhyr
CodeLite Curious
 
Posts: 1
Joined: Thu Oct 19, 2017 1:19 am

Re: MPI with CodeLite

Postby 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: 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
User avatar
eranif
CodeLite Plugin
 
Posts: 5631
Joined: Wed Feb 06, 2008 9:29 pm


Return to Using CodeLite

Who is online

Users browsing this forum: No registered users and 8 guests

cron