LoginSignup
4
1

More than 3 years have passed since last update.

Intel MPI で WPS

Last updated at Posted at 2019-11-17

Linux環境で、WRF という、オープンソースの風のシミュレーションソフトを使っています

WRF には、前処理プログラムの WPS と、本計算プログラムの WRF があります

https://github.com/wrf-model/WPS/releases
https://github.com/wrf-model/WRF/releases

ver 4.0.2 までは普通にビルド出来たのですが
ver 4.0.3 から WPS でビルドエラーが出たので、原因と対策をここにメモします

【バージョン】
WPS ver 4.1
WPS ver 4.0.3

【現象】
Intel MPI のインストール環境で
Linux x86_64, Intel compiler (dmpar)
を選んでコンパイルすると、ビルドに失敗する

【原因】
./configur で作成される、configure.wps の中の
DM_FC = mpif90
DM_CC = mpicc

【対策】
以下のように修正
DM_FC = mpif90 f90=ifort
DM_CC = mpicc cc=icc

【備考】
Intel MPI は、コンパイラを指定しなかった場合
mpif90 や mpicc として呼ぶと、コンパイラとして
gfortran や gcc を使用します

4
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
1