/work/noaa/gsd-fv3-dev/pagowski/jedi/code/fv3-bundle/fms/exchange/xgrid.F90(4866): warning #6843: A dummy argument with an explicit INTENT(OUT) declaration is not given an explicit value. [D]
subroutine get_side1_from_xgrid_ug(d, grid_id, x, xmap, complete)
-----------------------------------^
/work/noaa/gsd-fv3-dev/pagowski/jedi/code/fv3-bundle/fms/exchange/xgrid.F90(3346): warning #6843: A dummy argument with an explicit INTENT(OUT) declaration is not given an explicit value. [D]
subroutine get_side1_from_xgrid(d, grid_id, x, xmap, complete)
--------------------------------^
[ 13%] Building Fortran object fms/CMakeFiles/fms.dir/coupler/atmos_ocean_fluxes.F90.o
[ 13%] Linking Fortran shared library …/lib/libfms.so
[ 13%] Built target fms
make: *** [all] Error 2
@mpagowski - how is it going with this? Are you still having problems? Also - are you building in debug mode? I have seen problems with fms and crtm when built with intel 19 in debug mode.
The problem I referred to is independent of the modules. So there is no need to rebuild the modules. Where do you use -NDEBUG? Do you build with ecbuild --build=Debug or do you specify the compiler options differently?
If the failure is with a debug build of fms, then one immediate way around it is to just not build fms in debug mode with intel 19. If that is indeed the problem, we could put a temporary fix in our fork of fms but a longer-term solution would require a bug report to NOAA-GFDL, where the fms repo originates. Would you mind trying again? After it gets to the build failure, enter make again (with no -j option) to continue with a serial build and then post the error message here. In the mean time, I’ll see if I can reproduce the error.
I believe this is solved now, thanks to @mpagowski and @rickgrubin. The problem appeared to be one or more module files, specifically gcc, were not readable for general users. So, the intel compiler was not able to access compatible gcc headers. This has been corrected for all users. Thanks for the report!