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"><<a href="mailto:wxtofly@comcast.net">wxtofly@comcast.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><u></u>
<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. No
success with WPS.<br>
<br>
1) Do I have to use the same compilers for WPS as well? <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? eg -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 href="mailto:Wrf-users@ucar.edu">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><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> <br>Tel: +81242 37-2736<br>Fax:+81242 37-2760<br> email: <a href="mailto:saji@u-aizu.ac.jp" target="_blank">saji@u-aizu.ac.jp</a><br> url: <a href="http://www.u-aizu.ac.jp" target="_blank">http://www.u-aizu.ac.jp</a><br>
bib: <a href="http://www.researcherid.com/rid/B-9188-2009" target="_blank">http://www.researcherid.com/rid/B-9188-2009</a><br>