[Wrf-users] WPS 3.3.1 compilation error
Saji Hameed
saji at u-aizu.ac.jp
Mon Dec 5 18:56:30 MST 2011
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!
saji
On Tue, Dec 6, 2011 at 3:04 AM, wxtofly <wxtofly at comcast.net> wrote:
> **
> Having finally managed to get WRFV3.3.1 to compile, I then expected an
> easy time with WPS.
> I used ifort and icc 12.0.3 for the NetCDF and WRF compiles. No success
> with WPS.
>
> 1) Do I have to use the same compilers for WPS as well?
> Configure defaults to gcc without icc, even when icc is defined in the
> environment.
>
> 2) Do I have to use the same compiler options for WPS that I used for
> netCDF and WRF? eg -static
>
> 3) Better yet, does someone have a working recipe for getting these three
> compiled using the intel 12 compiler suite?
> (preferably under a bourne/bash shell)
>
>
> Thanks,
> TJ Olney
> attached is the configure.wrf that compiled successfully.
> _____________________________________________
> Environment that worked for WRF and netCDF
> source /opt/intel/composerxe-2011.3.174/bin/compilervars.sh ia32
> source /opt/intel/composerxe-2011.3.174/bin/compilervars_global.sh ia32
> export CC=icc
> export CXX=icpc
> export F77=ifort
> export FC=ifort
> export F90=ifort
> export CPP='icc -E'
> export CXXCPP='icpc -E'
> export JASPERLIB=/usr/lib
> export JASPERINC=/usr/include/jasper
> export CFLAGS='-O3 -xssse3 -ip -no-prec-div -shared'
> export CXXFLAGS='-O3 -xssse3 -ip -no-prec-div -shared'
> export FFLAGS='-O3 -xssse3 -ip -no-prec-div -shared'
> export CPPFLAGS='-O3 -xssse3 -ip -no-prec-div -shared'
> export FLIBS='-L/usr/local/lib -lnetcdff -lnetcdf -L/usr/lib/mpich2/lib
> -llibfmpich -llibmpichf90 -llibmpichcxx'
> export LIBS='-L/usr/local/lib -lnetcdff -lnetcdf -L/usr/lib/mpich2/lib
> -llibfmpich -llibmpichf90 -llibmpichcxx'
> export CLIBS='-L/usr/local/lib -lnetcdff -lnetcdf -L/usr/lib/mpich2/lib
> -llibfmpich -llibmpichf90 -llibmpichcxx'
> export NETCDF=/usr/local
>
> _______________________________________________
> Wrf-users mailing list
> Wrf-users at ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/wrf-users
>
>
--
Saji N Hameed,
ARC-ENV, Center for Advanced Information Science and Technology,
University of Aizu, Tsuruga, Ikki-machi,
Aizuwakamatsu-shi, Fukushima 965-8580,
Japan
Tel: +81242 37-2736
Fax:+81242 37-2760
email: saji at u-aizu.ac.jp
url: http://www.u-aizu.ac.jp
bib: http://www.researcherid.com/rid/B-9188-2009
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/wrf-users/attachments/20111206/10bce341/attachment.html
More information about the Wrf-users
mailing list