Navigation

    CFD中文网

    CFD中文网

    • Login
    • Search
    • 最新

    后处理内存消耗过大

    OpenFOAM
    3
    8
    160
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      cccrrryyy 教授 last edited by

      我需要提取一些监测点处的结果,但发现点过多的时候(上几百个)或者网格量很大的时候(普通工况是百万级别,但有时候会到几千万),postProcess在运行一段时间后报了个signal9,发现是内存耗光了。

      有大佬碰到这种情况么,怎么解决呀?

      I don't want to survive, I want to thrive.

      李东岳 1 Reply Last reply Reply Quote
      • 李东岳
        李东岳 管理员 @cccrrryyy last edited by

        @cccrrryyy 大佬机器多少内存

        CFD高性能服务器 http://dyfluid.com/servers.html

        C 1 Reply Last reply Reply Quote
        • C
          cccrrryyy 教授 @李东岳 last edited by

          @李东岳 不敢当不敢当。机器内存已经很大了,512,跑后处理耗掉了400多,然后节点上还有其他作业在跑,于是爆掉了。

          我是没想到跑个后处理能耗这么多内存的,震惊了。

          I don't want to survive, I want to thrive.

          1 Reply Last reply Reply Quote
          • bestucan
            bestucan 版主 副教授 last edited by

            可以试试扩大swap分区。
            如果装系统的时候没有用LVM,后面想改分区大小就比较麻烦了。

            可以把 swap 当成虚拟内存,可以用

            free -h
            

            查看

            滚来滚去……~(~o ̄▽ ̄)~o 滚来滚去都不能让大家看出来我不是老师么 O_o

            异步沟通方式(《posting style》from wiki)(下载后打开):
            https://www.jianguoyun.com/p/Dc52X2sQsLv2BRiqnKYD
            提问的智慧(github在gitee的镜像):
            https://gitee.com/bestucan/How-To-Ask-Questions-The-Smart-Way/blob/master/README-zh_CN.md

            1 Reply Last reply Reply Quote
            • 李东岳
              李东岳 管理员 last edited by

              我勒个去,也没想到后处理能搞400G。跑CFD也跑不掉400G啊崩溃。怎么听起来像是内存没释放的bug了

              CFD高性能服务器 http://dyfluid.com/servers.html

              bestucan C 2 Replies Last reply Reply Quote
              • bestucan
                bestucan 版主 副教授 @李东岳 last edited by

                我对大型计算缺乏想象力:143:
                要是往气象、核爆那边想,好像占多少内存都理直气壮:chouchou:

                要是普通的,那可能泄漏,或者后“处理方法”本身比较吃内存

                滚来滚去……~(~o ̄▽ ̄)~o 滚来滚去都不能让大家看出来我不是老师么 O_o

                异步沟通方式(《posting style》from wiki)(下载后打开):
                https://www.jianguoyun.com/p/Dc52X2sQsLv2BRiqnKYD
                提问的智慧(github在gitee的镜像):
                https://gitee.com/bestucan/How-To-Ask-Questions-The-Smart-Way/blob/master/README-zh_CN.md

                C 1 Reply Last reply Reply Quote
                • C
                  cccrrryyy 教授 @李东岳 last edited by

                  @李东岳 CFD我理解应该确实不怎么消耗内存的。我这个是流场中有几百个点位需要提取流线,命令就是正常的mpirun -np xxx postProcess -fields xxx -parallel这样,应该不会涉及到内存没释放的问题吧?

                  I don't want to survive, I want to thrive.

                  1 Reply Last reply Reply Quote
                  • C
                    cccrrryyy 教授 @bestucan last edited by

                    @bestucan 风场计算,没到气象那个级别,网格量在千万上下,多的能到五千万的样子。我研究下您说的swap这个思路。

                    I don't want to survive, I want to thrive.

                    1 Reply Last reply Reply Quote
                    • First post
                      Last post

                    CFD中文网 | 东岳流体 | 京ICP备15017992号-2
                    论坛登录问题反馈可联系 li.dy@dyfluid.com