[CP2K:3037] Re: Segfault with psmp

Ondrej Marsalek ondrej.... at gmail.com
Fri Jan 7 16:33:32 UTC 2011


it was my impression that this problem that you mention is
sufficiently resolved using the compile flag to put arrays on the heap
rather than the stack. I tried your suggestion anyway, but
unfortunately it did not change anything about my original problem.


On Fri, Jan 7, 2011 at 06:32, Ross, Sun <sunshou... at yahoo.com.cn> wrote:
> Hi Ondrej,
> You used Intel compiler. The default stacksize of the system is
> relatively small. So you have to reset the stacksize of your system.
> Please try:
> 1. 'vi /etc/profile' ; add 'ulimit -s 262144' (about 256M) after the
> line "ulimit -S -c 0 > /dev/null
> 2. 'vi /etc/security/limits.conf' and add the following:
> *** hard stack 262144
> *** soft stack 262144
>  (*** is the user name.)
> 3.  limit stacksize 262144 (c-shell)
> Hope it could work, if not, reboot.
> Regards,
> --
> You received this message because you are subscribed to the Google Groups "cp2k" group.
> To post to this group, send email to cp... at googlegroups.com.
> To unsubscribe from this group, send email to cp2k+uns... at googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/cp2k?hl=en.

More information about the CP2K-user mailing list