Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-user] wizard didn't accomplish a PTP synchronized project

On Tuesday, December 11, 2012 14:44:20 Christoph Pospiech wrote:

> It appears that the makefile generation happens locally - which is OK. The

> PTP  synchronization replicates this to the correct place. But the make

> isn't executed as it should be.

>

> Logging in to the remote host via ssh, change directory to Debug_remote as 

> created by PTP synchronization and executing "make" on the command line

> makes  the correct executable (with the makefile and CFLAGS as

> auto-generated by Eclipse) without any problems.

>

> How to convince eclipse to execute the correct make command ? Any comments 

> welcome !

 

Hold on, I solved it myself :-)

 

Changing the remote tool set in Properties -> C/C++ Build -> ToolChainEditor also changes the current builder. I now set it back to "sync builder". Then I ticked "Generate makefiles automatically" again in Properties -> C/C++ Build. Now I am getting the following (which is as it should be).

 

21:05:55 **** Incremental Build of configuration Debug_remote for project MPI_Output ****

make all

 

**** Environment configuration script temporarily stored in /tmp/ptpscript_GZATbX ****

module purge >/dev/null 2>&1

module load IBM/xlC11.1.0.8

module load IBM/xlc11.1.0.6

module load IBM/xlf13.1.0.8

module load IGES/grads2.0.a6

module load NAG/5.1.340

module load NCAR/ncarg5.1.0

module load UNITE/1.0

make all

Building file: ../helloa.c

Invoking: Local XL C++ Compiler

mpcc_r -c -g -o "helloa.o" "../helloa.c"

Finished building: ../helloa.c

Building target: MPI_Output

Invoking: XL C++ Executable Linker

mpcc_r -o "MPI_Output" ./helloa.o

Finished building target: MPI_Output

 

21:06:26 Build Finished (took 31s.848ms)

--

 

Mit freundlichen Grüßen / Kind regards

 

Dr. Christoph Pospiech

High Performance & Parallel Computing

Phone: +49-351 86269826

Mobile: +49-171-765 5871

E-Mail: christoph.pospiech@xxxxxxxxxx

-------------------------------------------------------------------------------------------------------------------------------------------

IBM Deutschland GmbH / Vorsitzender des Aufsichtsrats: Martin Jetter

Geschäftsführung: Martina Koederitz (Vorsitzende), Reinhard Reschke, Dieter Scholz, Gregor Pillen, Joachim Heel, Christian Noll

Sitz der Gesellschaft: Ehningen / Registergericht: Amtsgericht Stuttgart, HRB 14562 / WEEE-Reg.-Nr. DE 99369940

 


Back to the top