valgrind issue with cdnval
Running this file inp.xml like this:
mpiexec -n 2 valgrind --track-origins=yes --log-file=vg.%p ~/fleur/build/fleur_MPI -trace
results in a uninitialized jump or move:
==30066== Thread 1: ==30066== Conditional jump or move depends on uninitialised value(s) ==30066== at 0x4C7C9C: __m_types_cdnval_MOD_compact_ev_list (types_cdnval.f90:433) ==30066== by 0x250E14: __m_cdnval_MOD_cdnval (cdnval.F90:219) ==30066== by 0x1711C8: __m_cdngen_MOD_cdngen (cdngen.F90:171) ==30066== by 0x12447C: __m_fleur_MOD_fleur_execute (fleur.F90:489) ==30066== by 0x17A694: __m_fleur_jobs_MOD_fleur_job_execute (fleur_job.F90:214) ==30066== by 0x121C82: fleurjob (fleur_job.F90:283) ==30066== by 0x121C82: main (fleur_job.F90:276) ==30066== Uninitialised value was created by a stack allocation ==30066== at 0x24F83D: __m_cdnval_MOD_cdnval (cdnval.F90:16)
It only happens with the eigenvalue parallelization turned on. I tried to figure this one out, but I'm not sure what's going on.