Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-user] out of source remote build pain

Greg, I can work with the fake makefile solution so don't worry.
Question : is debugging on BG/Q going to work (gdb or other)? I had to spend time on other things today, but googled a little and things don't look promising.

thanks

JB

> -----Original Message-----
> From: ptp-user-bounces@xxxxxxxxxxx [mailto:ptp-user-
> bounces@xxxxxxxxxxx] On Behalf Of Greg Watson
> Sent: 24 September 2013 16:28
> To: PTP User list
> Subject: Re: [ptp-user] out of source remote build pain
> 
> There seem to be a few bugs relating to Windows clients (e.g. 417850). I
> don't have access to a Windows, so someone else will need to volunteer to
> look at these bugs.
> 
> Greg
> 
> On Sep 24, 2013, at 10:09 AM, Steven R. Brandt <sbrandt@xxxxxxxxxxx>
> wrote:
> 
> > Sounds like bug 416658.
> >
> > Cheers,
> > Steve
> >
> > On 09/23/2013 09:59 AM, Biddiscombe, John A. wrote:
> >> Karsten
> >>
> >> Unfortunately, I can't put a remote path in the build directory, because
> eclipse keeps changing it by prefixing the local filesystem D:\ to it.
> >>
> >> Errors occurred during the build.
> >> Errors running builder 'CDT Builder' on project 'hello'.
> >> Internal error building project hello configuration BGQ Error
> >> launching remote process.
> >> java.net.URISyntaxException: Relative path in absolute URI:
> >> remotetools://BGQD:/scratch/stuff Internal error building project
> >> hello configuration BGQ Error launching remote process.
> >> java.net.URISyntaxException: Relative path in absolute URI:
> >> remotetools://BGQD:/scratch/stuff
> >>
> >> If I set toolchain to NO Toolchain and then select remote gnu akefile.
> nothing happens, I get the error I posted before.
> >>
> >> I can't find a combination which executes remotely using the path I set.
> >>
> >> If I set the build directory to workspace..... then things at least try to build,
> but in the wrong place.
> >>
> >> Is there a way I can add the remote build dir as a project setting and then
> slect it from the workspace/filesystem options in the build dir setting?
> >>
> >> JB
> >>
> >>> -----Original Message-----
> >>> From: ptp-user-bounces@xxxxxxxxxxx [mailto:ptp-user-
> >>> bounces@xxxxxxxxxxx] On Behalf Of Carsten Karbach
> >>> Sent: 23 September 2013 16:29
> >>> To: PTP User list
> >>> Subject: Re: [ptp-user] out of source remote build pain
> >>>
> >>> Dear John,
> >>>
> >>> which type of Project Type have you chosen when you created your
> >>> synchronized project?
> >>> In your case, I would suggest that you use a Makefile project (Empty
> >>> Project).
> >>>
> >>> You can set your build command and build directory via right click
> >>> on your project -> Properties, select "C/C++ Build". In this dialog
> >>> you can choose the build command and the build directory. Make sure,
> >>> that you are changing these properties for the remote build
> >>> configuration (see the combobox on top of the dialog). As build
> >>> directory you can use an absolute path on your remote machine (e.g.
> /scratch/stuff).
> >>>
> >>> When you build, the configured build command is executed in the
> >>> given build directory. Note, that by just clicking on the build icon
> >>> (hammer) Eclipse will append the "all" target to your build command.
> >>> E.g. if your build command is "make", clicking on the build icon will invoke
> "make all".
> >>>
> >>> There seem to exist many options for cmake support in Eclipse as
> >>> described
> >>> here: http://www.vtk.org/Wiki/CMake%3aEclipse_UNIX_Tutorial (I
> have
> >>> not tested them). A simple solution for cmake "support" would be
> >>> adding a Makefile, which calls cmake, and using that Makefile for your
> build.
> >>>
> >>> Best regards,
> >>>
> >>> Carsten
> >>>
> >>> On 09/23/13 15:54, Biddiscombe, John A. wrote:
> >>>> Hello
> >>>>
> >>>> I've configured a project to be synchronized and the local build goes ok.
> >>>>
> >>>> Build command nmake
> >>>>
> >>>> Build directory d:\build\stuff
> >>>>
> >>>> but the remote part won't cd into the build directory and I can't
> >>>> set a remote location in the build path
> >>>>
> >>>> I'd like to set
> >>>>
> >>>> Build command : make
> >>>>
> >>>> Build directory : remotetools://BGQ/scratch/stuff
> >>>>
> >>>> so that the remote build takes place in the /scratch/stuff on BGQ
> >>>> (the
> >>>> connection)
> >>>>
> >>>> It actually doesn't seem to even try building as it just does
> >>>>
> >>>> 15:49:03 **** Incremental Build of configuration BGQ for project
> >>>> hello
> >>>> ****
> >>>>
> >>>> 15:49:03 Build Finished (took 0ms)
> >>>>
> >>>> [I'm using cmake generated projects, so out of source builds is
> >>>> preferred. Also - Is there a toolchain anywhere for generating
> >>>> makefiles using cmake from eclipse? This would be nice, but for
> >>>> now, just getting the remote build dir to work would save my hair
> >>>> loss.]
> >>>>
> >>>> Note, both locally and remotely, I've run cmake in the build
> >>>> directories to generate valid makefiles (which compile ok by hand),
> >>>> the source dirs are synced, but what's the missing step to invoke the
> build?
> >>>>
> >>>> thanks hopefully
> >>>>
> >>>> JB
> >>>>
> >>>> --
> >>>>
> >>>> John Biddiscombe,                        email:biddisco @.at.@ cscs.ch
> >>>>
> >>>> http://www.cscs.ch/
> >>>>
> >>>> CSCS, Swiss National Supercomputing Centre  | Tel:  +41 (91)
> >>>> 610.82.07
> >>>>
> >>>> Via Trevano 131, 6900 Lugano, Switzerland   | Fax:  +41 (91) 610.82.82
> >>>>
> >>>>
> >>>>
> >>>> _______________________________________________
> >>>> ptp-user mailing list
> >>>> ptp-user@xxxxxxxxxxx
> >>>> https://dev.eclipse.org/mailman/listinfo/ptp-user
> >>>>
> >>>
> >>>
> >>> --------------------------------------------------------------------
> >>> --------------------------
> >>> --
> >>> --------------------------------------------------------------------
> >>> --------------------------
> >>> --
> >>> Forschungszentrum Juelich GmbH
> >>> 52425 Juelich
> >>> Sitz der Gesellschaft: Juelich
> >>> Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
> >>> Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher
> >>> Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender), Karsten
> >>> Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, Prof. Dr.
> >>> Sebastian M. Schmidt
> >>> --------------------------------------------------------------------
> >>> --------------------------
> >>> --
> >>> --------------------------------------------------------------------
> >>> --------------------------
> >>> --
> >>>
> >>> Das Forschungszentrum oeffnet seine Tueren am Sonntag, 29.
> >>> September, von 10:00 bis 17:00 Uhr: http://www.tagderneugier.de
> >>> _______________________________________________
> >>> 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
> >
> > _______________________________________________
> > 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


Back to the top