Skip to content

how to alter mpiexec for ctest launched tests

Please help.

I compiled QE on GPU node using cmake, and lauched ctest -V.

How to alter the under-the-ctest-hood mpiexec command please ?

I need to set number of threads and add flags, like "overload-allowed" .

.
.
.
6: Test command: /cvmfs/hybrilit.jinr.ru/sw/slc7_x86-64/cuda/v12.4/Linux_x86_64/24.5/comm_libs/mpi/bin/mpiexec "-n" "3" "/lustre/home/user/m/milias/work/software/quantum-espresso/qe-develop/q-e/build_gpu_cuda_openmpi_lapack/FFTXlib/bin/test_qe_fftx_fft_scatter_mod_gpu.x"
6: Working Directory: /lustre/home/user/m/milias/work/software/quantum-espresso/qe-develop/q-e/build_gpu_cuda_openmpi_lapack/FFTXlib/tests
6: Environment variables:
6:  OMP_NUM_THREADS=1
6: Test timeout computed to be: 10000000
6: --------------------------------------------------------------------------
6: A request was made to bind to that would result in binding more
6: processes than cpus on a resource:
6:
6:    Bind to:     CORE
6:    Node:        ampere02
6:    #processes:  2
6:    #cpus:       1
6:
6: You can override this protection by adding the "overload-allowed"
6: option to your binding directive.
6: --------------------------------------------------------------------------
  6/381 Test   #6: test_qe_fftx_fft_scatter_mod_gpu-r3-t1 ............................***Failed    1.54 sec