<div dir="ltr"><div>Hi Wei,</div><div><br></div><div>I had to do little effort to get 3.5.1 working, using EasyBuild/1.7.0 and the following configuration</div><div>(ie. skipping the WRF*known_problems.patch file and,</div>


<div>simply reusing WRF-%(version)s_netCDF-Fortran_separate_path.patch from version 3.5)</div><div><br></div><div>I make no claims about the validity of the build, other than that there is one now ;-)</div><div>You should be able to change the buildtype relatively easily!</div>


<div><br></div><div>```</div><div>fgeorgatos@gaia-10:~: $ module load EasyBuild # ref. <a href="https://github.com/hpcugent/easybuild/wiki" target="_blank">https://github.com/hpcugent/easybuild/wiki</a></div><div><br></div>

<div>fgeorgatos@gaia-10:~: $ eb --version</div>
<div>This is EasyBuild 1.7.0 (framework: 1.7.0, easyblocks: 1.7.0) on host gaia-10.</div><div><br></div><div>fgeorgatos@gaia-10:~: $ time eb WRF-3.5.1-goolf-1.4.10-dmpar.eb</div><div>== temporary log file in case of crash /tmp/easybuild-GiN64v.log</div>


<div>== resolving dependencies ...</div><div>== processing EasyBuild easyconfig /mnt/nfs/users/homedirs/fgeorgatos/WRF-3.5.1-goolf-1.4.10-dmpar.eb</div><div>== building and installing WRF-3.5.1-goolf-1.4.10-dmpar...</div>


<div>== fetching files...</div><div>== creating build dir, resetting environment...</div><div>== unpacking...</div><div>== patching...</div><div>== preparing...</div><div>== configuring...</div><div>== building...</div><div>


== testing...</div><div>== installing...</div><div>== taking care of extensions...</div><div>== packaging...</div><div>== postprocessing...</div><div>== sanity checking...</div><div>== cleaning up...</div><div>== creating module...</div>


<div>== COMPLETED: Installation ended successfully</div><div>==</div><div>WARNING: Build exited with exit code 0. 18 possible error(s) were detected in the build logs, please verify the build.</div><div><br></div><div>== Results of the build can be found in the log file /tmp/easybuild-WRF-3.5.1-20131015.092622.log</div>


<div>== Build succeeded for 1 out of 1</div><div>== temporary log file /tmp/easybuild-GiN64v.log has been removed.</div><div><br></div><div>real<span style="white-space:pre-wrap">        </span>35m43.606s</div>
<div>user<span style="white-space:pre-wrap">        </span>33m21.733s</div><div>sys<span style="white-space:pre-wrap">        </span>1m43.710s</div><div><br></div><div>fgeorgatos@gaia-10:~: $ cat WRF-3.5.1-goolf-1.4.10-dmpar.eb<br>
</div><div>name = &#39;WRF&#39;</div><div>version = &quot;3.5.1&quot; # tweaked by EasyBuild (was: &#39;3.5&#39;)</div><div><br></div><div>homepage = &#39;<a href="http://www.wrf-model.org" target="_blank">http://www.wrf-model.org</a>&#39;</div>


<div>description = &quot;&quot;&quot;The Weather Research and Forecasting (WRF) Model is a next-generation mesoscale</div><div> numerical weather prediction system designed to serve both operational forecasting and atmospheric</div>


<div> research needs.&quot;&quot;&quot;</div><div><br></div><div>toolchain = {&#39;name&#39;: &#39;goolf&#39;, &#39;version&#39;: &#39;1.4.10&#39;}</div><div>toolchainopts = {&#39;opt&#39;: False}  # don&#39;t use agressive optimization, stick to -O2</div>


<div><br></div><div>sources = [&#39;%sV%s.TAR.gz&#39; % (name, version)]</div><div>source_urls = [&#39;<a href="http://www.mmm.ucar.edu/wrf/src/" target="_blank">http://www.mmm.ucar.edu/wrf/src/</a>&#39;]</div><div><br></div>

<div># csh is used by WRF install scripts</div>
<div>builddependencies = [(&#39;tcsh&#39;, &#39;6.18.01&#39;)]</div><div><br></div><div>dependencies = [</div><div>    (&#39;JasPer&#39;, &#39;1.900.1&#39;),</div><div>    (&#39;netCDF&#39;, &#39;4.2.1.1&#39;),</div><div>


    (&#39;netCDF-Fortran&#39;, &#39;4.2&#39;),</div><div>]</div><div><br></div><div>patches = [</div><div>    &#39;WRF_parallel_build_fix.patch&#39;,</div><div>    &#39;WRF-%(version)s_netCDF-Fortran_separate_path.patch&#39;,</div>


<div>#    &#39;WRF-%(version)s_known_problems.patch&#39;,</div><div>    &#39;WRF_tests_limit-runtimes.patch&#39;,</div><div>]</div><div><br></div><div># limit parallel build to 20</div><div>maxparallel = 20</div><div><br>


</div><div>buildtype = &quot;dmpar&quot;</div><div>versionsuffix = &#39;-%s&#39; % buildtype</div><div><br></div><div>moduleclass = &#39;geo&#39;</div><div><br></div><div>fgeorgatos@gaia-10:~: $ time eb --try-software-name=WRF --try-software-version=3.5.1 --try-toolchain=goolf,1.4.10 --dry-run -r|sed &#39;s@/.*/@@g&#39;</div>


<div>== temporary log file in case of crash easybuild-bg7bn2.log</div><div>== Generated an easyconfig file WRF-3.5.1-goolf-1.4.10-dmpar.eb, going to use it now...</div><div>== Dry run: printing build status of easyconfigs and dependencies</div>


<div>[x] GCC-4.7.2.eb</div><div>[x] hwloc-1.6.2-GCC-4.7.2.eb</div><div>[x] OpenMPI-1.6.4-GCC-4.7.2.eb</div><div>[x] gompi-1.4.10.eb</div><div>[x] OpenBLAS-0.2.6-gompi-1.4.10-LAPACK-3.4.2.eb</div><div>[x] FFTW-3.3.3-gompi-1.4.10.eb</div>


<div>[x] ScaLAPACK-2.0.2-gompi-1.4.10-OpenBLAS-0.2.6-LAPACK-3.4.2.eb</div><div>[x] goolf-1.4.10.eb</div><div>[x] ncurses-5.9-goolf-1.4.10.eb</div><div>[x] zlib-1.2.7-goolf-1.4.10.eb</div><div>[x] Szip-2.1-goolf-1.4.10.eb</div>


<div>[x] flex-2.5.37-goolf-1.4.10.eb</div><div>[x] JasPer-1.900.1-goolf-1.4.10.eb</div><div>[x] tcsh-6.18.01-goolf-1.4.10.eb</div><div>[x] HDF5-1.8.10-patch1-goolf-1.4.10.eb</div><div>[x] M4-1.4.16-goolf-1.4.10.eb</div><div>


[x] Bison-2.7-goolf-1.4.10.eb</div><div>[x] Doxygen-1.8.3.1-goolf-1.4.10.eb</div><div>[x] netCDF-4.2.1.1-goolf-1.4.10.eb</div><div>[x] netCDF-Fortran-4.2-goolf-1.4.10.eb</div><div>[x] WRF-3.5.1-goolf-1.4.10-dmpar.eb</div>


<div><br></div><div>real<span style="white-space:pre-wrap">        </span>0m4.002s</div><div>user<span style="white-space:pre-wrap">        </span>0m0.912s</div><div>sys<span style="white-space:pre-wrap">        </span>0m1.184s</div>
<div><br></div><div>fgeorgatos@gaia-10:~: $ module av WRF<br></div><div><br></div><div>--------------------------------------------- /home/users/fgeorgatos/.local/easybuild/modules/all ----------------------------------------------</div>


<div>WRF/3.5.1-goolf-1.4.10-dmpar</div><div><br></div><div>-------------------------------------------------------- /opt/apps/HPCBIOS/modules/geo ---------------------------------------------------------</div><div>WRF/3.3.1-goalf-1.1.0-no-OFED-dmpar WRF/3.3.1-ictce-5.3.0-dmpar         WRF/3.4-ictce-3.2.2.u3-dmpar        WRF/3.5-ictce-5.3.0-dmpar</div>


<div>WRF/3.3.1-goolf-1.4.10-dmpar        WRF/3.4-goalf-1.1.0-no-OFED-dmpar   WRF/3.4-ictce-5.3.0-dmpar</div><div>WRF/3.3.1-ictce-3.2.2.u3-dmpar      WRF/3.4-goolf-1.4.10-dmpar          WRF/3.5-goolf-1.4.10-dmpar</div><div>


<br></div><div>fgeorgatos@gaia-10:~: $ module load WRF/3.5.1-goolf-1.4.10-dmpar</div><div><br></div><div>fgeorgatos@gaia-10:~: $ which wrf.exe<br></div><div>/home/users/fgeorgatos/.local/easybuild/software/WRF/3.5.1-goolf-1.4.10-dmpar/WRFV3/main/wrf.exe</div>


<div><br></div><div>fgeorgatos@gaia-10:~: $</div><div>```</div><div><br></div>enjoy,<div>Fotis</div><div><br></div></div>