登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
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. -w90 -w95 -convert big_endian "\ "LDOPTIONS =-i_dynamic" "CFLAGS = -I." \ "LOCAL_LIBRARIES=-L$(NCARG_ROOT)/lib -L/usr/X11R6/lib -lncarg -lncarg_gks -lncarg_c -lX11-L/usr/lib64/ -lg2c" ) ; \ ( $(RM) terrain.exe; $(LN) src/terrain.exe . ) ; 3. 编译
# make intel
# make terrain.deck
若成功,会出现:
90 Lines Compiled
/bin/rm -f rdnml.f
ifc rdnml.o-i_dynamic -o rdnml
make[1]: Exiting directory `$home/mm5v3/TERRAIN/src'
编译一直失败,ifort也安装成功了,是不是LOCAL_LIBRARIES里面的路径错了,其中g2c的路径我找到了,X1186这个路径我电脑上貌似没有
|