错误

./make_fire_emis=============================================================================
Using ifort fortran compiler
=============================================================================
=============================================================================
netcdf top level directory = /public/software/mathlib/netcdf/intel/4.6.1
=============================================================================
ifort -g -fpe0 -ftrapuv -c -I/public/software/mathlib/netcdf/intel/4.6.1/include attr_types.f90
ifort -g -fpe0 -ftrapuv -c -I/public/software/mathlib/netcdf/intel/4.6.1/include fire_types.f90
ifort -g -fpe0 -ftrapuv -c -I/public/software/mathlib/netcdf/intel/4.6.1/include netcdf_utils.f90
icc  -c hires_timer.c
ifort -g -fpe0 -ftrapuv -c -I/public/software/mathlib/netcdf/intel/4.6.1/include module_timing.f90
ifort -g -fpe0 -ftrapuv -c -I/public/software/mathlib/netcdf/intel/4.6.1/include camse_utils.f90
icc  -c PolyUtils.c
PolyUtils.c(49): error: expected an expressionfor( int i = 1 ; i < nVtx ; i++ )^PolyUtils.c(49): error: identifier "i" is undefinedfor( int i = 1 ; i < nVtx ; i++ )^PolyUtils.c(69): error: expected an expressionfor(int i = 0; i < nVtx; i++)^PolyUtils.c(86): error: expected an expressionfor( int i = 0 ; i < nVtx ; i++ )^PolyUtils.c(129): error: expected an expressionfor(int i = 0; i < nVtx; i++)^PolyUtils.c(132): error: expected an expressionfor(int i = 0; i < nXs; i++)^PolyUtils.c(139): error: expected an expressionfor(int i = 0; i < nXs-1; i++)^PolyUtils.c(140): error: expected an expressionfor(int j = i+1; j < nXs; j++)^PolyUtils.c(140): error: identifier "j" is undefinedfor(int j = i+1; j < nXs; j++)^compilation aborted for PolyUtils.c (code 2)
make: *** [PolyUtils.o] Error 2
Failed to build fire_emis

解决办法

修改Makefile文件

ifeq ($(FC),ifort)FFLAGS += -fpe0 -ftrapuvCCFLAGS += -O2 -std=c99 -g
endif

WRF——intle编译器编译fire_emis出错相关推荐

  1. 自学java编译老是出错_为什么按照书上的代码,编译老是出错?

    老是又小伙伴在群里说我的代码是按照书上的代码敲的,就是编译不过?想不通呀!目前市面上的一些书都是十来年以前编写的了,你不幸看的还是这些书,错误原因就在这里. 比如谭浩强的C语言程序设计这个本书都出了N ...

  2. mysql netcdf_Linux下用Intel编译器编译安装NetCDF-Fortan库(4.2以后版本)

    本来这个问题真的没必要写的,可是真的困扰我太久%>_ 首先,最权威清晰的安装文档还是官方的: 那这个文档最开始就告诉我们,自NetCDF库4.2版本以后,Fortran的库和C的库就要分开bui ...

  3. 编译内核出错:invalid option `abi=aapcs-linux'

    编译内核出错:invalid option `abi=aapcs-linux' 错误分析: 旧编译器可能是用OABI的,而配置内核时又选择了使用EABI的,修改内核配置: 取消    Kernel F ...

  4. ios用的什么编译器编译_为什么编译器是您最好的朋友

    ios用的什么编译器编译 Between projects I spent time researching the root causes of high-cost bugs in large ga ...

  5. ViSP安装之Windows系统基于VS2019编译器编译获得VISP动态库

    Windows系统基于VS2019编译器编译获得VISP动态库 官网地址: Installation from source for Windows with Visual C++ 2019 (vc1 ...

  6. 【Android Protobuf 序列化】Protobuf 使用 ( protoc 编译器简介 | 下载 protoc 编译器 | 使用 protoc 编译器编译 .proto 源文件 )

    文章目录 一.protoc 编译器简介 二.下载 protoc 编译器 三.使用 protoc 编译器编译 addressbook.proto 源文件 四.参考资料 一.protoc 编译器简介 在上 ...

  7. gcc/g++等编译器 编译原理: 预处理,编译,汇编,链接各步骤详解

    例子:由多个源文件组成的C程序,经过编辑.预处理.编译.链接等阶段才能生成最终的可执行程序.此过程中,在__c__阶段可以发现被调用的函数未定义. A. 编辑和预处理 B. 预处理 C. 编译 D. ...

  8. Android编译Libwebcore出错解决方法

    Android编译Libwebcore出错解决方法 如下,在编译android源码时出现错误 target SharedLib: libwebcore (out/target/product/gene ...

  9. g++ linux 编译开栈_方舟编译器编译hello world踩坑全记录

    闲来无事,看到方舟编译器完整开源,于是打算拿来试着编译一个东西来,接下来把踩过的一些坑记录一下. 参考文档 方舟编译器的官网是 OpenArkCompiler​www.openarkcompiler. ...

最新文章

  1. ORB_SLAM2局部建图线程
  2. mvn filter autoconfig 产生自动配置
  3. 将python3.7降为3.5_python3.7降至3.5【python cookbook】python访问子字符串
  4. c语言 utf 8转字符串,如何将UTF-8字节[]转换为字符串?
  5. Mac下安装MySQL
  6. [转]Ionic系列——CodePen上的优秀Ionic_Demo
  7. 5ic计算机考试考卷读取错误,北京自考出现错误试卷
  8. Android 手机截屏
  9. HTML5七夕情人节表白网页制作【唯美3D相册】HTML+CSS+JavaScript
  10. indiegogo众筹代理经验分享
  11. 深度搜索和广度搜索特点的深刻理解
  12. 如何防止滴滴出行后台自启
  13. snipaste如何滚动截图_这三款软件,满足你对截图的所有需求
  14. windows置顶程序DeskPins的下载、安装和使用
  15. 最终酬劳高达7.5亿美元,库克是功成身退还是潦草收场?
  16. OneDrivet账号怎么解封
  17. securecrt连接不上vmware
  18. 记录一下,转换树结构数据
  19. 在股权登记日或股息登记日买进的股票,能否分到红利?除权除息日卖出,还享有红利吗
  20. 树莓派4B 4G Ubuntu 20.04 arm64位 安装 Kubernetes 1.18.5 单master 双node集群

热门文章

  1. 岭南师范学院专插本计算机,2019年岭南师范学院专插本最低录取分数线
  2. MySql 获取文件后缀名
  3. GEE基础-实现NDVI年最大值合成
  4. 【bzoj4712】洪水(dp,树剖)
  5. 华为鸿蒙系统什么时候出手机,华为鸿蒙系统什么时候出 是否用于手机还未确定...
  6. 【优化求解】基于多元宇宙MVO算法求解多目标matlab代码
  7. 利用visio 画思维导图
  8. jQuery-链接api实现星座运势和手机号归属地查询
  9. Fragment中使用listview
  10. 个人家用nas_个人与家庭NAS怎么样,您知道吗?