Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-dev] Developing Photran (and running PTP) with Juno development version

Thanks for the tips, Beth.  I am surprised I missed the RSE, but yes that made all of the PTP problems go away.  Now, I am at the remaining CDT problems having to deal with a couple of LPG packages not be found.  I don't see any reference to them in the setup page.  They are referenced in the CDT source...  As you can see I got one lpg package (lpg.runtime.java) from the sourceforge project, but that seems like something I should not have not needed to do.


Dave Alexander

On 1/3/2012 12:08 PM, Beth Tibbitts wrote:

FWIW... setting up a (new) development set of source codes can be complicated, and all of this is normal :-)

> "No rule to make target 'all'" error for ptp.rm.slurm.proxy (which is some C code in PTP)
I ignore all those C projects myself, I'm not developing them, only running them. Your mileage may vary and I'm sure some others disagree

>below is my Problems view.
I notice the first ones I see are probably because you don't have RSE installed.
How do you tell? Double-click on one of those errors and it will take you to the line in the source code in the error.
e.g. blahblah cannot be resolved .... will probably match an import at the top of that source file that can't be found.
The package name of the import it's looking for should help narrow it down.
In http://wiki.eclipse.org/PTP/environment_setup_60 under Setup_for_development_of_PTP_6.0 one of the things I mentioned you need to install is RSE (step 4)
If you install that it should force a restart of your eclipse and a rebuild and those should go away (and expose the next set :-)   )

>I am bit confused when you get a package from both "Install New Software" and "clone of Git repo".
Basically yes.. "Install new software" installs stuff into your eclipse installation, and "clone of Git repo" checks out the projects (source code) into your workspace.
Some installing will include an "SDK" which usually means they include a jar? of source code so you can find the source code anyway, without having it as source code projects in your workspace.
Try fooling around with e.g. hyperlinking from a java source code file (ctrl-click) to something you don't have in your workspace.  I think all the CDT source is like this. Others probably too.
At the moment I don't know what we do with PTP... we *should* include source code as an SDK feature...

Hope this helps...



...Beth

Beth Tibbitts
Eclipse Parallel Tools Platform  http://eclipse.org/ptp
IBM STG - High Performance Computing Tools
Mailing Address:  IBM Corp., 745 West New Circle Road, Lexington, KY 40511


Inactive
          hide details for David Alexander ---01/03/2012 01:08:02
          PM---Hi Jeff, Thanks for the answer. I saw the photran docs, David Alexander ---01/03/2012 01:08:02 PM---Hi Jeff, Thanks for the answer.  I saw the photran docs, but they all say indigo


    From:

David Alexander <alexanda@xxxxxxxxxx>

    To:

ptp-dev@xxxxxxxxxxx,

    Date:

01/03/2012 01:08 PM

    Subject:

Re: [ptp-dev] Developing Photran (and running PTP) with Juno development version

    Sent by:

ptp-dev-bounces@xxxxxxxxxxx





Hi Jeff,

Thanks for the answer.  I saw the photran docs, but they all say indigo and I am trying to work with the juno code, so I wasn't sure if it directly applied.  I am not developing any PTP code at this point, but I would like to run remotely to test my Photran development.  So I need at the jars, but I am also just interested in learning the source, so I want to build it as well.

Anyway, I reset all (CDT, PTP, Photran) to the master branch; ran a "clean", then re-built.  I am now getting a "No rule to make target 'all'" error for ptp.rm.slurm.proxy (which is some C code in PTP) and below is my Problems view. Lots of PTP error, some CDT, but no Photran.  By the way, I am bit confused when you get a package from both "Install New Software" and "clone of Git repo". Without thinking much, I guessed that the first gets you the jar files and the second gets you the source, but then I wondered what happened when the Git code is compiled, which byte code used in the resulting runtime app?





--
David Alexander


On 12/30/2011 9:48 AM, Jeffrey Overbey wrote:
    Hi David,

    The master branches should be fine.

    For Photran, the first couple of appendices in the Photran Developer's Guide at
    http://www.eclipse.org/photran/contributorinfo.php describe how to check out the sources, set up an API baseline, etc. -- they should be (more or less) up to date.  Hopefully those will help you get rid of the errors in the Photran-related projects.  FWIW, if you're just doing Photran development, you don't need the PTP sources, so you should be able to follow those instructions (starting from a fresh workspace) and be done.

    If you did want all of the PTP sources, I can't say for sure what the errors are... they should show up in the Problems view with more detail... you might have to select the project in the Package Explorer before its errors will appear... (?)

    Jeff



    _______________________________________________
    ptp-dev mailing list
    ptp-dev@xxxxxxxxxxx
    https://dev.eclipse.org/mailman/listinfo/ptp-dev
    _______________________________________________
    ptp-dev mailing list
    ptp-dev@xxxxxxxxxxx
    https://dev.eclipse.org/mailman/listinfo/ptp-dev




_______________________________________________
ptp-dev mailing list
ptp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-dev
begin:vcard
fn:David Alexander
n:Alexander;David
org:Tech-X Corporation;Quality Assurance and Releases
adr:;;5621 Arapahoe Avenue;Boulder;CO;80303;USA
email;internet:alexanda@xxxxxxxxxx
title:Director of QAR
tel;work:303-448-7751
tel;fax:303-448-7756
tel;home:720-581-6737
tel;cell:720-581-6737
x-mozilla-html:TRUE
url:http://www.txcorp.com
version:2.1
end:vcard


Back to the top