[Wien] Re: Segmentation Fault in lapw0
Renate Dohmen INF
dohmen at rzg.mpg.de
Tue Jul 6 10:25:42 CEST 2004
>Fred Nastos wrote:
>>In July 5, 2004 04:59 pm, Sam Leitch wrote:
>>I keep getting a "Segmentation Fault" in lapw0
>>
>>I've compiled using intel fortran compiler 8.0 and mkl 7.0
>>(I've tried mkl 6.1, and ifc 7.1, but ifc 7.1 won't work with libc2.3)
>>
>>
>
>ifort (i.e. intel 8.0) uses a lot of stack space (for reasons we will
>probabaly never know). What compiler options did you use?
>Try setting your stack size limit higher. To do this, if you are using
>bash, type
> ulimit -s unlimited
>
>For more information, see >http://www.google.ca/search?q=ifort+segmentation
Just to make it a little bit more clear: The stack size limit
need not be increased during compilation, but in the shell where
the program is executed. So, for the sequential program, you should
release the command
ulimit -s unlimited
in the shell where you start the program, for the parallel program
you should insert it in the login procedure (e.g. in .tcshrc}.
Renate Dohmen
--------------------
Dr. Renate Dohmen
Computing Centre Garching of the MPG
Boltzmannstr. 2
85748 Garching
Tel.: +49 - 89 - 3299 2235
More information about the Wien
mailing list