24小时热门版块排行榜    

CyRhmU.jpeg
查看: 1509  |  回复: 4

lihb734

铁杆木虫 (职业作家)

站在计算化学入门的门槛上

[交流] 【求助】高斯的内存分配方式已有4人参与

今天在CCL上看到一帖子:
问题如下:
During submission of input files to Gaussian setup I have allocated the memory  %Mem=3GB (4 GB RAM installed on computer) but that is not used and only 98MB to 100MB is used which may be the default amount of memory to be used.
Please suggest solution
My input file is like this
#!/bin/csh
g09 <Butanol.log
%Chk=Butanol
%nproc=2
%mem=3GB
# opt freq b3lyp/6-31g geom=connectivity maxdisk=50GB

Butanol

0 2

好心人回复如下:
I'm using Gaussian 03 not 09, but I suppose settings are the same. Now if
I'm not wrong, %mem stands for the memory per core. Because %nproc=2 in
your case, Gaussian looks for 2 x 3 GB = 6 GB of memory, but your total
physical memory is 4 GB. So, that's why it used only 98-100 MB (default
memory setting is 6 MW which is roughly equal to 96 MB). Try %mem=1500MB,
this should work. With %nproc=2, this means that Gaussian will use 3GB of
memory. Also, try not to spend all of the memory for Gaussian, keep some
for the operating system and other stuff.

现在我自己想确认的是,%mem指认的内存是对每个CPU的,还是在平行情况下指认的总内存;内存的分配方式在G03和G09中有变化吗?谢谢软件硬件高手指教。
回复此楼
前途光明,出路难觅!
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

heyo_123

至尊木虫 (职业作家)

想知道结果!!!帮顶!!!
2楼2010-07-16 12:18:25
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

ybyygu

铁杆木虫 (小有名气)

★ ★
小木虫(金币+0.5):给个红包,谢谢回帖交流
heyo_123(金币+1):鼓励交流 !!! 2010-07-17 08:02:54
根据我的经验, %mem应该指的是并行计算条件下的总内存, 单个CPU分的内存为%mem/%nproc
如果某个link不能并行, 只能单CPU运行的话, 最多能使用的内存也就只有%mem/%nproc
g09里与g03相同

[ Last edited by ybyygu on 2010-7-16 at 19:59 ]
3楼2010-07-16 19:57:33
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

lihb734

铁杆木虫 (职业作家)

站在计算化学入门的门槛上

引用回帖:
Originally posted by ybyygu at 2010-07-16 19:57:33:
根据我的经验, %mem应该指的是并行计算条件下的总内存, 单个CPU分的内存为%mem/%nproc
如果某个link不能并行, 只能单CPU运行的话, 最多能使用的内存也就只有%mem/%nproc
g09里与g03相同

[ Last edited by y ...

谢谢您的热心解答。
前途光明,出路难觅!
4楼2010-07-16 21:38:55
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

abbott

金虫 (著名写手)

不要用QQ问我东西

★ ★
小木虫(金币+0.5):给个红包,谢谢回帖交流
aylayl08(金币+1): 2010-07-21 16:52:14
不要凭经验了 这个玩意 说明书了写的很明白的
Chemistry[]==[]Chem[]is[]try!!!
5楼2010-07-16 23:22:06
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 lihb734 的主题更新
普通表情 高级回复(可上传附件)
信息提示
请填处理意见