<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16809" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=863172415-26052009><FONT face=Arial><FONT
color=#0000ff><FONT size=2>I wonder which version Intel Fortran compiler you are
using, <SPAN class=837072615-26052009>ifort 9 does not have -fp-model, add
-O3 and remove -fp-model precise, then "clean -a" and compile your
"em_real".</SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=837072615-26052009></SPAN><FONT face=Arial><FONT
color=#0000ff><FONT size=2>Good luck.</FONT></FONT></FONT></DIV>
<DIV><FONT><FONT color=#0000ff><FONT size=2><SPAN
class=837072615-26052009></SPAN></FONT></FONT></FONT><SPAN
class=837072615-26052009></SPAN><FONT face=Arial><FONT color=#0000ff><FONT
size=2>F<SPAN class=837072615-26052009>eng</SPAN></FONT></FONT></FONT><BR></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma><FONT size=2><B>From:</B> wrf-users-bounces@ucar.edu
[mailto:wrf-users-bounces@ucar.edu] <B>On Behalf Of
</B>Preeti<BR><B>Sent:</B> <SPAN class=837072615-26052009><FONT face=Arial
color=#0000ff> 05/21/2009</FONT></SPAN> 4:29<BR><B>To:</B>
wrf-users@ucar.edu<BR><B>Subject:</B> [Wrf-users] compiling wrfv3 with ifort and
gcc<BR></FONT></FONT><BR></DIV>
<DIV></DIV><SPAN class=gI>Hi<BR><BR>Earlier, I have successfully ran WRF on a
i686 machine running Ubuntu(hardy) with gfortran 4.2.4 and gcc 4.2.4.<BR>Now, I
am trying to compile WRFV3.0.1 on a Linux Intel i686 machine with dmpar
option.<BR>I added new option in arch/configure_new.defaults for ifort with gcc
(since I dont have icc), and the section looks like
this<BR><BR>-------------------------------------------------------------------<BR>DMPARALLEL
= #
1<BR>OMPCPP
= #
-D_OPENMP<BR>OMP
= # -openmp -fpp
-auto<BR>SFC
=
ifort<BR>SCC
=
gcc<BR>DM_FC
= mpif90
-f90=$(SFC)<BR>DM_CC
= mpicc
-cc=$(SCC)<BR>FC
=
CONFIGURE_FC<BR>CC
=
CONFIGURE_CC<BR>LD
=
$(FC)<BR>RWORDSIZE
=
CONFIGURE_RWORDSIZE<BR>PROMOTION
=
-i4<BR>ARCH_LOCAL
=
-DNONSTANDARD_SYSTEM<BR>CFLAGS_LOCAL
= -w -O3<BR>LDFLAGS_LOCAL
=<BR>CPLUSPLUSLIB =<BR>ESMF_LDFLAG
=
$(CPLUSPLUSLIB)<BR>FCOPTIM
= -O3<BR>FCREDUCEDOPT
=
$(FCOPTIM)<BR>FCNOOPT
=
-O0<BR>FCDEBUG
= # -g $(FCNOOPT)
-traceback<BR>FORMAT_FIXED
= -FI<BR>FORMAT_FREE
=
-FR<BR>FCSUFFIX
=<BR>BYTESWAPIO
= -convert
big_endian<BR>FCBASEOPTS
= -w -ftz -align all -fno-alias -fp-model
precise $(FCDEBUG) $(FORMAT_FREE) $(BYTESWAPIO)<BR>MODULE_SRCH_FLAG
=<BR>TRADFLAG
=
-traditional<BR>CPP
= /lib/cpp -C
-P<BR>AR
=
arARFLAGS
=
ru<BR>M4
=
m4<BR>RANLIB
=
ranlib<BR>CC_TOOLS
= $(SCC)<BR></SPAN><SPAN
class=gI>-------------------------------------------------------------------</SPAN><BR><SPAN
class=gI><BR><BR>For 'configure' I gave the options -<BR><BR>13. x86_64 Linux,
ifort compiler with gcc (dmpar)<BR>and basic nesting.<BR><BR>For 'compile
em_real', I got errors, following is part of the compile output
-<BR><BR></SPAN><SPAN
class=gI>-------------------------------------------------------------------</SPAN><BR><SPAN
class=gI>/home2/preeti/wrf/WRFV3/external/esmf_time_f90/libesmf_time.a
/garl/garl-alpha1/home2/preeti/wrf/WRFV3/external/RSL_LITE/librsl_lite.a
/garl/garl-alpha1/home2/preeti/wrf/WRFV3/frame/module_internal_header_util.o
/garl/garl-alpha1/home2/preeti/wrf/WRFV3/frame/pack_utils.o
/garl/garl-alpha1/home2/preeti/wrf/WRFV3/external/io_netcdf/libwrfio_nf.a
-L/home2/preeti/bin/netcdf/lib -lnetcdf -lnetcdff<BR>ifort: Command line
warning: ignoring option '-fp'; no argument required<BR>/usr/bin/ld.real:
precise: No such file: No such file or directory<BR>make[1]: [em_real] Error 1
(ignored)<BR>mpif90 -f90=ifort -o ndown.exe -O3 -w -ftz -align all
-fno-alias -fp-model precise -FR -convert big_endian
ndown_em.o ../dyn_em/module_initialize_real.o libwrflib.a
-L/garl/garl-alpha1/home2/preeti/wrf/WRFV3/external/fftpack/fftpack5 -lfftpack
-L/garl/garl-alpha1/home2/preeti/wrf/WRFV3/external/io_grib1 -lio_grib1
-L/garl/garl-alpha1/home2/preeti/wrf/WRFV3/external/io_grib_share
-lio_grib_share -L/garl/garl-alpha1/home2/preeti/wrf/WRFV3/external/io_int
-lwrfio_int
/garl/garl-alpha1/home2/preeti/wrf/WRFV3/external/esmf_time_f90/libesmf_time.a
/garl/garl-alpha1/home2/preeti/wrf/WRFV3/external/esmf_time_f90/libesmf_time.a
/garl/garl-alpha1/home2/preeti/wrf/WRFV3/external/RSL_LITE/librsl_lite.a
/garl/garl-alpha1/home2/preeti/wrf/WRFV3/frame/module_internal_header_util.o
/garl/garl-alpha1/home2/preeti/wrf/WRFV3/frame/pack_utils.o
/garl/garl-alpha1/home2/preeti/wrf/WRFV3/external/io_netcdf/libwrfio_nf.a
-L/home2/preeti/bin/netcdf/lib -lnetcdf -lnetcdff<BR>ifort: Command line
warning: ignoring option '-fp'; no argument required<BR>/usr/bin/ld.real:
precise: No such file: No such file or directory<BR>make[1]: [em_real] Error 1
(ignored)<BR>mpif90 -f90=ifort -o nup.exe -O3 -w -ftz -align all
-fno-alias -fp-model precise -FR -convert big_endian
nup_em.o ../dyn_em/module_initialize_real.o libwrflib.a
-L/garl/garl-alpha1/home2/preeti/wrf/WRFV3/external/fftpack/fftpack5 -lfftpack
-L/garl/garl-alpha1/home2/preeti/wrf/WRFV3/external/io_grib1 -lio_grib1
-L/garl/garl-alpha1/home2/preeti/wrf/WRFV3/external/io_grib_share
-lio_grib_share -L/garl/garl-alpha1/home2/preeti/wrf/WRFV3/external/io_int
-lwrfio_int
/garl/garl-alpha1/home2/preeti/wrf/WRFV3/external/esmf_time_f90/libesmf_time.a
/garl/garl-alpha1/home2/preeti/wrf/WRFV3/external/esmf_time_f90/libesmf_time.a
/garl/garl-alpha1/home2/preeti/wrf/WRFV3/external/RSL_LITE/librsl_lite.a
/garl/garl-alpha1/home2/preeti/wrf/WRFV3/frame/module_internal_header_util.o
/garl/garl-alpha1/home2/preeti/wrf/WRFV3/frame/pack_utils.o
/garl/garl-alpha1/home2/preeti/wrf/WRFV3/external/io_netcdf/libwrfio_nf.a
-L/home2/preeti/bin/netcdf/lib -lnetcdf -lnetcdff<BR>ifort: Command line
warning: ignoring option '-fp'; no argument required<BR>/usr/bin/ld.real:
precise: No such file: No such file or directory<BR>make[1]: [em_real] Error 1
(ignored)<BR>make[1]: warning: Clock skew detected. Your build may
be incomplete.<BR>make[1]: Leaving directory
`/garl/garl-alpha1/home2/preeti/wrf/WRFV3/main'<BR>( cd test/em_real ; /bin/rm
-f wrf.exe ; ln -s ../../main/wrf.exe . )<BR>Compilation also gives many
messages like these -<BR><BR>Invalid_sym_id in FCTOK 133068<BR>Invalid_sym_id
for PERIOD_BDY_EM_CHEM_SUB%GRID, 133068<BR>Invalid_sym_id in CIRTOK,
132990<BR>Invalid_sym_id for PERIOD_BDY_EM_CHEM_SUB%DOMAIN,
132990<BR>Invalid_sym_id in FCTOK 133068<BR>Invalid_sym_id for
PERIOD_BDY_EM_CHEM_SUB%GRID, 133068<BR>Invalid_sym_id in CIRTOK,
132990<BR>Invalid_sym_id for PERIOD_BDY_EM_CHEM_SUB%DOMAIN,
132990<BR>Invalid_sym_id in FCTOK 133068<BR></SPAN><SPAN
class=gI>-------------------------------------------------------------------</SPAN><BR><SPAN
class=gI><BR><BR>gcc version is gcc (GCC) 3.3.3 <BR>ifort version is
8.1<BR><BR>Can someone point to me the reason for this error.<BR>Appreciate your
help.<BR><BR><BR>Thanks<BR>Preeti<BR><BR></SPAN></BODY></HTML>