Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-user] Re: Trouble installing PTP Support for MPICH2 in Eclipse

Hi all,

Unfortunately the MPICH2 support in PTP is not as robust as for Open MPI at the moment. In particular, debugging is not currently supported. However, I'm working on adapting the Open MPI resource manager to work with MPICH2 and should have something available in a few weeks time.

If you want to use the existing MPICH2 resource manager until then, you definitely have to start mpd first. In fact, I would suggest trying to run a simple application from the command-line first to make sure everything is working. Another important thing is to make sure your PATH (and LD_LIBRARY_PATH if necessary) are set correctly when Eclipse is started. If you're starting Eclipse from the command-line then as long as you can run an MPICH2 application from the command- line (with mpirun), it should be ok. However, if you're starting Eclipse from a window manager (e.g. MacOS X or GNOME or something), then remember that it is probably being started with a different environment than the shell, so that might be causing the problem.

Regards,

Greg

On Nov 4, 2008, at 8:41 AM, Steven Morrow wrote:

Hi Zou,

In fact I haven't managed to get it to work either! After Beth's suggestion yesterday I installed the 2.1 update from http://wiki.eclipse.org/PTP/builds/2.1 and then, at least, the MPICH2 support installed successfully. However I haven't managed to run or debug my MPICH program yet as the resource manager stops as soon as I start running it. BTW, to get the resource manager to run I noticed that I needed to have mpd running. I had forgotten that initially and the thing wouldn't start at all, so maybe that could be your problem.

I haven't tried to use OpenMPI at all. My program was initally compiled with MPICH1 and I recompiled it with MPICH2 (mpich2-1.0.6p1) to try out PTP. I put the bin directory in my path as you did. I don't know what I'm doing wrong as even the artifact view and barrier analysis don't work, despite the fact that I have added the include path to both the preferences and the project's properties (Project->Properties->C++ General->Paths and Symbols->). I am not using a managed make project, maybe that's it...

Regards,
Steven

========================================================
Steven MORROW, DOSIsoft, | Tel: +33(0)1 41 24 26 26
45-47, avenue Carnot,    | Fax: +33(0)1 41 24 26 28
94230 CACHAN, FRANCE     | E-mail: morrow@xxxxxxxxxxxx
========================================================


邹园斌 wrote:
Hi, Steven
Have you done any configuration on your system? I tried the same thing on my computer, with Redhat Enterprise Linux 5, MPICH2 and OpenMPI. With OpenMPI, PTP works excellent right remotly and locally; while with MPICH2, I just could not start the Resource Manager neither remotly nor locally. I am using Eclipse 3.4, PTP2.1, and CDT 5.0.1. <http://5.0.1.> The MPICH2 version is mpich2-1.0.8. The MPICH2 was installed in the default directory, which is / usr/local/bin. In fact I just use
./configure
make
make install
to install it.
After the installation, I configured the environment with
PATH=/home/you/mpich2-install/bin:$PATH ; export PATH
So, could you give me some advise? Thanks.
Regards,
Zou Yuanbin
Tsinghua University, Beijing, China
2008/11/3 Steven Morrow <morrow@xxxxxxxxxxxx <mailto:morrow@xxxxxxxxxxxx >>
   Thank you, that worked.
   Steven
   ========================================================
    Steven MORROW, DOSIsoft, | Tel: +33(0)1 41 24 26 26
    45-47, avenue Carnot,    | Fax: +33(0)1 41 24 26 28
    94230 CACHAN, FRANCE     | E-mail: morrow@xxxxxxxxxxxx
   <mailto:morrow@xxxxxxxxxxxx>
   ========================================================
   Beth Tibbitts wrote:
Looks like you are trying to install PTP 2.0.2. <http:// 2.0.2.>.
       PTP 2.0.x is designed for Eclipse 3.3 and CDT 4.0.x
       PTP 2.1 is designed for Eclipse 3.4 and CDT 5.0.x -- PTP 2.1
       should be imminently available (we are doing the final builds
       and testing today) and will work on Eclipse 3.4
       You can download the most recent builds in the meantime at
       http://wiki.eclipse.org/PTP/builds/2.1
       Since you have the other tools for Eclipse 3.4 I would suggest
       you install PTP 2.1
       ...Beth
       Beth Tibbitts (859) 243-4981 (TL 545-4981)
High Productivity Tools / Parallel Tools http://eclipse.org/ ptp
       IBM T.J.Watson Research Center
Mailing Address: IBM Corp., 745 West New Circle Road, Lexington,
       KY 40511
------------------------------------------------------------------------
       _______________________________________________
       ptp-user mailing list
       ptp-user@xxxxxxxxxxx <mailto:ptp-user@xxxxxxxxxxx>
       https://dev.eclipse.org/mailman/listinfo/ptp-user
   _______________________________________________
   ptp-user mailing list
   ptp-user@xxxxxxxxxxx <mailto:ptp-user@xxxxxxxxxxx>
   https://dev.eclipse.org/mailman/listinfo/ptp-user
!DSPAM:490ff7ba81281480221224!
_______________________________________________
ptp-user mailing list
ptp-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-user




Back to the top