spml ビルドログ @ pifront
- 作業日 2021/10/04
- 作業者 高橋芳幸
準備
必要なファイルの取得
必要なファイル
- spmodel
http://www.gfd-dennou.org/library/spmodel/spml-0.8.0.tar.gz ver. 0.8.0
ビルド
spml
ビルドは, ~/tmp/spml 以下で行う.
$ tar xvf spml-0.8.0.tar.gz $ cd spml-0.8.0 $ export FC=mpif90 $ export FCFLAGS="-march=core-avx2 -qopenmp" $ ./configure \ --with-ispack=/home/G50002/yot/local/ispack-1.0.4-intel+hpe/lib/libisp.a \ --with-netcdf=/home/G50002/yot/local/netcdf-c-4.8.0-fortran-4.5.3-intel+hpe/lib/libnetcdf.a \ --with-netcdff=/home/G50002/yot/local/netcdf-c-4.8.0-fortran-4.5.3-intel+hpe/lib/libnetcdff.a \ --with-gtool5=/home/G50002/yot/local/gtool5-20160613-intel+hpe/lib/libgtool5.a \ --prefix=/home/G50002/yot/local/spml-0.8.0-intel+hpe \ --with-mpifc=/opt/hpe/hpc/mpt/mpt-2.23/bin/mpif90 \ --with-mpiexec=/opt/hpe/hpc/mpt/mpt-2.23/bin/mpirun $ make
成功.
% make test
は上手く通らない.
libtool: link: mpiifort -I./../../include -I/home/G50002/yot/local/gtool5-20160613-intel/include -I/home/G50002/yot/local/netcdf-c-4.8.0-fortran-4.5.3-intel/include -march=core-avx2 -qopenmp -o ae_module_test_base1d ae_module_test_base1d.o -L/home/G50002/yot/tmp/spml/spml-0.8.0/libsrc /home/G50002/yot/tmp/spml/spml-0.8.0/libsrc/.libs/libspml-omp.a -L/home/G50002/yot/local/gtool5-20160613-intel/lib -L/home/G50002/yot/local/netcdf-c-4.8.0-fortran-4.5.3-intel/lib -L/home/G50002/yot/local/ispack-1.0.4-intel/lib -lgtool5 /home/G50002/yot/local/netcdf-c-4.8.0-fortran-4.5.3-intel/lib/libnetcdff.so /home/G50002/yot/local/netcdf-c-4.8.0-fortran-4.5.3-intel/lib/libnetcdf.so -lhdf5_hl -lhdf5 -lz -lcurl -lm -lisp -rpath /home/G50002/yot/local/netcdf-c-4.8.0-fortran-4.5.3-intel/lib -rpath /home/G50002/yot/local/netcdf-c-4.8.0-fortran-4.5.3-intel/lib ifort: command line warning #10006: ignoring unknown option '-rpath' ifort: command line warning #10006: ignoring unknown option '-rpath' /home/G50002/yot/local/netcdf-c-4.8.0-fortran-4.5.3-intel/lib: file not recognized: Is a directory make[3]: *** [Makefile:284: ae_module_test_base1d] Error 1 make[3]: Leaving directory '/home/G50002/yot/tmp/spml/spml-0.8.0/test/ae_module' make[2]: *** [Makefile:491: check-am] Error 2 make[2]: Leaving directory '/home/G50002/yot/tmp/spml/spml-0.8.0/test/ae_module' make[1]: *** [Makefile:321: check-recursive] Error 1 make[1]: Leaving directory '/home/G50002/yot/tmp/spml/spml-0.8.0/test' make: *** [Makefile:320: check-recursive] Error 1
ひとまずインストールして使ってみる.
$ make install