⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 base

📁 CCSM Research Tools: Community Atmosphere Model (CAM)
💻
字号:
# $Id: base,v 1.3.2.2 2002/04/27 15:38:58 erik Exp $ #include ${ESMF_DIR}/build/${ESMF_ARCH}/base_variablesinclude ${ESMF_DIR}/build/common#################### Need to build libalicefortran as a shared library as well, # as-fast option produces bad .a files#shared: chkopts_basic	-@echo making shared libraries in ${LDIR} ;\	cd ${LDIR}; \	for LIBNAME in ${SHLIBS} ; \	do \          if [ -f ${LDIR}/$$LIBNAME.a ]; then \	    flag=""; \	    if [ -f ${LDIR}/$$LIBNAME.${SLSUFFIX} ]; then \              flag=`find ${LDIR} -follow -type f -name $$LIBNAME.a -newer ${LDIR}/$$LIBNAME.${SLSUFFIX} -print`; \	    else \	      flag="true"; \	    fi; \            if [ "$$flag" != "" ]; then \	      echo "building $$LIBNAME.${SLSUFFIX}"; \	      ${LD} -elf -no_library_replacement -shared -rdata_shared \	           -all  $$LIBNAME.a  -o $$LIBNAME.${SLSUFFIX} ; \	    fi; \	  fi; \	done##  Generates a shared library from any .a library; not just the Alice ones#  This is to allow any user to generate his or her own shared library#oshared: 	-@echo "building $$LIBNAME.${SLSUFFIX}"	-@${LD} -elf -no_library_replacement -shared -rdata_shared \	            -all  ${LIBNAME}.a  -o ${LIBNAME}.${SLSUFFIX} ;## Notes:## -lpthread is required by AMS package. It should follow -lmpi, hence, is specified# in the variable SYS_LIB. If libpthread.so is not avilable on this machine, you can# comment out this line.## -trapuv initializes memory with NaNs, so that uninitialized errors are caught.# For IRIX version less than 6.2, #         replace "-OPT:Olimit=5000" with "-OPT:fprop_limit=5000"#	On Origin2000 Some Alice files are not compiled with -O3.#	  replace -O3 with -O2 to compile these files.#	IF your O2K has ip25 processor, please change#       ip27 to ip25##COPTFLAGS  = -OPT:Olimit=6000 -Ofast=ip27#FOPTFLAGS  = -Ofast=ip27 -IPA:cprop=OFF -OPT:IEEE_arithmetic=1## Some examples crash (ts/ex/tests/ex1f) with the cprop optimization## For IRIX Release less than,6.2 the above should probably be replaced by# FC_LIB         = -lsun -lF77 -lU77 -lI77 -lisam# FC_LIB         = -lF77 -lU77 -lI77 -lisam

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -