{"id":332,"date":"2020-03-08T08:27:00","date_gmt":"2020-03-08T00:27:00","guid":{"rendered":"http:\/\/gh.airy.cn\/wordpress\/?p=332"},"modified":"2023-08-31T10:11:06","modified_gmt":"2023-08-31T02:11:06","slug":"fds","status":"publish","type":"post","link":"https:\/\/airy.cn\/WordPress\/?p=332","title":{"rendered":"FDS"},"content":{"rendered":"\n<p><\/p>\n\n\n<p>sudu -i<\/p>\n<p>openMPI  Shanghai  Server  1.8.4 <\/p>\n<p>wget -c https:\/\/download.open-mpi.org\/release\/open-mpi\/v1.8\/openmpi-1.8.4.tar.gz<br \/>\nwget -c https:\/\/download.open-mpi.org\/release\/open-mpi\/v1.8\/openmpi-1.8.4-1.src.rpm<br \/>\nchmod -R 755  openmpi-1.8.4-1.src.rpm<br \/>\nrpm -ivh openmpi-1.8.4-1.src.rpm<\/p>\n<p>https:\/\/download.open-mpi.org\/release\/open-mpi\/v4.0\/openmpi-4.0.1-1.src.rpm<br \/>\nhttps:\/\/www.open-mpi.org\/software\/ompi\/v4.0\/<br \/>\nhttps:\/\/www.open-mpi.org\/software\/ompi\/v1.8\/<\/p>\n<p>wget -N \u2013\u2013no-check-certificate ftp:\/\/lsdyna-china:lsdyna-china@ftp.lsdyna-china.com\/LS-DYNA\/HPMPI\/hpmpi-2.03.01.00-20090402r.x86_64.rpm<br \/>\nchmod 755 hpmpi-2.03.01.00-20090402r.x86_64.rpm<br \/>\nrpm -ivh hpmpi-2.03.01.00-20090402r.x86_64.rpm<\/p>\n<p>FDS installation Guide https:\/\/github.com\/firemodels\/fds\/wiki\/Installing-and-Running-FDS-on-a-Linux-Cluster<\/p>\n<p>FDS    https:\/\/github.com\/firemodels\/fds\/releases<\/p>\n<p>wget -c https:\/\/github.com\/firemodels\/fds\/releases\/download\/FDS6.7.1\/FDS6.7.1-SMV6.7.5_linux64.sh<br \/>\nchmod -R 755 FDS6.7.1-SMV6.7.5_linux64.sh<br \/>\n.\/FDS6.7.1-SMV6.7.5_linux64.sh<\/p>\n<p>source $HOME\/FDS\/FDS6\/bin\/FDS6VARS.sh<br \/>\nsource \/opt\/FDS\/FDS6\/bin\/FDS6VARS.sh<\/p>\n<p>echo &#8216;source \/opt\/FDS\/FDS6\/bin\/FDS6VARS.sh&#8217;&gt;&gt;  \/etc\/rc.local<\/p>\n<p>export LD_LIBRARY_PATH=<\/p>\n<p>export PATH=&#8221;$PATH:\/opt\/FDS\/FDS6\/bin&#8221;<\/p>\n<p>mpirun -np 32 fds m32.fds<\/p>\n<p>export PATH=&#8221;$PATH:\/opt\/hpmpi\/bin\/&#8221;<\/p>\n\n\n<p># set unlimited stack size<br \/>\nulimit -s unlimited <\/p>\n<p>#check stack size<br \/>\nulimit -a <\/p>\n<p>\u6570\u636e\u6bb5\u957f\u5ea6\uff1a\tulimit -d unlimited<\/p>\n<p>\u6700\u5927\u5185\u5b58\u5927\u5c0f\uff1a\tulimit -m unlimited<\/p>\n<p>\u5806\u6808\u5927\u5c0f\uff1a\tulimit -s unlimited<\/p>\n<p>CPU \u65f6\u95f4\uff1a\tulimit -t unlimited<br \/>\n\u865a\u62df\u5185\u5b58\uff1a\tulimit -v unlimited<\/p>\n\n\n<p>Linux \u8c03\u4f18\u65b9\u6848 \u5806\u6808ulimit<\/p>\n<p>Linux\u5bf9\u4e8e\u6bcf\u4e2a\u7528\u6237\uff0c\u7cfb\u7edf\u9650\u5236\u5176\u6700\u5927\u8fdb\u7a0b\u6570\u3002\u4e3a\u63d0\u9ad8\u6027\u80fd\uff0c\u53ef\u4ee5\u6839\u636e\u8bbe\u5907\u8d44\u6e90\u60c5\u51b5\uff0c\u8bbe\u7f6e\u5404linux \u7528\u6237\u7684\u6700\u5927\u8fdb\u7a0b\u6570<\/p>\n<p>ulimit -a \u6765\u663e\u793a\u5f53\u524d\u7684\u5404\u79cd\u7528\u6237\u8fdb\u7a0b\u9650\u5236<\/p>\n<p>\u6682\u65f6\u5730\uff0c\u9002\u7528\u4e8e\u901a\u8fc7 ulimit \u547d\u4ee4\u767b\u5f55 shell \u4f1a\u8bdd\u671f\u95f4\u3002<\/p>\n<p>\u5efa\u8bae\u8bbe\u7f6e\u6210\u65e0\u9650\u5236\uff08unlimited\uff09\u7684\u4e00\u4e9b\u91cd\u8981\u8bbe\u7f6e\u662f\uff1a<\/p>\n<p>\u6570\u636e\u6bb5\u957f\u5ea6\uff1aulimit -d unlimited<\/p>\n<p>\u6700\u5927\u5185\u5b58\u5927\u5c0f\uff1aulimit -m unlimited<\/p>\n<p>\u5806\u6808\u5927\u5c0f\uff1aulimit -s unlimited<\/p>\n<p>CPU \u65f6\u95f4\uff1aulimit -t unlimited<\/p>\n<p>\u865a\u62df\u5185\u5b58\uff1aulimit -v unlimited<\/p>\n<p>\u6c38\u4e45\u5730\uff0c\u901a\u8fc7\u5c06\u4e00\u4e2a\u76f8\u5e94\u7684 ulimit \u8bed\u53e5\u6dfb\u52a0\u5230\u7531\u767b\u5f55 shell \u8bfb\u53d6\u7684\u6587\u4ef6\u4e2d\uff0c \u5373\u7279\u5b9a\u4e8e shell\u7684\u7528\u6237\u8d44\u6e90\u6587\u4ef6\uff0c\u5982\uff1a<\/p>\n<p>1)\u3001\u89e3\u9664 Linux \u7cfb\u7edf\u7684\u6700\u5927\u8fdb\u7a0b\u6570\u548c\u6700\u5927\u6587\u4ef6\u6253\u5f00\u6570\u9650\u5236\uff1a<\/p>\n<p>vi \/etc\/security\/limits.conf<\/p>\n<p># \u6dfb\u52a0\u5982\u4e0b\u7684\u884c<\/p>\n<p>* soft noproc 11000<\/p>\n<p>* hard noproc 11000<\/p>\n<p>\u4e0a\u8fb9\u4e24\u884c\u53ef\u4ee5\u7528\u4e00\u884c\u4ee3\u66ff * &#8211; noproc 11000<\/p>\n<p>-\u7684\u610f\u601d\u4e3asoft \u548chard \u5168\u90e8\u9650\u5236 \u3002<\/p>\n<p>* soft nofile 4100<\/p>\n<p>* hard nofile 4100<\/p>\n<p>\u8bf4\u660e\uff1a* \u4ee3\u8868\u9488\u5bf9\u6240\u6709\u7528\u6237\uff0cnoproc \u662f\u4ee3\u8868\u6700\u5927\u8fdb\u7a0b\u6570\uff0cnofile \u662f\u4ee3\u8868\u6700\u5927\u6587\u4ef6\u6253\u5f00\u6570<\/p>\n<p>2)\u3001\u8ba9 SSH \u63a5\u53d7 Login \u7a0b\u5f0f\u7684\u767b\u5165\uff0c\u65b9\u4fbf\u5728 ssh \u5ba2\u6237\u7aef\u67e5\u770b ulimit -a \u8d44\u6e90\u9650\u5236\uff1a<\/p>\n<p>a\u3001vi \/etc\/ssh\/sshd_config<\/p>\n<p>\u628a UserLogin \u7684\u503c\u6539\u4e3a yes\uff0c\u5e76\u628a # \u6ce8\u91ca\u53bb\u6389<\/p>\n<p>b\u3001\u91cd\u542f sshd \u670d\u52a1\uff1a<\/p>\n<p>\/etc\/init.d\/sshd restar<\/p>\n<p>t<br \/>\n3)\u3001\u4fee\u6539\u6240\u6709 linux \u7528\u6237\u7684\u73af\u5883\u53d8\u91cf\u6587\u4ef6\uff1a<\/p>\n<p>vi \/etc\/profile<\/p>\n<p>ulimit -u 10000<\/p>\n<p>ulimit -n 4096<\/p>\n<p>ulimit -d unlimited<\/p>\n<p>ulimit -m unlimited<\/p>\n<p>ulimit -s unlimited<\/p>\n<p>ulimit -t unlimited<\/p>\n<p>ulimit -v unlimited<\/p>\n<p>\u4fdd\u5b58\u540e\u8fd0\u884c#source \/etc\/profile \u4f7f\u5176\u751f\u6548<\/p>\n<p>https:\/\/blog.csdn.net\/isoleo\/article\/details\/51732687<\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kadence_starter_templates_imported_post":false,"footnotes":""},"categories":[3],"tags":[],"class_list":["post-332","post","type-post","status-publish","format-standard","hentry","category-arup-solutions"],"_links":{"self":[{"href":"https:\/\/airy.cn\/WordPress\/index.php?rest_route=\/wp\/v2\/posts\/332","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/airy.cn\/WordPress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/airy.cn\/WordPress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/airy.cn\/WordPress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/airy.cn\/WordPress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=332"}],"version-history":[{"count":1,"href":"https:\/\/airy.cn\/WordPress\/index.php?rest_route=\/wp\/v2\/posts\/332\/revisions"}],"predecessor-version":[{"id":1258,"href":"https:\/\/airy.cn\/WordPress\/index.php?rest_route=\/wp\/v2\/posts\/332\/revisions\/1258"}],"wp:attachment":[{"href":"https:\/\/airy.cn\/WordPress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=332"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/airy.cn\/WordPress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=332"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/airy.cn\/WordPress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=332"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}