<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>