Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ptp-dev] ptp debugger kills processes before attaching

Hi, PTP developpers 
 
A simple problem but I have no clue. I cannot start debugging a simple test program in local while it can run both in shell and in eclipse ptp.
The console ouput for debugging is this:
#PTP job_id=8322
[mpiexec@lqc] Sending Ctrl-C to processes as requested
[mpiexec@lqc] Press Ctrl-C again to force abort
Could not attach to process.  If your uid matches the uid of the target
process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try
again as the root user.  For more details, see /etc/sysctl.d/10-ptrace.conf
ptrace: �\215�\205\201许�\232\204�\223\215�\234.
/home/lq/Cworkspace/testmshadow/8322: 没�\234\211�\202�个�\226\207件�\210\226�\233��\225.
The program is not being run.
The program is not being run.
The program is not being run.
...

settings are these:
OS:                                            Ubuntu 12.04 
platform:                                    Eclipse for Parallel Application Developers Luna(4.4.1)
MPI:                                          mvapich2 (base on mpich2 3.1.2,almost the same)
target system configuration:         Generic MPICH2 Interactive
session address:                          default or localhost or my ip address, both cannot work
 
Detailed Configuration:
2485=RUNNING
5414=RUNNING
5455=RUNNING
5469=RUNNING
5518=RUNNING
5622=RUNNING
5661=RUNNING
5765=RUNNING
5843=RUNNING
5988=RUNNING
6023=RUNNING
6043=RUNNING
6492=RUNNING
6598=RUNNING
6634=RUNNING
7252=RUNNING
7812=RUNNING
8242=RUNNING
8279=RUNNING
bindir=
control.address=localhost
control.queue.name=
control.user.name=lq
control.working.dir=/home/lq
current_controller=Advanced.Options
debuggerArgs=--port=47457 --host=localhost --debugger=gdb-mi --debug=127
debuggerExecutablePath=/home/lq/.eclipsesettings/sdm
debuggerId=org.eclipse.ptp.debug.sdm
enabled_Advanced.Options=useDefaultAguments useDefaultPath
executableDirectory=/home/lq/Cworkspace/testmshadow
executablePath=/home/lq/Cworkspace/testmshadow/testcpu
host_file=
host_list=
invalid_Advanced.Options=bindir script_path
launchMode=run
mpiNumberOfProcesses=2
mpich2_version=no_version
org.eclipse.debug.core.SOURCE_PATH_COMPUTER_ID=org.eclipse.ptp.debug.core.sourcePathComputer
org.eclipse.debug.core.appendEnvironmentVariables=true
org.eclipse.ptp.launch.ARGUMENT_ATTR=
org.eclipse.ptp.launch.ATTR_AUTO_RUN_COMMAND=true
org.eclipse.ptp.launch.ATTR_CONSOLE=true
org.eclipse.ptp.launch.ATTR_COPY_EXECUTABLE_FROM_LOCAL=false
org.eclipse.ptp.launch.ATTR_DEBUGGER_HOST=localhost
org.eclipse.ptp.launch.ATTR_REMOTE_EXECUTABLE_PATH=/home/lq/Cworkspace/testmshadow/testcpu
org.eclipse.ptp.launch.ATTR_SYNC_AFTER=false
org.eclipse.ptp.launch.ATTR_SYNC_BEFORE=false
org.eclipse.ptp.launch.ATTR_SYNC_RULES=[]
org.eclipse.ptp.launch.CONFIGURATION_NAME=Generic MPICH2 Interactive
org.eclipse.ptp.launch.CONNECTION_NAME=Local
org.eclipse.ptp.launch.DEBUGGER_ARGS=--port=49737 --host=localhost --debugger=gdb-mi --debug=127
org.eclipse.ptp.launch.DEBUGGER_EXECUTABLE_PATH=/home/lq/.eclipsesettings/sdm
org.eclipse.ptp.launch.DEBUGGER_ID=org.eclipse.ptp.debug.sdm
org.eclipse.ptp.launch.DEBUGGER_SDM_BACKEND=gdb-mi
org.eclipse.ptp.launch.DEBUGGER_SDM_EXECUTABLE=/media/backup/Downloads/sdm/org.eclipse.ptp.linux_8.1.0.201409241335/os/linux/x86_64/sdm
org.eclipse.ptp.launch.DEBUGGER_START_MODE=run
org.eclipse.ptp.launch.DEBUGGER_USE_BUILTIN_SDM=true
org.eclipse.ptp.launch.PROJECT_ATTR=testmshadow
org.eclipse.ptp.launch.REMOTE_SERVICES_ID=org.eclipse.remote.LocalServices
org.eclipse.ptp.launch.RESOURCE_MANAGER_NAME=f6b87212-5b7f-30ff-ab89-65a8ac2413e9
org.eclipse.ptp.launch.STOP_IN_MAIN=true
prefix=
prefixOption=false
progArgs=
ptpDirectory=/home/lq/.eclipsesettings
useDefaultAguments=true
useDefaultPath=true
useHostFile=false
useHostList=false
valid_Advanced.Options=2485 5414 5455 5469 5518 5622 5661 5765 5843 5988 6023 6043 6492 6598 6634 7252 7812 8242 8279 bindir control.address control.queue.name control.user.name control.working.dir current_controller debuggerId enabled_Advanced.Options executableDirectory executablePath host_file host_list invalid_Advanced.Options launchMode mpiNumberOfProcesses mpich2_version prefix prefixOption progArgs ptpDirectory useDefaultAguments useDefaultPath useHostFile useHostList valid_Advanced.Options visible_Advanced.Options working.directory
visible_Advanced.Options=bindir useDefaultAguments useDefaultPath
working.directory=/home/lq

Thanks very much for your attention.

------------------
----------------
Best Wishes,
Qi Lyu(吕祺)
Department of Computer Science & Technology
Tsinghua University 


 

------------------
----------------
Best Wishes,
Qi Lyu(吕祺)
Department of Computer Science & Technology
Tsinghua University 


 

Back to the top