Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-user] ptp-user Digest, Vol 68, Issue 5 Issues with synchronized projects

Hi,

Are you using the connection name or the host address between the // and / in the remote path? For remote tools connections, it needs to be the connection name.

Also, I believe you'll still see the message about the folder being accessible, but at least the paths should be correctly recognized.

Regards,
Greg

On Jul 24, 2012, at 11:10 AM, Tien D Ngo wrote:

> Hello everybody,
> 
> This is Tien, I am working on synchronized projects with Dave Hudak at the Ohio Supercomputer Center. I have caught a snag with number 3 (about adding remote paths). I just created a new synchronized MPI PI executable C/C++ project and a path (of many) that I'm trying to add is "/usr/local/include" from from oakley.osc.edu (via Properties > C/C++ General > Path and Symbols > Includes > GNU C).  I have tried "//oakley.osc.edu/usr/local/include/" and eclipse still has the message "The selected folder does not exist or not accessible". I have already configured the oakley connection when I created the project, so I can't seem to understand what I am doing wrong. Are there any notations or steps that I have missed?
> 
> Also, does anyone have any insight on #2 or #4?
> 
> Thanks,
> Tien Ngo
> 
> ________________________________________
> From: ptp-user-bounces@xxxxxxxxxxx [ptp-user-bounces@xxxxxxxxxxx] on behalf of ptp-user-request@xxxxxxxxxxx [ptp-user-request@xxxxxxxxxxx]
> Sent: Thursday, July 05, 2012 2:42 PM
> To: ptp-user@xxxxxxxxxxx
> Subject: ptp-user Digest, Vol 68, Issue 5
> 
> Send ptp-user mailing list submissions to
>        ptp-user@xxxxxxxxxxx
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>        https://dev.eclipse.org/mailman/listinfo/ptp-user
> or, via email, send a message with subject or body 'help' to
>        ptp-user-request@xxxxxxxxxxx
> 
> You can reach the person managing the list at
>        ptp-user-owner@xxxxxxxxxxx
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of ptp-user digest..."
> 
> 
> Today's Topics:
> 
>   1. Issues with synchronized projects (Dr. David E Hudak)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Thu, 5 Jul 2012 18:42:50 +0000
> From: "Dr. David E Hudak" <dhudak@xxxxxxx>
> To: PTP User list <ptp-user@xxxxxxxxxxx>
> Subject: [ptp-user] Issues with synchronized projects
> Message-ID: <32A33DC4-8EE0-4E61-86D9-714B7337E574@xxxxxxx>
> Content-Type: text/plain; charset="us-ascii"
> 
> Hi All,
> 
> We have been working with Indigo and have switched to Juno.  I have a couple of observations which may be (or may indicate) bugs or just my lack of experience with the environment.
> 
> 1.  I would like to support users who do not have a local toolchain - they are likely Windows or Mac users whose environment does not match the clusters (no local MPI installation, don't have Intel or PGI compilers).  Right now, I have to just tell them to select "Linux GCC" on the remote side and "Cygwin GCC" on the local side (see attachment), and then uncheck the "Debug_with_Cygwin GCC" and "Release_with_Cygwin GCC" configurations.  That seems ponderous.  Can I have a "No Local Toolchain" option?
> 
> 2.  I am able to use the module system to set the remote build environment using the "C/C++ Build/Environment Management"  page.  Building works (though mpicc is really using icc under the covers and not GCC as reported by Eclipse - I am assuming that is a relic of selecting the "Linux GCC" remote side toolchain in the project constructor (see attachment).
> 
> 14:16:24 **** Clean-only build of configuration Debug_with_Linux GCC_remote for project mpipi ****
> make clean
> 
> **** Environment configuration script temporarily stored in /tmp/ptpscript_C82GxT ****
> module purge >/dev/null 2>&1
> module load modules/1.0
> make clean
> rm -rf  ./src/mpipi.o  ./src/mpipi.d  mpipi
> 
> 
> 14:16:30 Build Finished (took 6s.438ms)
> 
> 14:16:30 **** Build of configuration Debug_with_Linux GCC_remote for project mpipi ****
> make all
> 
> **** Environment configuration script temporarily stored in /tmp/ptpscript_RlL1Nm ****
> module purge >/dev/null 2>&1
> module load modules/1.0
> make all
> Building file: ../src/mpipi.c
> Invoking: GCC C Compiler
> mpicc -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"src/mpipi.d" -MT"src/mpipi.d" -o "src/mpipi.o" "../src/mpipi.c"
> Finished building: ../src/mpipi.c
> 
> Building target: mpipi
> Invoking: GCC C++ Linker
> mpicc  -o "mpipi"  ./src/mpipi.o
> Finished building target: mpipi
> 
> 
> 14:16:38 Build Finished (took 7s.311ms)
> 
> 
> 
> 3.  The include paths discovered in the project are all local-side include paths.  Remote-side symbols like MPI_COMM_WORLD and MPI_CHAR are not found.  If I try to manually add a remote-side include path using the "C/C++ General/Paths and Symbols" screen, it complains that the path cannot be found (so I guess it is looking at the local side).  Note that I am still able to add a remote path with a remote project.
> 
> 4.  Now, to try to run the job, I create a
> 
> #!/bin/bash
> #PBS -q parallel
> #PBS -N mpipi
> #PBS -l nodes=2:ppn=12
> #PBS -l walltime=00:05:00
> MPI_ARGS="-np 24"
> if [ "-np" == "${MPI_ARGS}" ] ; then
> MPI_ARGS=
> fi
> COMMAND=mpiexec
> if [ -n "${COMMAND}" ] ; then
> COMMAND="${COMMAND} ${MPI_ARGS} /nfs/07/dhudak/mpipi/Debug_with_Linux GCC_remote/mpipi "
> else
> COMMAND="/nfs/07/dhudak/mpipi/Debug_with_Linux GCC_remote/mpipi "
> fi
> cd /nfs/07/dhudak
> ${COMMAND}
> 
> 
> Unfortunately, the space between "Linux" and "GCC" in the COMMAND causes the following problem:
> 
> mpiexec: Error: stat_exe: /nfs/07/dhudak/mpipi/Debug_with_Linux: No such file or directory.
> 
> I would think that the script generator would know to look for spaces and escape them appropriately.
> 
> Thanks,
> Dave
> ---
> David E. Hudak, Ph.D.          dhudak@xxxxxxx<mailto:dhudak@xxxxxxx>
> Program Director, HPC Engineering
> Ohio Supercomputer Center
> http://www.osc.edu
> 
> [cid:7D1ED0B7-A75C-4463-8F46-FD9040311655@osc.edu]
> 
> 
> 
> 
> 
> 
> 
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <https://dev.eclipse.org/mailman/private/ptp-user/attachments/20120705/cf0927d9/attachment.html>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: newproject.jpg
> Type: image/jpg
> Size: 168680 bytes
> Desc: newproject.jpg
> URL: <https://dev.eclipse.org/mailman/private/ptp-user/attachments/20120705/cf0927d9/attachment.jpg>
> 
> ------------------------------
> 
> _______________________________________________
> ptp-user mailing list
> ptp-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/ptp-user
> 
> 
> End of ptp-user Digest, Vol 68, Issue 5
> ***************************************
> _______________________________________________
> ptp-user mailing list
> ptp-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/ptp-user



Back to the top