[mpich-discuss] Help with eclipse juno and mpich2

Jayesh Krishna jayesh at mcs.anl.gov
Mon Mar 11 11:01:31 CDT 2013


Hi,
 You need to find out how to specify the include and lib directories for a project on Eclipse, and add "C:\Program Files\MPICH2\include" as your include directory and "C:\Program Files\MPICH2\lib" are your lib directory. After that you need to specify mpi.lib as the library to link your program.

(PS: Look into eclipse help - http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse.cdt.doc.user/reference/cdt_u_prop_general_pns_libpath.htm OR just "google" for the information.)

Regards,
Jayesh

----- Original Message -----
From: "George Papageorgakis" <ngeopapas at gmail.com>
To: discuss at mpich.org
Sent: Wednesday, March 6, 2013 7:44:23 AM
Subject: [mpich-discuss] Help with eclipse juno and mpich2


Hello people! 
I am new in mpi. I have been trying to setup eclipse to play with mpich2 in windows 7. I have installed mpich2 and managed to make the eclipse editor identify mpi libs, functions etc but it wont compile correctly. I am using the example of mpi_heat2D and i would like to run it on a ubuntu cluster of my university. I have done so with a kinda slow and weary methodology using WinSCP to copy the .c file from my pc to a cluster pc, compile it and run it via console not being able to see any graphs etc, only the output file with the results. I would like to know what can i do to run and see everything from eclipse, including graphs for optimization etc. I didnt find much help on the internet and i am kinda frustrated. Is what i ask possible? 
Thanks in advance! 

_______________________________________________
discuss mailing list     discuss at mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss



More information about the discuss mailing list