NCEPLIBS构建安装中gfsio模块报错如下:
无。
需要增加flang的处理分支。
vi /path/to/NCEPLIBS/NCEPLIBS-1.2.0/download/nceplibs-gfsio/src/CMakeLists.txt
elseif(CMAKE_Fortran_COMPILER_ID MATCHES "^(Flang)$") set(CMAKE_Fortran_FLAGS "-g -fconvert=big-endian -ffree-form ${CMAKE_Fortran_FLAGS}") set(CMAKE_Fortran_RELEASE "-O2")
执行1.a之后,按“Esc”键,输入“:set nu”,按“Enter”即可显示出行号。
make