Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-user] Pb to build SDM

To build the sdm (scalable debug manager) please follow the instructions in the release notes,
in particular
http://wiki.eclipse.org/PTP/release_notes/3.0#Install_PTP_and_its_Pre-requisite_features
Step 2 says:

1. To complete the installation on the target system, change to the org.eclipse.ptp.<os>.<arch>_3.0.0.YYYYMMDDHHMM directory and run the command:
     sh BUILD
This will create a bin/ directory under that plugin's directory, and the 'sdm' executable will be there.
This is what you put in the launch configuration for sdm executable.
However, here is a cheat: a valid sdm is only needed for debugging, but you have to fill in *something* for just running a parallel app.
Put any executable there e.g. /bin/ls - and you can run. Much better to actually build sdm as show above, though, then you'll be all ready to debug!

...Beth

Beth Tibbitts
Eclipse Parallel Tools Platform http://eclipse.org/ptp
IBM STG Communications Protocols and Tools
Mailing Address: IBM Corp., Coldstream Research Campus, 745 West New Circle Road, Lexington, KY 40511

Inactive hide details for DEVEL Michel ---04/06/2010 10:16:15 AM---Hi, I am currently trying to use PTP on my own machine.DEVEL Michel ---04/06/2010 10:16:15 AM---Hi, I am currently trying to use PTP on my own machine.


From:

DEVEL Michel <Michel.Devel@xxxxxxxx>

To:

PTP User list <ptp-user@xxxxxxxxxxx>

Date:

04/06/2010 10:16 AM

Subject:

[ptp-user] Pb to build SDM

Sent by:

ptp-user-bounces@xxxxxxxxxxx




Hi,

I am currently trying to use PTP on my own machine.
I was able to start a local ressource manager for openMPI.
However, when I try to make a new launch configuration for a parallel application, I cannot store it, apparently because no executable is found for sdm.
I tried to compile SDM by going into /usr/local/eclipse_galileo/plugins/org.eclipse.ptp.debug.sdm_3.0.1.201002011019, then ./configure and make. It compiles several source files but cannot link sdm since many many references are not found.
(beginning of errors is:
src/client/sdm-startup.o: In function `main':
/usr/local/eclipse_galileo/plugins/org.eclipse.ptp.debug.sdm_3.0.1.201002011019/src/client/startup.c:227: undefined reference to `find_proxy'
src/client/sdm-client_cmds.o: In function `DbgClntQuit':
/usr/local/eclipse_galileo/plugins/org.eclipse.ptp.debug.sdm_3.0.1.201002011019/src/client/client_cmds.c:993: undefined reference to `new_proxy_msg'
/usr/local/eclipse_galileo/plugins/org.eclipse.ptp.debug.sdm_3.0.1.201002011019/src/client/client_cmds.c:994: undefined reference to `proxy_msg_add_args'
/usr/local/eclipse_galileo/plugins/org.eclipse.ptp.debug.sdm_3.0.1.201002011019/src/client/client_cmds.c:995: undefined reference to `proxy_serialize_msg'
/usr/local/eclipse_galileo/plugins/org.eclipse.ptp.debug.sdm_3.0.1.201002011019/src/client/client_cmds.c:999: undefined reference to `free_proxy_msg'
....
)
The link command was:
gcc -I./include -I./libaif -I./src/mi -g -O2 -Wall -I../org.eclipse.ptp.utils_3.0.1.201002011019/include -I../org.eclipse.ptp.proxy_3.0.1.201002011019/include -o sdm src/client/sdm-startup.o src/client/sdm-client.o src/client/sdm-client_cmds.o src/server/sdm-server.o src/server/sdm-server_cmds.o src/server/sdm-backend.o src/server/sdm-gdbmi_backend.o src/server/sdm-test_backend.o src/impl/sdm-sdm.o src/impl/sdm-sdm_aggregate_hash.o src/impl/sdm-sdm_hello_proto.o src/impl/sdm-sdm_message_tcpip.o src/impl/sdm-sdm_route_tree.o src/impl/sdm-sdm_routing_table_file.o src/impl/sdm-sdm_set_bitset.o libdbgutils.a libmi.a libaif/libaif.a -lutil -lnsl -L../org.eclipse.ptp.utils_3.0.1.201002011019 -L../org.eclipse.ptp.proxy_3.0.1.201002011019

--

Sincerely yours,

Michel DEVEL
_______________________________________________
ptp-user mailing list
ptp-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-user


GIF image

GIF image


Back to the top