Ask Your Question
0

Does anyone use DDT for debugging CROCO ?

asked 2022-01-14 09:36:11 +0100

mplus gravatar image

I have problems to launch a croco run in MPI with ddt on calculator DATARMOR: it seems that DDT detects that MPI is demanded, but cannot detect which implementation. Other error message is : symbol lookup error : undefined symbol : mpi_sgi_inplace

If someone has an idea, thanks !

Martin

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2022-01-17 10:17:32 +0100

mplus gravatar image

updated 2022-01-17 10:18:34 +0100

Hello again,

I think I find the way to launch a CROCO run with ddt. There was an irrelevant load of mpt library in the batch that I was using in order to launch croco with ddt. I really don't know if that can help anybody, but if somebody try to use that debugger in the framework of DATARMOR calculator, I leave below an example of a batch that is working for me.

Cheers,

Martin

#PBS -q mpi_1
#PBS -l mem=100gb
#PBS -l ddtlic=28
#PBS -l walltime=00:30:00

# modify mpi_NN, walltime,mpiprocs,memory

# cd to the directory you submitted your job
cd $PBS_O_WORKDIR

# load the libraries
source /usr/share/Modules/3.2.10/init/csh
module purge
module load NETCDF/4.3.3.1-mpt-intel2016  
module load ddt
module list

# submit job
echo "submit MPI job with  $NETCDF_MODULE "
setenv mpiproc `cat $PBS_NODEFILE  | wc -l`
echo Number of MPI cpus : $mpiproc
date
ddt --connect $MPI_LAUNCH ./croco croco.in >& croco.out
date
edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2022-01-14 09:36:11 +0100

Seen: 8 times

Last updated: Jan 17