Dear all, The attached patch solves a segfault in example09 on qe 4.3.2 compiled with gfortran 4.5.3 [or equally with 4.5.0 or 4.6.2] : running normal mode calculation for CH4..../run_example: line 226: 4939 Segmentation fault (core dumped) $PH_COMMAND < ch4.nm.in > ch4.nm.out
Using gdb shows that lraman was false; in this case ramtns is never allocated, hence the evaluation of the expression ramtns*omega/fpi*convfact failed during the call to write_dyn_mat_header, line 152 of dynmatrix.f90. The userguide warns about segfaults, but here it does not sound like a compiler bug. Is this correct ? Should I file a bug report ? Jean-Roch Huntzinger -- L2C/SMC UMR 5221 - Universit? Montpellier 2, CNRS - France -------------- next part -------------- A non-text attachment was scrubbed... Name: dynmatrix.f90.patch Type: text/x-patch Size: 1143 bytes Desc: not available Url : http://www.democritos.it/pipermail/pw_forum/attachments/20111212/7cfcbd72/attachment.bin
