24小时热门版块排行榜    

查看: 840  |  回复: 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的回帖
相关版块跳转 我要订阅楼主 机敏机敏 的主题更新
信息提示
请填处理意见