dcpam build log @ front end computer of Brown Univ. cluster
- 作業日 2015/07/29
- 作業者 高橋芳幸
環境
- gcc version 4.4.5 20110214 (Red Hat 4.4.5-6) (GCC)
準備
ライブラリのビルド
- <URL:hdf5.htm>
- <URL:netcdf.htm>
- <URL:gtool.htm>
- <URL:ispack.htm>
- <URL:spml.htm>
- <URL:gtool-mpi.htm>
- <URL:ispack-mpi.htm>
- <URL:spml-mpi.htm>
- <URL:gphys.htm>
必要なファイルの取得
必要なファイル
- dcpam
http://www.gfd-dennou.org/library/dcpam/dcpam5/dcpam5-20150804.tgz
ビルド
set path and LD_LIBRARY_PATH in .bashrc.
dcpam (for serial)
$ tar xvf dcpam5-20150804.tgz $ cd dcpam5-20140204 $ export FC=spmfrt $ export FFLAGS="-std=f95 -pedantic -fopenmp" $ LIBDIR="/users/guest090/data/guest090/local" $ ./configure \ --with-netcdf=$LIBDIR/netcdf-4.3.3.1/lib/libnetcdf.a \ --with-netcdff=$LIBDIR/netcdf-fortran-4.4.2/lib/libnetcdff.a \ --with-netcdf-include=$LIBDIR/netcdf-fortran-4.4.2/include \ --with-ispack=$LIBDIR/ispack-1.0.4/lib/libisp.a \ --with-gtool5=$LIBDIR/gtool5-20101228-1/lib/libgtool5.a \ --with-spml=$LIBDIR/spml-0.8.0/lib/libspml-omp.a $ make
dcpam (for MPI)
$ tar xvf dcpam5-20150804.tgz $ cd dcpam5-20140204 $ export FC=mpif90 $ export FFLAGS="-std=f95 -pedantic -fopenmp" $ LIBDIR="/users/guest090/data/guest090/local" $ ./configure \ --with-netcdf=$LIBDIR/netcdf-4.3.3.1/lib/libnetcdf.a \ --with-netcdff=$LIBDIR/netcdf-fortran-4.4.2/lib/libnetcdff.a \ --with-netcdf-include=$LIBDIR/netcdf-fortran-4.4.2/include \ --with-ispack=$LIBDIR/ispack-1.0.4/lib/libisp.a \ --with-gtool5=$LIBDIR/gtool5-20101228-1/lib/libgtool5.a \ --with-spml=$LIBDIR/spml-0.8.0/lib/libspml-omp.a $ make