[Wrf-users] [Solved] Re: WRF v3.5.1 compilation errors, ifort v14. What do I miss?

Бакиров, Медер bakirov at almetico.com
Wed Mar 12 04:07:35 MDT 2014


On Tue, Mar 4, 2014 at 11:20 PM, Dmitry N. Mikushin <maemarcus at gmail.com> wrote:
> No, use -O2 only for this problematic file. And file bug report to
> Intel about the -O3 problem.

Thanks!

As a workaround I introduced some changes to configure.wrf:
--------------------------
+FCOPTIM2        =       -O2
+FCFLAGS2        =    $(FCOPTIM2) $(FCBASEOPTS)

+module_bl_temf.o : module_bl_temf.F
+
+module_bl_temf.o:
+       $(RM) $@
+       $(CPP) -I$(WRF_SRC_ROOT_DIR)/inc $(CPPFLAGS) $(OMPCPP) $*.F  > $*.bb
+       $(SED_FTN) $*.bb | $(CPP) > $*.f90
+       $(RM) $*.b $*.bb
+       @ if echo $(ARCHFLAGS) | $(FGREP) 'DVAR4D'; then \
+          echo COMPILING $*.F for 4DVAR ; \
+          $(WRF_SRC_ROOT_DIR)/var/build/da_name_space.pl $*.f90 >
$*.f90.tmp ; \
+          mv $*.f90.tmp $*.f90 ; \
+        fi
+       $(FC) -o $@ -c $(FCFLAGS2) $(OMP) $(MODULE_DIRS) $(PROMOTION)
$(FCSUFFIX) $*.f90
--------------------------

And posted a bug report to Intel's forum (they have opened a bug
report): http://software.intel.com/en-us/forums/topic/506826

With the best regards,
Meder Bakirov


More information about the Wrf-users mailing list