コンパイラとmpiモジュールの組み合わせについて

GNU、Intel CompilerとOpenMPIの組み合わせで利用が可能です。

OpenMPIのmoduleをloadする前に使用するコンパイラのmoduleをloadすることによりご利用可能です。
GNUについてはOS提供のものとなりますので、4.8.5となります。
利用可能なバージョンについては以下のコマンドで確認してください。

$ module av


以下、ご利用方法になります。

1. Intel版OpenMPI

$ module load intel 
$ module load cuda 
$ module load openmpi/2.1.1 
$ mpicc -V 
Intel(R) C Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 17.0.4.196 Build 20170411 Copyright (C) 1985-2017 Intel Corporation. All rights reserved.

2. GNU版OpenMPI

$ module purge /*既にload されているmoduleのpurge*/
$ module load cuda $ module load openmpi/2.1.1
$ mpicc -v
Using built-in specs. COLLECT_GCC=/usr/bin/gcc COLLECT_LTO_WRAPPER=/usr/lib64/gcc/x86_64-suse-linux/4.8/lto-wrapper Target: x86_64-suse-linux Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.8 --enable-ssp --disable-libssp --disable-plugin --