From: Mike Kucera (mkucera_at_ca_dot_ibm_dot_com)
Date: Thu Feb 05 2009 - 07:32:32 PST
Hi Tahar,
After installing Eclipse did you follow the instructions for installing the
UPC plug-in using the update manager? In case you missed this step here are
the instructions:
To use the update manager to install UPC support
1. Start Eclipse
2. Help > Software Updates ...
3. Select "Available Software" tab at top
4. Select "Add Site..."
5. Select "New Remote Site" and enter
http://download.eclipse.org/tools/cdt/releases/ganymede
6. Expand the item to see the features it includes.
7. Check the features you want to install. Under CDT Optional Features,
check "Unified Parallel C Support"
8. Click the "Install" Button in the upper right corner.
9. Review the items that appear in the "Install" Dialog, and click
"Next>"
10. Accept the license terms, and click "Finish"
11. The CDT features are downloaded and installed; restart Eclipse
when prompted.
I tried following these instructions with Eclipse 3.4 and CDT 5.0 and it
works for me. Is this the way you installed it? I'm not using a mac but I
know a few people who do use macs and they have not had any problems
getting UPC to work (that I know of).
If its still not working here are a couple things you could try:
1) The UPC feature depends on the "LR Parser" feature. When you install UPC
it is supposed to calculate the dependencies and install the LR Parser for
you but perhaps it didn't. Try manually installing the LR Parser the same
way you installed the UPC plugin.
2) Check if there is anything UPC related in the error log, this may give a
clue to the problem. Go to Window > Show View > Other... > General > Error
Log.
Mike Kucera
Software Developer
IBM Eclipse CDT Team
mkucera_at_ca_dot_ibm_dot_com
|------------>
| From: |
|------------>
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|Tahar Amari <[email protected]> |
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| To: |
|------------>
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|Mike Kucera/Toronto/IBM@IBMCA |
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Cc: |
|------------>
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|Dan Bonachea <bonachea_at_cs_dot_berkeley_dot_edu>, Tahar Amari <Tahar.Amari@cpht_dot_polytechnique_dot_fr>, owner-upc-users_at_lbl_dot_gov, upc-users_at_lbl_dot_gov |
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Date: |
|------------>
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|02/05/2009 09:52 AM |
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Subject: |
|------------>
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|UPC does not show up |
>--------------------------------------------------------------------------------------------------------------------------------------------------|
Hello Mike,
I installed successifully Eclipse on Mac OS X and followed your link
Unfortunately when I a arrived at the point
Open C/C++, Language Mappings add a content type "C Source File" Language
"UPC"
No UPC choice is available , but only 3 choices, assembly, Gnu c, Gnu C++
Do you know how to make this work please ?
Many thanks
Tahar
Le 4 f�vr. 09 � 17:16, Mike Kucera a �crit :
Eclipse supports editing of UPC source code.
There is a UPC parser plug-in for Eclipse CDT, here are instructions
on how to set it up:
http://wiki.eclipse.org/PTP/other_tools_setup
Mike Kucera
Software Developer
IBM Eclipse CDT Team
mkucera_at_ca_dot_ibm_dot_com
<graycol.gif>Dan Bonachea ---02/04/2009 10:48:39 AM---To my knowledge
we have not done any work to integrate BUPC with the xcode
<ecblank.gif> <ecblank.gif>
From: Dan Bonachea <bonachea_at_cs_dot_berkeley_dot_edu>
<ecblank.gif> <ecblank.gif>
To: Tahar Amari <[email protected]>,
upc-users_at_lbl_dot_gov
<ecblank.gif> <ecblank.gif>
Date: 02/04/2009 10:48 AM
<ecblank.gif> <ecblank.gif>
Subject: Re: question
To my knowledge we have not done any work to integrate BUPC with the
xcode
project system, everything we do is purely console-based. It may be
possible
to teach the xcode GUI to recognize it (and in fact, we have an open
enhancement request to do exactly that
http://upc-bugs.lbl.gov/bugzilla/show_bug.cgi?id=1931 ) but I don't
think
we've looked into that yet.
If you do manage to get something working, we'd happily accept a
contribution
of the relevant tweaks required :)
-D
At 07:23 AM 2/4/2009, Tahar Amari wrote:
>Hello,
>
>I am new in UPC community. I have dowlnoaded binary installer for
UPC on Mac
>OS X/Leopard.
>I would like to create a Xcode Project which uses UPC compiler and
thus
>show it in the list of possible compilers
>for the project.
>I do not know how to do this . Is this possible please ?
>
>Many thanks
>
>Tahar
>
>
>--------------------------------------------
>T. Amari
>Centre de Physique Theorique
>Ecole Polytechnique
>91128 Palaiseau Cedex France
>tel : 33 1 69 33 42 52
>fax: 33 1 69 33 30 08
>email:
><<mailto:[email protected]>
mailto:[email protected]>
>URL :
><http://www.cpht.polytechnique.fr/cpht/amari>
http://www.cpht.polytechnique.fr/cpht/amari
>
>--------------------------------------------
>
>T. Amari
>
>Centre de Physique Theorique
>
>Ecole Polytechnique
>
>91128 Palaiseau Cedex France
>
>tel : 33 1 69 33 42 52
>
>fax: 33 1 69 33 30 08
>
>email:
><<mailto:[email protected]>
mailto:[email protected]>
>
>URL :
><http://www.cpht.polytechnique.fr/cpht/amari>
http://www.cpht.polytechnique.fr/cpht/amari