Takuya Miyashita
This site
Web
Start:
*XBeach コンパイル メモ [#uc1d0ca7]
** mpi, netcdf 有効 [#h2b7a84b]
下は例.
#codeprettify{{
CC=gcc
FC=mpif90
./configure --with-mpi --with-netcdf
}}
NetCDF のライブラリ等のパスが通っていなかったらエラーにな...
下のコマンドのように pkg-config を介してライブラリの存在...
#codeprettify{{
pkg-config --libs netcdf
pkg-config --libs netcdf-fortran
}}
これがうまくいかなければ, --with-netcdf オプションをつけ...
上のコマンドでエラーを返すときは,環境変数 PKG_CONFIG_PAT...
#codeprettify{{
export PKG_CONFIG_PATH=${NETCDF_ROOT}/lib/pkgconfig:${PKG...
}}
~
~
** Macでのコンパイル [#p7fe995d]
brew で 以下のパッケージはは最低限必要だと思う.
#codeprettify{{
brew install autoconf
brew install automake
brew install libtool
}}
あとはよくわからない.
End:
*XBeach コンパイル メモ [#uc1d0ca7]
** mpi, netcdf 有効 [#h2b7a84b]
下は例.
#codeprettify{{
CC=gcc
FC=mpif90
./configure --with-mpi --with-netcdf
}}
NetCDF のライブラリ等のパスが通っていなかったらエラーにな...
下のコマンドのように pkg-config を介してライブラリの存在...
#codeprettify{{
pkg-config --libs netcdf
pkg-config --libs netcdf-fortran
}}
これがうまくいかなければ, --with-netcdf オプションをつけ...
上のコマンドでエラーを返すときは,環境変数 PKG_CONFIG_PAT...
#codeprettify{{
export PKG_CONFIG_PATH=${NETCDF_ROOT}/lib/pkgconfig:${PKG...
}}
~
~
** Macでのコンパイル [#p7fe995d]
brew で 以下のパッケージはは最低限必要だと思う.
#codeprettify{{
brew install autoconf
brew install automake
brew install libtool
}}
あとはよくわからない.
Page:
Edit with a page name which already exists