前段时间跑vasp应用报错forrtl: severe (174): SIGSEGV, segmentation fault occurred
解决办法:
ulimit -s unlimited 取消堆栈空间限制,可以让堆栈无限增长。
然而这种方式是临时性的,在容器里如何使修改永久生效?
vim /etc/security/limits.conf
#* soft core 0
* soft core unlimited
* hard core unlimited
# 添加
* hard nofile unlimited
* soft nofile unlimited
root hard nofile unlimited
root soft nofile unlimited
改之后 使用如下命令:
ulimint -a
查看当前的各种用户进程限制