-
Notifications
You must be signed in to change notification settings - Fork 432
Closed
Labels
Description
A similar issue is #3236
Steps to reproduce with a low-res G case:
git clone https://github.com/E3SM-Project/E3SM.git
cd E3SM
git submodule update --init
cd cime/scripts
./create_newcase --compiler=pgi --case CMPASO-NYF_T62_oQU120 --compset CMPASO-NYF --res T62_oQU120
cd CMPASO-NYF_T62_oQU120
./xmlchange NTHRDS_OCN=2
./case.setup
./case.build
Error message from output log:
/autofs/nccs-svm1_sw/summit/.swci/0-core/opt/spack/20180914/linux-rhel7-ppc64le/gcc-4.8.5/cmake-3.13.4-glp7fk6jzzpzrv3ielkg5mjcar2umm7n/bin/cmake -E cmake_copy_f90_mod mpas-source/src/mpas_tracer_advection_std.mod mpas-source/src/CMakeFiles/common.dir/mpas_tracer_advection_std.mod.stamp PGI
/autofs/nccs-svm1_sw/summit/.swci/0-core/opt/spack/20180914/linux-rhel7-ppc64le/gcc-4.8.5/cmake-3.13.4-glp7fk6jzzpzrv3ielkg5mjcar2umm7n/bin/cmake -E touch mpas-source/src/CMakeFiles/common.dir/__/__/operators/mpas_tracer_advection_std.f90.o.provides.build
PGF90-F-0000-Internal compiler error. print_token(): missing token 0 (bld/cmake-bld/framework/mpas_dmpar.f90: 8236)
Seems like OMP related, see code around line 8236 of framework/mpas_dmpar.f90:
!$omp do private(commListPtr, listPosition, bufferOffset, nAdded, fieldCursor, exchListPtr, iExch, iBuffer)
do listItem = 1, commListSize
commListPtr => exchangeGroup % sendList
do listPosition = 2, listItem
commListPtr => commListPtr % next
end do
...
end do
!$omp end do