<div dir="ltr"><div>Hi all,</div><div><br></div><div>Jun Wang asked me to provide GNU <span class="m_-389689388336033346gmail-il">Make</span> 4.2.1 to everyone so you can use the new &quot;--<span class="m_-389689388336033346gmail-il">trace</span>&quot; option.  That option forces <span class="m_-389689388336033346gmail-il">Make</span> to print the commands that are executed, even if the Makefile does not want to.  It overrides -s, @, and .SILENT.  It is how I debug complex build systems like CMake and NEMS.</div><div><br></div><div>You need to &quot;module use&quot; one of these places to find it:</div><div><br></div><div>Tide/Gyre: module use /nems/noscrub/emc.nemspara/soft/modulefiles</div><div>Luna/Surge: module use /gpfs/hps3/emc/nems/noscrub/emc.nemspara/soft/modulefiles</div><div>Mars/Venus: module use /gpfs/dell2/emc/modeling/noscrub/emc.nemspara/soft/modulefiles</div><div>Jet: module use /lfs3/projects/hfv3gfs/emc.nemspara/soft/modulefiles</div><div>Theia: module use /scratch4/NCEPDEV/nems/noscrub/emc.nemspara/soft/modulefiles</div><div>GAEA: module use /lustre/f1/pdata/ncep_shared/emc.nemspara/soft/modulefiles</div><div><br></div><div>Followed by:</div><div><br></div><div>module load <span class="m_-389689388336033346gmail-il">make</span>/4.2.1</div><div><br></div><div>Both &quot;<span class="m_-389689388336033346gmail-il">make</span>&quot; and &quot;gmake&quot; should be version 4.2.1, and the &quot;<span class="m_-389689388336033346gmail-il">make</span>&quot; manpage will be for 4.2.1.</div><div><br></div><div>Then do one of two things to use it, when you&#39;re compiling:</div><div><br></div><div><span class="m_-389689388336033346gmail-il">make</span> --<span class="m_-389689388336033346gmail-il">trace</span> ... whatever ...</div><div><br></div><div>or, to be absolutely certain, put it in the environment:</div><div><br></div><div>export MAKEFLAGS=--<span class="m_-389689388336033346gmail-il">trace</span></div><div><span class="m_-389689388336033346gmail-il">make</span> ... whatever ...</div><div><br></div><div>There are a lot of other new features added over the years.  Skim through the manpage to find them:</div><div><br></div><div>man 1 <span class="m_-389689388336033346gmail-il">make</span></div><div><br></div><div>If &quot;man&quot; lists several pages for &quot;<span class="m_-389689388336033346gmail-il">make</span>&quot; then just hit enter and it will choose the right one.<br></div><div><br></div><div>Sincerely,</div><div>Sam Trahan</div></div>