24小时热门版块排行榜    

Znn3bq.jpeg
查看: 882  |  回复: 1

机敏机敏

金虫 (小有名气)

[求助] gcc或者icc

求助帮忙解决这个问题。文字是复制好的,和图片内容是一样的。需要执行后不出错,谢谢。
To achieve this I use to create a local directory to store the libraries and header files. When using intel compilers (e.g. icc), I use ~/usr-intel

export USR=usr-intel
mkdir -p $HOME/$USR

When I want to use gnu compilers (e.g. gcc) to compile the libraries, I use

export USR=usr
mkdir -p $HOME/$USR

I also use to download software packages to ~/soft. All these are consistent with the wiki page How to compile Qbox.

export SOFT=soft
mkdir -p $HOME/$SOFT

You may want to put the lines export USR=usr; export SOFT=soft in your ~/.bash_profile file, so that they are automatically set when you log-in.

This document does not cover the usage of pimc++ but just the compilation, a manual of pimc++ is provided in the pimc++ main page.

First step is to choose a compiler and stick to it for compiling the different libraries and the final pimc++ executable. On su-ahpcrc, the intel mpi compiler is selected by,

mpi-selector --set openmpi14_intel-1.4.1

Pimc++ is known to have issues with mpich2 [1]. That's why we choose the openmpi version here.

To use gnu mpi compilers, I use the following on su-ahpcrc

mpi-selector --set openmpi_gcc-1.2.6

After the mpi-selector command, you need to log-out the cluster and log-in again. Use the command which mpicc to make sure you are indeed using the desired mpi compiler.

gcc或者icc
11.jpg


gcc或者icc-1
22.jpg
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

spielfuehrer

金虫 (正式写手)

你好,请问你的PIMC++在哪下的?
2楼2016-03-01 15:02:21
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 机敏机敏 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考博] 化学专业申博 +3 赵子羊 2026-05-23 4/200 2026-05-24 18:10 by 工大学长
[基金申请] 评审有感 +16 popular289 2026-05-18 27/1350 2026-05-24 17:34 by hhs666
[教师之家] 论文撤稿了 +4 bjvtcliu 2026-05-24 7/350 2026-05-24 17:29 by bjvtcliu
[硕博家园] 售SCI一区T0P文章,我:8.O.5.5.1.O.5.4,科目齐全,可+急 +4 hvkbtfonbv 2026-05-23 4/200 2026-05-24 17:21 by 75ui6h7z2t
[博后之家] 售SCI一区T0P文章,我:8.O.5.5.1.O.5.4,科目齐全,可+急 +3 hvkbtfonbv 2026-05-23 3/150 2026-05-24 17:10 by 75ui6h7z2t
[考博] 售SCI一区T0P文章,我:8.O.5.5.1.O.5.4,科目齐全,可+急 +3 hvkbtfonbv 2026-05-23 3/150 2026-05-24 17:01 by 75ui6h7z2t
[考研] 售SCI一区T0P文章,我:8.O.5.5.1.O.5.4,科目齐全,可+急 +3 a2tycdlnq1 2026-05-23 5/250 2026-05-24 16:21 by hhx1yx9evi
[论文投稿] 售SCI一区T0P文章,我:8.O.5.5.1.O.5.4,科目齐全,可+急 +3 a2tycdlnq1 2026-05-23 4/200 2026-05-24 16:16 by hhx1yx9evi
[基金申请] 河北省自然科学基金 +6 Peterchao 2026-05-18 9/450 2026-05-24 16:02 by 130067131
[硕博家园] 售SCI一区T0P文章,我:8.O.5.5.1.O.5.4,科目齐全,可+急 +4 pmo95bazuy 2026-05-23 8/400 2026-05-24 15:56 by 1uy1ht2y9r
[基金申请] 西安交大新媒学院副院长用撤稿论文结题 +3 bjvtcliu 2026-05-24 5/250 2026-05-24 10:16 by kudofaye
[基金申请] 青B发送上会通知了吗 +5 chemBioBro 2026-05-22 7/350 2026-05-23 12:35 by zhuifengzhy
[考博] 博士申请 +3 焦晓明 2026-05-21 3/150 2026-05-23 11:26 by mlc840311
[文学芳草园] 献血感触 +7 呀呀好傻 2026-05-19 13/650 2026-05-21 20:15 by 呀呀好傻
[基金申请] 国自然评分 +4 无名者登山 2026-05-20 5/250 2026-05-21 16:35 by swuq
[基金申请] 国自然上会要求 +7 无名者登山 2026-05-18 11/550 2026-05-21 15:50 by draco1987
[基金申请] 提交了我也来说说感想 +9 fummck 2026-05-20 10/500 2026-05-21 14:17 by draco1987
[有机交流] 反应很差,大量原料没有反应 5+3 Mr.Zot 2026-05-19 8/400 2026-05-20 22:19 by Equinoxhua
[考博] 如果工作了想读博,可以边工作边读全日制嘛? 30+3 铁达火车 2026-05-18 5/250 2026-05-20 09:33 by tfang
[考博] 博士申请 +5 星…… 2026-05-18 6/300 2026-05-18 23:49 by 糊糊涂涂好
信息提示
请填处理意见