24小时热门版块排行榜    

Znn3bq.jpeg
北京石油化工学院2026年研究生招生接收调剂公告
查看: 470  |  回复: 4
当前主题已经存档。
【有奖交流】积极回复本帖子,参与交流,就有机会分得作者 ghzhong 的 10 个金币
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

ghzhong

金虫 (小有名气)

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

如题:

请大家提供点参考,我在AMD Opteron Professor 8356机器上已经可以运行单个cpu的Gaussian03计算了;现在想实现并行计算(就是同一个机器上的多CPU计算,而不是cluster上的多node并行),请问怎么设置呵?
回复此楼
已阅   回复此楼   关注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的回帖
查看全部 5 个回答

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的回帖
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 362求调剂 +8 我要考大 2026-04-06 12/600 2026-04-08 00:32 by JourneyLucky
[考研] 生物医药调剂|SCI中科院三区一作+多项科研成果 +8 likangxing 2026-04-07 11/550 2026-04-08 00:02 by lys0704
[考研] 考研调剂 +8 冰冰,,, 2026-04-07 8/400 2026-04-07 22:49 by JourneyLucky
[考研] 259求调剂 +5 就爱吃土豆呀呀 2026-04-07 5/250 2026-04-07 22:40 by JourneyLucky
[考研] 316求调剂 +4 15318418673 2026-04-07 4/200 2026-04-07 22:12 by hemengdong
[考研] 求调剂 +11 张zic 2026-04-05 12/600 2026-04-07 17:20 by 橘咂!
[考研] 305分求调剂 +3 哈_哈_哈_哈_哈 2026-04-04 5/250 2026-04-07 14:49 by 哈_哈_哈_哈_哈
[考研] 304求调剂 +14 c297914 2026-04-05 15/750 2026-04-07 11:15 by 诗与自由
[考研] 085405软件工程301分求调剂,专硕可跨专业,四六级已过 +3 静静想想 2026-04-05 3/150 2026-04-06 15:23 by nepu_uu
[考研] 377求调剂 +6 by.ovo 2026-04-05 6/300 2026-04-05 22:18 by dongzh2009
[考研] 298求调剂 +3 manman511 2026-04-05 3/150 2026-04-05 18:09 by kk112233
[考研] 353求调剂 +10 MayUxw1 2026-04-03 10/500 2026-04-05 09:23 by 无际的草原
[考研] 278求调剂 +14 范婷娜 2026-04-04 15/750 2026-04-04 22:15 by lqwchd
[考研] 材料383求调剂 +5 郭阳阳阳成 2026-04-04 5/250 2026-04-04 19:06 by dongzh2009
[考研] 334求调剂 +8 曾仰之 2026-04-03 8/400 2026-04-04 11:16 by w_xuqing
[考研] 材料调剂 +11 吴棂颖! 2026-04-03 11/550 2026-04-04 09:56 by 小小树2024
[考研] 319求调剂 +18 太容易1018 2026-04-01 18/900 2026-04-03 11:18 by linyelide
[考研] 化学070300-总分378-求调剂 +5 挪椅子的泡泡糖 2026-04-02 5/250 2026-04-02 22:20 by ZXlzxl0425
[考研] 求调剂 302分初试 0854 +5 伶可乐 2026-04-02 5/250 2026-04-02 17:53 by 笔落锦州
[考研] 一志愿北交大材料工程总分358 +3 cs0106 2026-04-02 5/250 2026-04-02 11:37 by olim
信息提示
请填处理意见