<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <title></title>
  </head>
  <body text="#000000" bgcolor="#ffffff">
    <br>
    Thank you, Saji,&nbsp; but I did use the configure script and it doesn't
    have the same compiler options as did WRF and netCDF.<br>
    No option to change the cc compiler to icc.&nbsp; I tried doing that
    manually with no success.<br>
    TJ <br>
    <br>
    On 12/05/2011 05:56 PM, Saji Hameed wrote:
    <blockquote
cite="mid:CABwkKsAkJifnz0EZ=zkAFbfdmysBrrf8BgLAo=ZRqN6GgK_Zfw@mail.gmail.com"
      type="cite">Maybe you have not used the configure script for WPS.
      You have to run ./configure first and chose compilers etc. It is
      better if the same compilers are used!<br>
      <br>
      saji<br>
      <br>
      <div class="gmail_quote">On Tue, Dec 6, 2011 at 3:04 AM, wxtofly <span
          dir="ltr">&lt;<a moz-do-not-send="true"
            href="mailto:wxtofly@comcast.net">wxtofly@comcast.net</a>&gt;</span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
          0.8ex; border-left: 1px solid rgb(204, 204, 204);
          padding-left: 1ex;">
          <div text="#000000" bgcolor="#ffffff"> Having finally managed
            to get WRFV3.3.1 to compile, I then expected an easy time
            with WPS.<br>
            I used ifort and icc 12.0.3 for the NetCDF and WRF
            compiles.&nbsp; No success with WPS.<br>
            <br>
            1) Do I have to use the same compilers for WPS as well?&nbsp; <br>
            Configure defaults to gcc without icc, even when icc is
            defined in the environment.<br>
            <br>
            2) Do I have to use the same compiler options for WPS that I
            used for netCDF and WRF?&nbsp; eg&nbsp; -static <br>
            <br>
            3) Better yet, does someone have a working recipe for
            getting these three compiled using the intel 12 compiler
            suite?<br>
            (preferably under a bourne/bash shell)<br>
            <br>
            <br>
            Thanks,<br>
            TJ Olney<br>
            attached is the configure.wrf that compiled successfully.<br>
            _____________________________________________<br>
            Environment that worked for WRF and netCDF<br>
            source /opt/intel/composerxe-2011.3.174/bin/compilervars.sh
            ia32<br>
            source
            /opt/intel/composerxe-2011.3.174/bin/compilervars_global.sh
            ia32<br>
            export CC=icc<br>
            export CXX=icpc<br>
            export F77=ifort<br>
            export FC=ifort<br>
            export F90=ifort<br>
            export CPP='icc -E'<br>
            export CXXCPP='icpc -E'<br>
            export JASPERLIB=/usr/lib<br>
            export JASPERINC=/usr/include/jasper<br>
            export CFLAGS='-O3 -xssse3 -ip -no-prec-div -shared'<br>
            export CXXFLAGS='-O3 -xssse3 -ip -no-prec-div -shared'<br>
            export FFLAGS='-O3 -xssse3 -ip -no-prec-div -shared'<br>
            export CPPFLAGS='-O3 -xssse3 -ip -no-prec-div -shared'<br>
            export FLIBS='-L/usr/local/lib -lnetcdff -lnetcdf
            -L/usr/lib/mpich2/lib -llibfmpich -llibmpichf90
            -llibmpichcxx' <br>
            export LIBS='-L/usr/local/lib -lnetcdff -lnetcdf
            -L/usr/lib/mpich2/lib -llibfmpich -llibmpichf90
            -llibmpichcxx' <br>
            export CLIBS='-L/usr/local/lib -lnetcdff -lnetcdf
            -L/usr/lib/mpich2/lib -llibfmpich -llibmpichf90
            -llibmpichcxx' <br>
            export NETCDF=/usr/local<br>
          </div>
          <br>
          _______________________________________________<br>
          Wrf-users mailing list<br>
          <a moz-do-not-send="true" href="mailto:Wrf-users@ucar.edu">Wrf-users@ucar.edu</a><br>
          <a moz-do-not-send="true"
            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>
      <br clear="all">
      <br>
      -- <br>
      <br>
      Saji N Hameed,<br>
      ARC-ENV, Center for Advanced Information Science and Technology,<br>
      University of Aizu, Tsuruga, Ikki-machi,<br>
      Aizuwakamatsu-shi, Fukushima 965-8580,<br>
      Japan<br>
      &nbsp; &nbsp; &nbsp; &nbsp; <br>
      Tel: +81242 37-2736<br>
      Fax:+81242 37-2760<br>
      &nbsp;email: <a moz-do-not-send="true" href="mailto:saji@u-aizu.ac.jp"
        target="_blank">saji@u-aizu.ac.jp</a><br>
      &nbsp;url: <a moz-do-not-send="true" href="http://www.u-aizu.ac.jp"
        target="_blank">http://www.u-aizu.ac.jp</a><br>
      &nbsp;bib: <a moz-do-not-send="true"
        href="http://www.researcherid.com/rid/B-9188-2009"
        target="_blank">http://www.researcherid.com/rid/B-9188-2009</a><br>
    </blockquote>
    <br>
  </body>
</html>