NCEPLIBS构建安装中w3emc模块报错如下:
无。
vi /path/to/NCEPLIBS/NCEPLIBS-1.2.0/build/CMakeFiles/w3emc.dir/build.make
cd /path/to/NCEPLIBS/NCEPLIBS-1.2.0/build/w3emc/src/w3emc-build && sed -i "s/isystem/I/g" `grep -rl "isystem"` && $(MAKE)
执行1.a之后,按“Esc”键,输入“:set nu”,按“Enter”即可显示出行号。
vi /path/to/NCEPLIBS/NCEPLIBS-1.2.0/download/nceplibs-w3emc/src/gblevents.f
INTEGER IDATE(8,2),JDATE(8,2),KDATE(8,2),KINDX(2),KINDX_2
将第2783行ELSE到ENDIF内容替换为如下:
ELSE KINDX_2 = ABS(KINDX(2)) COFS= $ ((KINDX_2*COFS_f(:,:,1)) +(KINDX(1)*COFS_f(:,:,2)))/3. COFV= $ ((KINDX_2*COFV_f(:,:,:,1))+(KINDX(1)*COFV_f(:,:,:,2)))/3. ENDIF
执行2.a之后,按“Esc”键,输入“:set nu”,按“Enter”即可显示出行号。
make