<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hi all,</div><div><br></div><div>Sometime Monday evening, I will commit the second wave of build system changes: bug fixes and feature additions to the new NEMS build system.  Final tests are beginning now.  With these changes, DATM and GSDCHEM are confirmed to work, and several reported bugs are fixed.  We&#39;re half-way to getting CCPP fully working; some changes are still needed in FV3, and those are waiting for other commits.<br></div><div><br></div><div>Most of the changes in this batch of commits are from Dom Heinzeller, who is adding support for compiling on non-NOAA machines, and for running with CCPP.  I&#39;m only committing the NEMS and NEMSfv3gfs parts of his changes; he has some changes in FMS and FV3 which will be committed later, hopefully late next week.<br></div><div><br></div><div><br></div><div></div><div>The branches in NEMS and NEMSfv3gfs are build-update-wave2.  For other apps, the master is used.<br></div><div><br></div><div><br></div><div>Changes that are NOT from Dom Heinzeller:<br></div><div><br></div><div>1. Remove an extra &quot;clean&quot; step in NEMS/src/incmake/component_FV3.mk.  This fixes a bug reported by Ratko and Dusan wherein FV3 would always be cleaned, even if you asked for it not to be.<br></div><div><br></div><div>2. Do not delete the *.tmp.f90 files when building NEMS.  This is why NEMS always rebuilt its source code.  Dusan provided this fix.</div><div><br></div><div>3. GSDCHEM clean rule: do not fail to clean if the Makefile is absent.  This fix is from Raffaele Montuoro.</div><div><br></div><div>4. Use -j1 when building Wavewatch 3.  This is a temporary workaround for a Wavewatch3 build system issue.  A better solution is in progress.<br></div><div><br></div><div>5. In the build system documentation, add a big box reminding you to &quot;cd NEMS&quot; before building.</div><div><br></div><div><br></div><div>Dom Heinzeller&#39;s changes:</div><div><br></div><div>1. Rename &quot;macos&quot; build targets to &quot;macosx&quot; for consistency with components.<br></div><div><br></div><div>2. Set appropriate default NEMS_COMPILER values for various platforms.<br></div><div><br></div><div>3. Skip the module-setup.sh.inc if the platform does not support the &quot;module&quot; command.</div><div><br></div><div>4. Add ccpp/include to the include flags in the CCPP&#39;s ESMF makefile fragment.  (The NEMS build system treats CCPP as a component.)<br></div><div><br></div><div>5. Update linux, macosx, odin, and cheyenne build environment logic so it actually works.  (FV3 and FMS commits are still needed for full support.)</div><div><br></div><div>6. Update PGI &amp; GNU compiler suite logic so it actually works.  (FV3 and FMS commits are still needed for full support.)<br></div><div><br></div><div>7. ccpp/physics/physics/sfcsub.F update of code to compile with gfortran v8+</div><div><br></div><div>8. Documentation updates for porting and CCPP.</div><div><br></div><div><br></div><div>Sincerely,</div><div>Sam Trahan<br></div></div></div></div></div></div></div></div></div></div></div>