[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [ptp-user] PTP and remote includes
|
What compiler are you using on the cluster? It's possible there may be other header directories you need to add to the include path.
===========================
Chris Recoskie
Team Lead, IBM CDT and RDT
IBM Toronto
"Jay Alameda" ---04/14/2011 11:05:36 AM---Dave, I just tried on my windows 7 machine- running 3.6.2 and PTP 4.0.6 (as
![]()
From: | ![]()
"Jay Alameda" <jalameda@xxxxxxxxxxxxxxxxx> |
![]()
To: | ![]()
"'PTP User list'" <ptp-user@xxxxxxxxxxx> |
![]()
Date: | ![]()
04/14/2011 11:05 AM |
![]()
Subject: | ![]()
Re: [ptp-user] PTP and remote includes |
![]()
Sent by: | ![]()
ptp-user-bounces@xxxxxxxxxxx |
Dave,
I just tried on my windows 7 machine- running 3.6.2 and PTP 4.0.6 (as
distributed for Eclipse SR2) - and for a small C project, was able to see
the includes in /usr/include.
I'm puzzled, as to what may be going wrong, this has worked for me pretty
consistently well - though I don't have a local /usr/include as you would
on your Mac -
Where did you find the properties files?
Jay
-----Original Message-----
From: ptp-user-bounces@xxxxxxxxxxx [mailto:ptp-user-bounces@xxxxxxxxxxx]
On Behalf Of David E Hudak
Sent: Thursday, April 14, 2011 9:38 AM
To: PTP User list
Subject: [ptp-user] PTP and remote includes
Hi All,
I have Eclipse v3.6.2 on my Mac OS X v10.6.8 and am running
PTP Core Components 4.0.6.201102161000
org.eclipse.ptp.core.feature.group
I have a set of C files in a directory on OSC's cluster for a parallel
application using MPI and Global Arrays (GA) Toolkit.
I have been able to create a Remote C project on my Mac and point it at
the directory on the cluster.
I have edited the project properties to add remote includes for 4
directories (my properties file is appended below):
/usr/local/ga-5.0.2/ga-5.0.2-gnu/include
/usr/local/mpi/mvapich2-1.5-gnu/include
/usr/local/acml-4.3.0/gfortran64_int64/include
/usr/include
Now, if I look at a file that has #include <ga.h>, I can double-click in
the outline and it opens the GA header file from the cluster. Same thing
with mpi.h. So, the first 3 directories are correctly found on the remote
cluster.
However, if I double-click on stdio.h or stdlib.h, it either says there is
no file associated with that file or it opens the local copy of the header
file on my Mac!
I think eclipse is looking in the local /usr/include - as the project
explorer shows files in the local file system under the "includes"
"usr/include" folder.
Any insight on what I am doing wrong? How can I tell Eclipse I want
/usr/include on the remote system?
Thanks,
Dave
---
David E. Hudak, Ph.D. dhudak@xxxxxxx
Program Director, HPC Engineering
Ohio Supercomputer Center
http://www.osc.edu
<?xml version="1.0" encoding="UTF-8"?>
<cdtprojectproperties>
<section
name="org.eclipse.cdt.internal.ui.wizards.settingswizards.IncludePaths">
<language name="holder for library settings">
</language>
<language name="Assembly">
</language>
<language name="UPC">
</language>
<language name="GNU C++">
</language>
<language name="GNU C">
<includepath>/usr/local/ga-5.0.2/ga-5.0.2-gnu/include</includepath>
<includepath>/usr/local/mpi/mvapich2-1.5-gnu/include</includepath>
<includepath>/usr/local/acml-4.3.0/gfortran64_int64/include</includepath>
<includepath>/usr/include</includepath>
</language>
<language name="Fortran">
</language>
</section>
</cdtprojectproperties>
_______________________________________________
ptp-user mailing list
ptp-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-user
_______________________________________________
ptp-user mailing list
ptp-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-user

