Search found 2 matches

by bvcpbk
Tue Feb 22, 2011 3:07 pm
Forum: Configuring and compiling ABINIT
Topic: paral_kgb options
Replies: 16
Views: 10589

Re: paral_kgb options

Btw there is a somehow similar problem in 79_seqpar_mpi/vtorho.F90. Array buffer2 is allocated by using the variable mb2dkpsp. The latter is initialized or not, depending on context. When using uninitialized while allocating buffer2, arbitrary effects are seen (SIGSEGV, unbalanced MPI barriers and t...
by bvcpbk
Mon Feb 21, 2011 1:29 pm
Forum: Configuring and compiling ABINIT
Topic: paral_kgb options
Replies: 16
Views: 10589

Re: paral_kgb options

It seems to me that the reason for the observed behaviour is line 314 in 66_wfs/prep_getghc.F90 (I'm referring to the production 6.4.3 code): allocate(swavef_alltoall_sym(2,(ndatarecv_tot*bandpp_sym)*iscalc)) with iscalc = 0 (set previously at line 186). This yields a zero-sized 2nd dimension, which...