Rate This Document
Findability
Accuracy
Completeness
Readability

Errors "F90-S-0021-Label field of continuation line is not blank" and "F90-S-0034-Syntax error at or near" Reported When Compiling the nceppost Module

Symptom

During the NCEPLIBS compilation and installation, the nceppost module reports the two errors: "F90-S-0021-Label field of continuation line is not blank" and "F90-S-0034-Syntax error at or near & (/path/to/NCEPLIBS/NCEPLIBE-1.2.0/download/emc_post/sorc/ncep_post.fd/CMASSI.f: 17)."

Key Process and Cause Analysis

None

Conclusion and Solution

  1. Modify the /nceppost.dir/build.make file.
    1. Open the /nceppost.dir/build.make file.
      vi /path/to/NCEPLIBS/NCEPLIBS-1.2.0/build/CMakeFiles/nceppost.dir/build.make
    2. Press i to enter the edit mode and modify the content in line 123.
      cd /path/to/NCEPLIBS/NCEPLIBS-1.2.0/build/nceppost/src/nceppost-build && sed -i "s/isystem/I/g" `grep -rl "isystem"` && $(MAKE)

      After performing 1.a, press Esc, type :set nu, and press Enter to display the line number.

    3. Press Esc, type :wq!, and press Enter to save the file and exit.
  2. Perform the compilation again.
    make