[Wrf-users] COMPILE WRF-VAR WITH IFORT

infvca00 at estudiantes.unileon.es infvca00 at estudiantes.unileon.es
Mon Jun 9 05:59:17 MDT 2008


Hi there,

I'm a WRF user who is in trying to compile the last WRF-VAR module with an
Intel Fortran Compiler. The fact is that the WRF-VAR is prepared to be
used with the Portland Compiler and I suppose that it could be possible to
be used in the same way with the intel one.
The problem comes with compiler options/flags of the Makefiles. There is
no further information about the changes required on the Net.

The first Makefile (/var/obsproc/Makefile) needs to be changed. I'm
interested in these lines:

	if [ $$? = 0 ] ; then echo "Compiling for Linux"					; \
		echo "CPP		=	/lib/cpp"			>  compiler_macros	; \
		echo "CPPFLAGS		=	-I. -C -P -DLINUX -DUNDERSCORE -traditional -Dlinux
"	>> compiler_macros	; \
		echo "FC		=	pgf90"				>> compiler_macros	; \
		echo "FCFLAGS		=	-Mfreeform -pc 32 "		>> compiler_macros	; \
		echo "FFLAGS		=	-Mfixed -pc 32 "		>> compiler_macros	; \
		echo "CWFLAGS		=	-byteswapio "		>> compiler_macros	; \
		echo "LDFLAGS		=	" 				>> compiler_macros	; \
		echo "CCFLAGS		=	-DLINUX -DUNDERSCORE -I."	>> compiler_macros	; \
		echo "LOCAL_LIBRARIES	=	../lib/ncep/lib_bufr.a"		>> compiler_macros	; \
		echo "RANLIB		=	echo"				>> compiler_macros	; \
		echo "SYSLIB		=	"				>> compiler_macros	; \


¿May someone please give me an equivalence of the Makefiles configuration
extracts of Pgf90 for ifort? Or just some guidance or references for my
purpose.

Thanks,
Víctor



More information about the Wrf-users mailing list