24小时热门版块排行榜    

Znn3bq.jpeg
查看: 482  |  回复: 4
当前主题已经存档。
【有奖交流】积极回复本帖子,参与交流,就有机会分得作者 ghzhong 的 10 个金币

ghzhong

金虫 (小有名气)

[交流] [求助] 在AMD Opteron Professor 8356的机器上怎样实现Gaussian03的并行计算

如题:

请大家提供点参考,我在AMD Opteron Professor 8356机器上已经可以运行单个cpu的Gaussian03计算了;现在想实现并行计算(就是同一个机器上的多CPU计算,而不是cluster上的多node并行),请问怎么设置呵?
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

abbott

金虫 (著名写手)

不要用QQ问我东西

在Linux系统版本的G03中,是可以直接支持共享内存的多CPU计算的。

但是你必须按照官方的说明要求和流程安装你的G03。
里面涉及到某些库文件的自动路径问题。 最好是安装官方的说明安装。
不要直接使用编译好的版本。

如果你要使用4个CPU,
可以在输入文件里面加入
%Nproc=4可以了。

如果机器只有你一个人使用,
你自己的总内存保持在物理内存的80%左右。
太大的话,系统会过多的使用交换分区,导致性能下降。

提交作业的命令依旧是
g03 test.com &

OR

g03 test.i test.o &


如果不要使,请告知我。
abbott.cn@gmail.com
Chemistry[]==[]Chem[]is[]try!!!
2楼2008-10-11 12:56:00
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

ghzhong

金虫 (小有名气)

谢谢你的回复呵。我的Gaussian03是用的编译好的,我只是设置一下bashrc文件而已,我没有用source code重新编译。在我所有的文件中有个README讲了些东西:
1.  Check that you have the correct versions of the OS, and libraries for
    your machine, as listed in the file platform_e01.htm file on G03 CD.
    Release notes can be found in release_e01.htm.

2.  Select a group which will own the Gaussian files. Users who will
    run Gaussian should either already be in this group, or should
    have this added to their list of groups. Consult your system
    administrator if you need help with this process.

3.  Mount the CD. Information about how to do this for various
    types of computers is given on the following page.

4.  Change to the C shell, and set the g03root and mntpnt environment
    variables:

    $ /bin/csh
    % setenv mntpnt "/mnt/cdrom"       # Set to wherever cd is mounted.
    % setenv g03root ""           # Set to install location for G03.
    % cd $g03root

5.  Read the CD, set group ownership, and run the build script:

    % cat $mntpnt/tar/*.taz | zcat | tar xvf -
    % chgrp -R g03               # is the group from step 1.
    % cd g03
    % ./bsd/install

6.  You are now ready to run.  
实际我就是从第5步开始解压缩我的文件,然后./bsd/install,设置好自己的bashrc文件:
export g03root=/home/test12/zf/G03
export GAUSS_SCRDIR=/home/test12/zf/laji
source $g03root/g03/bsd/g03.profile

最后他提到要想并行还要进行下列设置:
If you are using Linda for network/cluster parallel processing, then edit
    the .cshrc file on each node that will be used as a linda worker. It should
    contain the following lines:

    if (! ($?LD_LIBRARY_PATH)) then
        setenv LD_LIBRARY_PATH XXX
    endif

    where XXX should be replaced by the g03 directory. $g03root is not
    set at this point, so the complete path (e.g. /home/software/g03) should
    be used.

我感觉对我也没有什么用呵,我也没有设置什么,所有并行还是算不成功。

请帮忙看一下,我的设置对不对。实现多cpu并行还要设置什么?
3楼2008-10-11 13:35:37
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

ma_chao

新虫 (初入文坛)

你的不成功是指什么?
无法计算,计算报错?还是看到CPU使用率不对?
如果有报错,是什么错误信息?
4楼2008-10-11 21:07:59
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

abbott

金虫 (著名写手)

不要用QQ问我东西

对三楼说

你只要在你的执行文件  (输入文件中), 加入%nproc=4 (用4个CPU)

共享内存模式的,还是用G03提交,
如果是节点并行的,用g03l 提交
Chemistry[]==[]Chem[]is[]try!!!
5楼2008-10-11 21:20:52
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 ghzhong 的主题更新
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 接受任何调剂 +3 也就是栗子 2026-04-17 3/150 2026-04-17 17:48 by Eurekall
[考研] 一志愿华中农业071010,320求调剂 +16 困困困困坤坤 2026-04-14 18/900 2026-04-17 17:00 by zhanglin_84
[论文投稿] 有没有接收比较快的sci期刊呀,最好在一个月之内的,研三孩子求毕业 20+4 之护着 2026-04-16 5/250 2026-04-17 10:02 by bobvan
[考研] 300求调剂 +11 橙a777 2026-04-15 11/550 2026-04-16 22:43 by cfdbai
[考研] 材料相关专业344求调剂双非工科学校或课题组 +23 hualkop 2026-04-12 25/1250 2026-04-16 22:12 by SUSE_CL
[考研] 291求调剂 +11 关忆北. 2026-04-14 11/550 2026-04-16 15:18 by jiahl2024
[基金申请] RY:中国产出的科学垃圾论文,绝对数量和比例都世界第一 +7 zju2000 2026-04-14 18/900 2026-04-16 11:36 by 欢乐颂叶蓁
[考研] 290调剂生物0860 +38 哇哈哈,。 2026-04-11 44/2200 2026-04-16 09:52 by cuisz
[考研] 297,工科调剂? +10 河南农业大学-能 2026-04-14 10/500 2026-04-15 21:50 by noqvsozv
[考研] 求助调剂,跨调 +19 X十甫寸Y 2026-04-11 20/1000 2026-04-15 21:18 by cuisz
[考研] 通信工程求调剂!!! +6 zlb770521 2026-04-14 6/300 2026-04-15 20:00 by 学员JpLReM
[考研] 085801电气专硕272求调剂 +19 电气李 2026-04-13 21/1050 2026-04-15 13:37 by 黑科技矿业
[考研] 化工学硕294分,求导师收留 +32 yzyzx 2026-04-12 36/1800 2026-04-14 17:45 by lhj2009
[考研] 调剂 +12 月@163.com 2026-04-11 12/600 2026-04-14 15:37 by zs92450
[考研] 求调剂 +12 何气正 2026-04-13 13/650 2026-04-14 14:47 by zs92450
[考研] 245求调剂 +6 冰糖橘?汽水 2026-04-13 10/500 2026-04-14 10:49 by jyl0317
[考研] 0831一轮调剂失败求助 +10 小熊睿睿_s 2026-04-11 10/500 2026-04-12 22:43 by 长弓傲
[考研] 339求调剂 +8 hanwudada 2026-04-11 9/450 2026-04-12 15:36 by laoshidan
[考研] 求调剂,一志愿材料科学与工程985,365分, +8 材化李可 2026-04-11 10/500 2026-04-12 08:42 by 852137818
[考研] 352 求调剂 +6 yzion 2026-04-11 8/400 2026-04-11 16:24 by 明月此时有
信息提示
请填处理意见