<div dir="ltr">Hi Mehran,<div><br></div><div>if you already use modules at your site, why not give a try to EasyBuild,</div><div>whereby much of the dependency mess is taken care for you?</div><div><br></div><div>M4 is simply one of the declared dependencies in the filthy set defined for WRF/3.5, </div>


<div>look below:</div><div><br></div><div>```</div><div><div>fgeorgatos@gaia-59:~: $ module load EasyBuild</div><div>fgeorgatos@gaia-59:~: $ eb --version ### which easybuild version are we about to run</div><div>This is EasyBuild 1.10.0 (framework: 1.10.0, easyblocks: 1.10.0) on host gaia-59.</div>


<div>fgeorgatos@gaia-59:~: $ eb -S wrf-3.5|grep ictce ### ictce is about Intel cluster suite</div><div> * $CFGS1/WRF-3.5-ictce-4.1.13-dmpar.eb</div><div> * $CFGS1/WRF-3.5-ictce-5.3.0-dmpar.eb</div><div> * $CFGS1/WRF-3.5.1-ictce-4.1.13-dmpar.eb</div>


<div> * $CFGS1/WRF-3.5.1-ictce-5.3.0-dmpar.eb</div><div>fgeorgatos@gaia-59:~: $ eb -D WRF-3.5.1-ictce-5.3.0-dmpar.eb -r ### dry-run of a recursive build</div><div>== temporary log file in case of crash /tmp/easybuild-Hvv73p/easybuild-KE4jYH.log</div>


<div>Dry run: printing build status of easyconfigs and dependencies</div><div>CFGS=/opt/apps/HPCBIOS.20131224/software/EasyBuild/1.10.0/lib/python2.6/site-packages/easybuild_easyconfigs-1.10.0.0-py2.6.egg/easybuild/easyconfigs</div>


<div> * [x] $CFGS/i/icc/icc-2013.3.163.eb (module: icc/2013.3.163)</div><div> * [x] $CFGS/i/ifort/ifort-2013.3.163.eb (module: ifort/2013.3.163)</div><div> * [x] $CFGS/i/impi/impi-4.1.0.030.eb (module: impi/<a href="http://4.1.0.030" target="_blank">4.1.0.030</a>)</div>


<div> * [x] $CFGS/i/imkl/imkl-11.0.3.163.eb (module: imkl/<a href="http://11.0.3.163" target="_blank">11.0.3.163</a>)</div><div> * [x] $CFGS/i/ictce/ictce-5.3.0.eb (module: ictce/5.3.0)</div><div> * [x] $CFGS/n/ncurses/ncurses-5.9-ictce-5.3.0.eb (module: ncurses/5.9-ictce-5.3.0)</div>


<div> * [ ] $CFGS/j/JasPer/JasPer-1.900.1-ictce-5.3.0.eb (module: JasPer/1.900.1-ictce-5.3.0)</div><div> * [x] $CFGS/t/tcsh/tcsh-6.18.01-ictce-5.3.0.eb (module: tcsh/6.18.01-ictce-5.3.0)</div><div> * [x] $CFGS/z/zlib/zlib-1.2.7-ictce-5.3.0.eb (module: zlib/1.2.7-ictce-5.3.0)</div>


<div> * [x] $CFGS/s/Szip/Szip-2.1-ictce-5.3.0.eb (module: Szip/2.1-ictce-5.3.0)</div><div> * [x] $CFGS/h/HDF5/HDF5-1.8.10-ictce-5.3.0-gpfs.eb (module: HDF5/1.8.10-ictce-5.3.0-gpfs)</div><div> * [x] $CFGS/f/flex/flex-2.5.37-ictce-5.3.0.eb (module: flex/2.5.37-ictce-5.3.0)</div>


<div> * [x] $CFGS/m/M4/M4-1.4.16-ictce-5.3.0.eb (module: M4/1.4.16-ictce-5.3.0)</div><div> * [x] $CFGS/b/Bison/Bison-2.7-ictce-5.3.0.eb (module: Bison/2.7-ictce-5.3.0)</div><div> * [x] $CFGS/d/Doxygen/Doxygen-1.8.3.1-ictce-5.3.0.eb (module: Doxygen/1.8.3.1-ictce-5.3.0)</div>


<div> * [x] $CFGS/n/netCDF/netCDF-4.2.1.1-ictce-5.3.0.eb (module: netCDF/4.2.1.1-ictce-5.3.0)</div><div> * [x] $CFGS/n/netCDF-Fortran/netCDF-Fortran-4.2-ictce-5.3.0.eb (module: netCDF-Fortran/4.2-ictce-5.3.0)</div><div> * [ ] $CFGS/w/WRF/WRF-3.5.1-ictce-5.3.0-dmpar.eb (module: WRF/3.5.1-ictce-5.3.0-dmpar)</div>


<div>== temporary log file /tmp/easybuild-Hvv73p/easybuild-KE4jYH.log has been removed.</div><div>== temporary directory /tmp/easybuild-Hvv73p has been removed.</div><div>fgeorgatos@gaia-59:~: $</div></div><div>```</div>

<div>
<br></div><div>fyi.</div><div>the version of icc compiler 13.1.3, corresponds to module `icc/2013.5.192`</div><div>and `ictce/5.5.0` (the superset including icc, ifort, impi, imkl`.</div><div>You can obtain those builds trivially/easily, eg with:</div>


<div>`eb M4-1.4.16-ictce-5.3.0.eb --try-toolchain=ictce,5.5.0`</div><div>Iterating over the above list in this way should get you exactly where you want!</div><div><br></div><div>btw.</div><div>Hint: do not use environment-modules less than v3.2.10; </div>


<div>they are buggy and painful to handle and such a big waste of time.</div><div><br></div><div>enjoy,</div><div>Fotis</div><div><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jan 3, 2014 at 4:22 PM, Mehran Khodamorad <span dir="ltr">&lt;<a href="mailto:mkhodamorad@gmail.com" target="_blank">mkhodamorad@gmail.com</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:large">Dear all,<br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:large">


Happy New Year<br></div>
<div class="gmail_default" style="font-family:verdana,sans-serif;font-size:large">There are some of errors when i compiles WRFV3.5 with Ifort &amp; Icc in the version of 13.1.3 on my PC. I have sent you the files including configuration and compile texts. I would be appreciated if anyone could help me.<br>



</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:large">Many Thanks in advance<br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:large">Regards<span><font color="#888888"><br>


</font></span></div><span><font color="#888888"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:large">
Mehran<br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:large"> <br></div></font></span></div>
<br>_______________________________________________<br>
Wrf-users mailing list<br>
<a href="mailto:Wrf-users@ucar.edu" target="_blank">Wrf-users@ucar.edu</a><br>
<a href="http://mailman.ucar.edu/mailman/listinfo/wrf-users" target="_blank">http://mailman.ucar.edu/mailman/listinfo/wrf-users</a><br>
<br></blockquote></div><br></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><span style="font-family:monospace;border-collapse:separate;color:rgb(0,0,0);font-size:medium">-- <br>echo &quot;sysadmin know better bash than english&quot;|sed s/min/mins/ \<br>

  | sed &#39;s/better bash/bash better/&#39; # Yelling in a CERN forum<br><br></span></div></div>