install-cm1

このページは、CM1(First generation of Cloud Model produced by George Bryan)の

インストール及びコンパイルに関するメモです。

Last modified: 2013/06/20

インストールに必要なライブラリ

  • NetCDF

  • MPICH2 (MPI計算が必要な場合)

  • HDF5 (HDFフォーマットでの出力をする場合)

コンパイル時の設定

#----------------------------------------------------------------------

# CentOS 5.8 x86_64 (MPI & OpenMP with Intel Compiler)

FC = mpif90

OPTS = -I../include -O3 -xSSE4.2 -openmp -fma -ipo -unroll0 -fno-alias -ftz -assume byterecl

CPP = cpp -C -P -traditional

DM = -DMPI

#----------------------------------------------------------------------

# Red Hat Enterprise Linux 6.2 x86_64 (MPI & OpenMP with Intel Compiler, for "Laurel")

FC = mpiifort

OPTS = -I../include -openmp -O3 -AVX -fma -ipo -unroll0 -fno-alias -ftz -assume byterecl

CPP = cpp -C -P -traditional

DM = -DMPI

#----------------------------------------------------------------------

# Red Hat Enterprise Linux 6.2 x86_64 (MPI & OpenMP with PGI Compiler, for "Laurel")

FC = ftn

OPTS = -Mfree -I../include -pc 64 -Kieee -Ktrap=none -O3 -tp sandybridge-64 -mp

CPP = cpp -C -P -traditional

DM = -DMPI

#----------------------------------------------------------------------

# SuSE Linux 11.1 x86_64 (MPI & OpenMP with Intel Compiler, for "Camphor")

FC = ftn

OPTS = -I../include -openmp -O3 -AVX -fma -ipo -unroll0 -fno-alias -ftz -assume byterecl

CPP = cpp -C -P -traditional

DM = -DMPI

#----------------------------------------------------------------------

# SuSE Linux 11.1 x86_64 (MPI & OpenMP with PGI Compiler, for "Camphor")

FC = ftn

OPTS = -Mfree -I../include -pc 64 -Kieee -Ktrap=none -O3 -fast -tp bulldozer-64 -mp

CPP = cpp -C -P -traditional

DM = -DMPI

#----------------------------------------------------------------------

# SuSE Linux 11.1 x86_64 (MPI & OpenMP with Cray Compiler, for "Camphor")

FC = ftn

OPTS = -f free -I../include -O3 -ev -ez -el -Rb -em -eZ -h omp -h pic -dynamic

CPP = cpp -C -P -traditional

DM = -DMPI

#----------------------------------------------------------------------

# Cygwin on Windows 7 (OpenMP with GNU compiler)

FC = gfortran

OPTS = -O3 -fopenmp -frecord-marker=4 -ffree-form -ftree-vectorize -ftree-loop-linear -funroll-loops -I../include

CPP = cpp -C -P -traditional

#----------------------------------------------------------------------