Ask Your Question

Does anyone use DDT for debugging CROCO ?

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

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 !


edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

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

mplus gravatar image

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

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.



#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

# load the libraries
source /usr/share/Modules/3.2.10/init/csh
module purge
module load NETCDF/  
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
ddt --connect $MPI_LAUNCH ./croco >& croco.out
edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


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

Seen: 213 times

Last updated: Jan 17 '22