- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a problem in debugging of Intel MPI application on a cluster.
Common question: How to debug the parallel application. Console debugger idbc is not convenient at all. Are there debuggers with GUI? better for free.
I tried using eclipse, I launched program using SGE script (below), but I cannot debug with the same way.
The script for RUN.
############## RUN ##############
#!/bin/bash
#$ -S /bin/bash
cd $SGE_O_WORKDIR
. /etc/profile.d/modules.sh
module purge
module load 14.0_intel_mpi_update
#$ -l sandy=TRUE
#$ -l h_vmem=1.0G
#$ -o $JOB_ID.out
#$ -e $JOB_ID.err
#$ -cwd
#$ -pe openmpi* 6
#$ -l h_rt=00:30:00
#$ -l debug=TRUE
mpiexec.hydra -genv I_MPI_FABRICS shm:dapl -genv I_MPI_FALLBACK_DEVICE disable -n $NSLOTS ./myApp
exit 0
##############################
And it works. (I work in local regime, since eclipse is running on cluster frontend, ssh connection is not needed).
I did like in the manual http://help.eclipse.org/luna/
#!/bin/bash
#$ -S /bin/bash
cd $SGE_O_WORKDIR
. /etc/profile.d/modules.sh
module purge
module load 14.0_intel_mpi_update
#$ -l sandy=TRUE
#$ -l h_vmem=1.0G
#$ -o $JOB_ID.out
#$ -e $JOB_ID.err
#$ -cwd
#$ -pe openmpi* 6
#$ -l h_rt=00:30:00
#$ -l debug=TRUE
export IDB_HOME=/cluster/intel_
export gdb_compatible_output=1
mpiexec.hydra -idb -genv I_MPI_FABRICS shm:dapl -genv I_MPI_FALLBACK_DEVICE disable -n $NSLOTS ./myApp
exit 0
##############################
Regards,
Ilia Sivkov.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
If I would like to use Eclipse (Mars2) to debug a MPI example (such as hello world), in configuration, which Target System Configuration" should I choose?
I am using Intel C++ and MPI, my machine is a linux box with 10 cores.
Thanks

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page