Hi CESM community,
CESM builds with no errors but I am concerned about these warning - should I?
From the PIO bld log: CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_CXX_FLAGS
GPTL_PATH
PIO_ENABLE_TESTS
Should I be concerned about these warning? What arguments can I put in config_compiler.xml to resolve this issue.
Next is the csm_share build - I did not specify the ESMF lib though- could that be the issue?:
/path/to/cesm/cime/src/share/esmf_wrf_timemgr/ESMF_BaseMod.F90(699): warning #6843: A dummy argument$
subroutine ESMF_AttributeGetNameList(anytype, count, namelist, rc)
warning #6843: A dummy argument$
............subroutine ESMF_AttributeGetbyNumber(anytype, number, name, type, value, rc)
warning #6843: A dummy argument$
.....subroutine ESMF_AttributeGetObjectList(anytypelist, name, typelist, valuelist, rc)
#warning "DSFMT_MEXP is not defined. I assume DSFMT_MEXP is 19937. - I quite remember coming across a solution in a similar thread- might have missed that
For the ATM build -should I be concerned about these warning?:
/network/rit/home/pa974865/cesm/components/cam/src/physics/cam/micro_mg_data.F90(179): warning #6843: A dummy argument with an explicit INTENT(OUT) declaration is not given an explicit value. [SELF]
subroutine MGPacker_finalize(self)
-----------------------------^
/network/rit/home/pa974865/cesm/components/cam/src/utils/pilgrim/mod_comm.F90(3048): warning #6843: A dummy argument with an explicit INTENT(OUT) declaration is not given an explicit value. [Q1OUT]
subroutine mp_sendirr_r4 ( comm, send_bl, recv_bl, q1in, q1out, q2in, q2out, &
---------------------------------------------------------------^
/network/rit/home/pa974865/cesm/components/cam/src/chemistry/pp_none/mo_prod_loss.F90(20): warning #6843: A dummy argument with an explicit INTENT(OUT) declaration is not given an explicit value. [PROD]
subroutine imp_prod_loss( prod, loss, y, rxt, het_rates )
--------------------------------^
/network/rit/home/pa974865/cesm/components/cam/src/chemistry/pp_none/mo_prod_loss.F90(7): warning #6843: A dummy argument with an explicit INTENT(OUT) declaration is not given an explicit value. [PROD]
subroutine exp_prod_loss( prod, loss, y, rxt, het_rates )
--------------------------------^
/network/rit/home/pa974865/cesm/components/cam/src/chemistry/pp_none/mo_prod_loss.F90(20): warning #6843: A dummy argument with an explicit INTENT(OUT) declaration is not given an explicit value. [LOSS]
subroutine imp_prod_loss( prod, loss, y, rxt, het_rates )
--------------------------------------^
/network/rit/home/pa974865/cesm/components/cam/src/chemistry/pp_none/mo_prod_loss.F90(7): warning #6843: A dummy argument with an explicit INTENT(OUT) declaration is not given an explicit value. [LOSS]
subroutine exp_prod_loss( prod, loss, y, rxt, het_rates )
--------------------------------------^
/network/rit/home/pa974865/cesm/components/cam/src/utils/wrap_mpi.F90(1242): warning #6843: A dummy argument with an explicit INTENT(OUT) declaration is not given an explicit value. [WIN]
subroutine mpiwincreate(base,size,comm,win)
------------------------------------------^
/network/rit/home/pa974865/cesm/components/cam/src/chemistry/bulk_aero/sox_cldaero_mod.F90(66): warning #6843: A dummy argument with an explicit INTENT(OUT) declaration is not given an explicit value. [AQSO4]
aqso4, aqh2so4, aqso4_h2o2, aqso4_o3, aqso4_h2o2_3d, aqso4_o3_3d )
-------^
/network/rit/home/pa974865/cesm/components/cam/src/chemistry/bulk_aero/sox_cldaero_mod.F90(66): warning #6843: A dummy argument with an explicit INTENT(OUT) declaration is not given an explicit value. [AQH2SO4]
/network/rit/home/pa974865/cesm/components/cam/src/chemistry/mozart/mo_aurora.F90(43): warning #6843: A dummy argument with an explicit INTENT(OU$
qo2p, qop, qn2p, qnp, pmid, &
-------------------------------------^
/network/rit/home/pa974865/cesm/components/cam/src/chemistry/mozart/mo_aurora.F90(43): warning #6843: A dummy argument with an explicit INTENT(OU$
qo2p, qop, qn2p, qnp, pmid, &
-------------------------------------------^
/network/rit/home/pa974865/cesm/components/cam/src/chemistry/mozart/mo_aurora.F90(79): warning #6843: A dummy argument with an explicit INTENT(OU$
aur_hrate, cpair, pmid, lchnk, calday, &
---------------------------^
/network/rit/home/pa974865/cesm/components/cam/src/physics/cam/unicon_cam.F90(845): warning #6843: A dummy argument with an explicit INTENT(OUT) $
pbuf, ptend, out)
----------------------------------------^
/network/rit/home/pa974865/cesm/components/cam/src/physics/cam/unicon_cam.F90(800): warning #6843: A dummy argument with an explicit INTENT(OUT) $
subroutine unicon_init_cnst(name, latvals, lonvals, mask, q)
----------------------------------------------------------^
/network/rit/home/pa974865/cesm/components/cam/src/chemistry/pp_none/chemistry.F90(171): warning #6843: A dummy argument with an explicit INTENT($
subroutine chem_init_cnst(name, latvals, lonvals, mask, q)
----------------------------------------------------------^
/network/rit/home/pa974865/cesm/components/cam/src/physics/cam/clubb_intr.F90(314): warning #6843: A dummy argument with an explicit INTENT(OUT) $
subroutine clubb_init_cnst(name, latvals, lonvals, mask, q)
ar: creating /network/rit/lab/yulab/pee/output/testrun200/bld/lib/libatm.a
Here is the config_compiler.xml script:
<compiler MACH="pansah" COMPILER="intel">
<!-- Technical Library -->
<CPPDEFS>
<append>-DFORTRANUNDERSCORE</append>
<append>-DCPRINTEL</append>
</CPPDEFS>
<CFLAGS>
<append>-qopenmp</append>
<append>-std=c99</append>
</CFLAGS>
<FFLAGS>
<append>-qopenmp</append>
<append>-O2</append>
<append>-fp-model source</append>
<append>-convert big_endian</append>
<append>-assume byterecl</append>
<append>-ftz</append>
<append>-traceback</append>
</FFLAGS>
<LDFLAGS>
<append>-qmkl </append>
</LDFLAGS>
<FREEFLAGS>
<append>-free</append>
</FREEFLAGS>
<FFLAGS_NOOPT>
<append>-O0</append>
</FFLAGS_NOOPT>
<FC_AUTO_R8>
<append>-r8</append>
</FC_AUTO_R8>
<SFC>ifort</SFC>
<SCC>icc</SCC>
<SCXX>icpc</SCXX>
<MPIFC>mpiifort</MPIFC>
<MPICC>mpiicc</MPICC>
<MPICXX>mpiicpc</MPICXX>
<CXX_LINKER>FORTRAN</CXX_LINKER>
<CXX_LDFLAGS>
<append>-cxxlib</append>
</CXX_LDFLAGS>
<SUPPORTS_CXX>TRUE</SUPPORTS_CXX>
<NETCDF_PATH>$ENV{NetCDF}</NETCDF_PATH>
<HDF5_PATH>$ENV{HDF5}</HDF5_PATH>
<SLIBS>
<append>-L${NETCDF_PATH}/lib -lnetcdff -lnetcdf </append>
<append>-L/network/rit/misc/software/lib/ -llapack -lblas </append>
<append>-L${HDF5_PATH}/lib -lhdf5 </append>
</SLIBS>
</compiler>
CESM builds with no errors but I am concerned about these warning - should I?
From the PIO bld log: CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_CXX_FLAGS
GPTL_PATH
PIO_ENABLE_TESTS
Should I be concerned about these warning? What arguments can I put in config_compiler.xml to resolve this issue.
Next is the csm_share build - I did not specify the ESMF lib though- could that be the issue?:
/path/to/cesm/cime/src/share/esmf_wrf_timemgr/ESMF_BaseMod.F90(699): warning #6843: A dummy argument$
subroutine ESMF_AttributeGetNameList(anytype, count, namelist, rc)
warning #6843: A dummy argument$
............subroutine ESMF_AttributeGetbyNumber(anytype, number, name, type, value, rc)
warning #6843: A dummy argument$
.....subroutine ESMF_AttributeGetObjectList(anytypelist, name, typelist, valuelist, rc)
#warning "DSFMT_MEXP is not defined. I assume DSFMT_MEXP is 19937. - I quite remember coming across a solution in a similar thread- might have missed that
For the ATM build -should I be concerned about these warning?:
/network/rit/home/pa974865/cesm/components/cam/src/physics/cam/micro_mg_data.F90(179): warning #6843: A dummy argument with an explicit INTENT(OUT) declaration is not given an explicit value. [SELF]
subroutine MGPacker_finalize(self)
-----------------------------^
/network/rit/home/pa974865/cesm/components/cam/src/utils/pilgrim/mod_comm.F90(3048): warning #6843: A dummy argument with an explicit INTENT(OUT) declaration is not given an explicit value. [Q1OUT]
subroutine mp_sendirr_r4 ( comm, send_bl, recv_bl, q1in, q1out, q2in, q2out, &
---------------------------------------------------------------^
/network/rit/home/pa974865/cesm/components/cam/src/chemistry/pp_none/mo_prod_loss.F90(20): warning #6843: A dummy argument with an explicit INTENT(OUT) declaration is not given an explicit value. [PROD]
subroutine imp_prod_loss( prod, loss, y, rxt, het_rates )
--------------------------------^
/network/rit/home/pa974865/cesm/components/cam/src/chemistry/pp_none/mo_prod_loss.F90(7): warning #6843: A dummy argument with an explicit INTENT(OUT) declaration is not given an explicit value. [PROD]
subroutine exp_prod_loss( prod, loss, y, rxt, het_rates )
--------------------------------^
/network/rit/home/pa974865/cesm/components/cam/src/chemistry/pp_none/mo_prod_loss.F90(20): warning #6843: A dummy argument with an explicit INTENT(OUT) declaration is not given an explicit value. [LOSS]
subroutine imp_prod_loss( prod, loss, y, rxt, het_rates )
--------------------------------------^
/network/rit/home/pa974865/cesm/components/cam/src/chemistry/pp_none/mo_prod_loss.F90(7): warning #6843: A dummy argument with an explicit INTENT(OUT) declaration is not given an explicit value. [LOSS]
subroutine exp_prod_loss( prod, loss, y, rxt, het_rates )
--------------------------------------^
/network/rit/home/pa974865/cesm/components/cam/src/utils/wrap_mpi.F90(1242): warning #6843: A dummy argument with an explicit INTENT(OUT) declaration is not given an explicit value. [WIN]
subroutine mpiwincreate(base,size,comm,win)
------------------------------------------^
/network/rit/home/pa974865/cesm/components/cam/src/chemistry/bulk_aero/sox_cldaero_mod.F90(66): warning #6843: A dummy argument with an explicit INTENT(OUT) declaration is not given an explicit value. [AQSO4]
aqso4, aqh2so4, aqso4_h2o2, aqso4_o3, aqso4_h2o2_3d, aqso4_o3_3d )
-------^
/network/rit/home/pa974865/cesm/components/cam/src/chemistry/bulk_aero/sox_cldaero_mod.F90(66): warning #6843: A dummy argument with an explicit INTENT(OUT) declaration is not given an explicit value. [AQH2SO4]
/network/rit/home/pa974865/cesm/components/cam/src/chemistry/mozart/mo_aurora.F90(43): warning #6843: A dummy argument with an explicit INTENT(OU$
qo2p, qop, qn2p, qnp, pmid, &
-------------------------------------^
/network/rit/home/pa974865/cesm/components/cam/src/chemistry/mozart/mo_aurora.F90(43): warning #6843: A dummy argument with an explicit INTENT(OU$
qo2p, qop, qn2p, qnp, pmid, &
-------------------------------------------^
/network/rit/home/pa974865/cesm/components/cam/src/chemistry/mozart/mo_aurora.F90(79): warning #6843: A dummy argument with an explicit INTENT(OU$
aur_hrate, cpair, pmid, lchnk, calday, &
---------------------------^
/network/rit/home/pa974865/cesm/components/cam/src/physics/cam/unicon_cam.F90(845): warning #6843: A dummy argument with an explicit INTENT(OUT) $
pbuf, ptend, out)
----------------------------------------^
/network/rit/home/pa974865/cesm/components/cam/src/physics/cam/unicon_cam.F90(800): warning #6843: A dummy argument with an explicit INTENT(OUT) $
subroutine unicon_init_cnst(name, latvals, lonvals, mask, q)
----------------------------------------------------------^
/network/rit/home/pa974865/cesm/components/cam/src/chemistry/pp_none/chemistry.F90(171): warning #6843: A dummy argument with an explicit INTENT($
subroutine chem_init_cnst(name, latvals, lonvals, mask, q)
----------------------------------------------------------^
/network/rit/home/pa974865/cesm/components/cam/src/physics/cam/clubb_intr.F90(314): warning #6843: A dummy argument with an explicit INTENT(OUT) $
subroutine clubb_init_cnst(name, latvals, lonvals, mask, q)
ar: creating /network/rit/lab/yulab/pee/output/testrun200/bld/lib/libatm.a
Here is the config_compiler.xml script:
<compiler MACH="pansah" COMPILER="intel">
<!-- Technical Library -->
<CPPDEFS>
<append>-DFORTRANUNDERSCORE</append>
<append>-DCPRINTEL</append>
</CPPDEFS>
<CFLAGS>
<append>-qopenmp</append>
<append>-std=c99</append>
</CFLAGS>
<FFLAGS>
<append>-qopenmp</append>
<append>-O2</append>
<append>-fp-model source</append>
<append>-convert big_endian</append>
<append>-assume byterecl</append>
<append>-ftz</append>
<append>-traceback</append>
</FFLAGS>
<LDFLAGS>
<append>-qmkl </append>
</LDFLAGS>
<FREEFLAGS>
<append>-free</append>
</FREEFLAGS>
<FFLAGS_NOOPT>
<append>-O0</append>
</FFLAGS_NOOPT>
<FC_AUTO_R8>
<append>-r8</append>
</FC_AUTO_R8>
<SFC>ifort</SFC>
<SCC>icc</SCC>
<SCXX>icpc</SCXX>
<MPIFC>mpiifort</MPIFC>
<MPICC>mpiicc</MPICC>
<MPICXX>mpiicpc</MPICXX>
<CXX_LINKER>FORTRAN</CXX_LINKER>
<CXX_LDFLAGS>
<append>-cxxlib</append>
</CXX_LDFLAGS>
<SUPPORTS_CXX>TRUE</SUPPORTS_CXX>
<NETCDF_PATH>$ENV{NetCDF}</NETCDF_PATH>
<HDF5_PATH>$ENV{HDF5}</HDF5_PATH>
<SLIBS>
<append>-L${NETCDF_PATH}/lib -lnetcdff -lnetcdf </append>
<append>-L/network/rit/misc/software/lib/ -llapack -lblas </append>
<append>-L${HDF5_PATH}/lib -lhdf5 </append>
</SLIBS>
</compiler>