[Wien] Segmentation fault in lapw2 using IFORT 10.1.x
Gerhard Fecher
fecher at uni-mainz.de
Mon Dec 31 10:22:15 CET 2007
This concerns Version 7.3 and 8.1 if compiled with IFORT 10.1.x
(SUSE, RED HAT, mkl 9.x, 10.x)
A segmentation fault occurs if the optimization switches -O2, or higher are used.
traceback tells that it is in:
read_vec line 88: READ(10,.....
the segmentation fault disapperas if l2main.F is compiled with -O0, that is without
any optimization.
all others (including read_vec.F !!) can be still compiled with -O3
and processor specific optimizations (-xProcessor).
The error appears with all 10.1.x versions of IFORT but not with 10.0.x
Maybe its some uninitiallized or undeclared variable, however,
adding in l2main the missing declarations for variables passed to read_vec
did not help.
I could not find a faulty array, but may be I have missed something.
Happy New Year
Gerhard
Seems something similar (lapw2 compiled with -O0) was reported last month but stayed unresolved.
More information about the Wien
mailing list