<!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">
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>
</body>
</html>