Closed dqwu closed 10 months ago
Similar build errors on Summit with the default IBM XL compiler:
[ 76%] Building Fortran object src/flib/CMakeFiles/piof.dir/spio_inq_att.F90.o
cd /ccs/home/wuda/scorpio/build/src/flib && /sw/summit/spack-envs/base/opt/linux-rhel8-ppc64le/xl-16.1.1-10/spectrum-mpi-10.4.0.3-20210112-dzedzfvocsuzkm4jkqe7o64x53yhq7nm/bin/mpif90 -WF,-DCPRIBM -WF,-DHAVE_MPI -WF,-DINCLUDE_CMAKE_FCI -WF,-DLINUX -WF,-DLOGGING -WF,-DMPICH_SKIP_MPICXX -WF,-DMPI_NO_CPPBIND -WF,-DNETCDF_C_LOGGING_ENABLED -WF,-DNETCDF_C_NC__ENDDEF_EXISTS -WF,-DOMPI_SKIP_MPICXX -WF,-DSPIO_NO_CXX_REGEX -WF,-DTIMING -WF,-D_NETCDF -WF,-D_NOPNETCDF -I/ccs/home/wuda/scorpio/src/flib -I/ccs/home/wuda/scorpio/build/src/flib -I/sw/summit/spack-envs/base/opt/linux-rhel8-ppc64le/xl-16.1.1-10/netcdf-fortran-4.4.5-wmedvlkliwpllcswp3dmqz5wq2ntahuc/include -I/ccs/home/wuda/scorpio/src/gptl -I/ccs/home/wuda/scorpio/build/src/gptl -I/sw/summit/spack-envs/base/opt/linux-rhel8-ppc64le/xl-16.1.1-10/netcdf-c-4.8.0-dkuu4se5zxpdmm6ah4ckfgdvp2anserh/include -I/ccs/home/wuda/scorpio/src/clib -I/ccs/home/wuda/scorpio/build/src/clib -qthreaded -qhalt=e -c /ccs/home/wuda/scorpio/src/flib/spio_inq_att.F90 -o CMakeFiles/piof.dir/spio_inq_att.F90.o
"/ccs/home/wuda/scorpio/src/flib/spio_inq_att.F90", line 426.25: 1515-022 (S) Syntax Error: Extra token " 'or variable id (varid = " was found. The token is ignored.
"/ccs/home/wuda/scorpio/src/flib/spio_inq_att.F90", line 426.51: 1515-022 (S) Syntax Error: Extra token " , " was found. The token is ignored.
"/ccs/home/wuda/scorpio/src/flib/spio_inq_att.F90", line 426.53: 1515-022 (S) Syntax Error: Extra token " varid " was found. The token is ignored.
"/ccs/home/wuda/scorpio/src/flib/spio_inq_att.F90", line 426.58: 1515-022 (S) Syntax Error: Extra token " , " was found. The token is ignored.
"/ccs/home/wuda/scorpio/src/flib/spio_inq_att.F90", line 427.25: 1515-022 (S) Syntax Error: Extra token " 'or attribute id (attid = " was found. The token is ignored.
"/ccs/home/wuda/scorpio/src/flib/spio_inq_att.F90", line 427.52: 1515-022 (S) Syntax Error: Extra token " , " was found. The token is ignored.
"/ccs/home/wuda/scorpio/src/flib/spio_inq_att.F90", line 427.54: 1515-022 (S) Syntax Error: Extra token " attid " was found. The token is ignored.
"/ccs/home/wuda/scorpio/src/flib/spio_inq_att.F90", line 427.59: 1515-022 (S) Syntax Error: Extra token " , " was found. The token is ignored.
"/ccs/home/wuda/scorpio/src/flib/spio_inq_att.F90", line 428.25: 1515-022 (S) Syntax Error: Extra token " ') passed to pio_inq_attname() function, pio_inq_attname_fh_vid() " was found. The token is ignored.
** spio_inq_att === End of Compilation 1 ===
1501-511 Compilation failed for file spio_inq_att.F90.
Steps to reproduce this issue on Frontier with Cray Clang compiler (not reproducible with GNU or AMD Clang)
Build errors