cd /path/to/NCEPLIBS
tar -zxvf NCEPLIBS-1.2.0.tar.gz
cd NCEPLIBS-1.2.0
vi /path/to/NCEPLIBS/NCEPLIBS-1.2.0/CMakeLists.txt
set(GIT_URL "git://github.com/noaa-emc/nceplibs-${lib}") set(GIT_URL "git://github.com/noaa-emc/emc_crtm") set(GIT_URL "git://github.com/noaa-emc/emc_post")
执行5.a之后,按“Esc”键,输入“:set nu”,按“Enter”即可显示出行号。
mkdir -p build && mkdir nceplibs cd build
CC=mpicc CXX=mpicxx FC=mpif90 cmake ../ -DCMAKE_INSTALL_PREFIX=../nceplibs -DCMAKE_VERBOSE_MAKEFILE=on
make