I recently moved from RocksCluster 6.2 with CentOS X86_64 machine -> Oracle Linux OS 7.3.
In RocksCluster compile correctly WRF and MM5 model code, practically without modifications in the makefiles.
Now, on Oracle Linux system I am having problems in TERRAIN and MM5 modules. I can´t understand what has changed in the machine (system level) so I don´t compile now.
a) TERRAIN makefile:
NCARG_ROOT = /export/apps/libraries/ncl INTEL_LIB = /export/apps/libraries/intel/lib/intel64 NCARGRAPHICS = NONCARG intel: echo "Compiling for Linux using INTEL compiler" ( $(CD) src ; $(MAKE) all \"RM = $(RM)""RM_LIST = $(RM_LIST)" \"LN = $(LN)""MACH = SGI" \"MAKE = $(MAKE)""CPP = /lib/cpp" \"CPPFLAGS = -I. -C -traditional -D$(NCARGRAPHICS) " \"FC = ifort ""FCFLAGS = -I. -fpp -convert big_endian "\"LDOPTIONS = -shared-intel” "CFLAGS = -I." \"LOCAL_LIBRARIES= -L$(NCARG_ROOT)/lib -L/usr/lib64 -lcairo -L$(INTEL_LIB) -L/usr/X11R6/lib -lncarg -lncarg_gks -lncarg_c -lX11 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -lg2c" ) ; \ ( $(RM) terrain.exe ; $(LN) src/terrain.exe . ) ;
make intel end ->
ld: cannot find -cairo
ld: cannot find -lX11
ld: cannot fin -lg2c
make[1]: [terrain.exe] Error 1 (ignored)
b) MM5 configure.user:
#----------------------------------------------------------------------------- # 7g2. Linux PCs. Need INTEL and MPICH. #----------------------------------------------------------------------------- RUNTIME_SYSTEM = "linux" MPP_TARGET=$(RUNTIME_SYSTEM) ### edit the following definition for your system LINUX_MPIHOME = /export/apps/libraries/mpich MFC = $(LINUX_MPIHOME)/bin/mpif77 MCC = $(LINUX_MPIHOME)/bin/mpicc MLD = $(LINUX_MPIHOME)/bin/mpif77 FCFLAGS = -O2 -fpp -convert big_endian -pc32 LDOPTIONS = -O2 -convert big_endian -pc32 LOCAL_LIBRARIES = -L$(LINUX_MPIHOME)/lib -lfmpich -lmpich MAKE = make -i -r AWK = awk SED = sed CAT = cat CUT = cut EXPAND = /usr/bin/expand M4 = m4 CPP = /lib/cpp -C -P -traditional CPPFLAGS = -traditional -DMPI -Dlinux CFLAGS = -DMPI -I/usr/local/mpi/include ARCH_OBJS = milliclock.o IWORDSIZE = 4 RWORDSIZE = 4 LWORDSIZE = 4
make mpp end ->
.tmpobjs:1: *** missing separator. Stop.
My version of Intel compiler fortran is 17.0.4. gcc version 4.8.5. mpich 3.2.