WRF——intle编译器编译fire_emis出错
错误
./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出错相关推荐
- 自学java编译老是出错_为什么按照书上的代码,编译老是出错?
老是又小伙伴在群里说我的代码是按照书上的代码敲的,就是编译不过?想不通呀!目前市面上的一些书都是十来年以前编写的了,你不幸看的还是这些书,错误原因就在这里. 比如谭浩强的C语言程序设计这个本书都出了N ...
- mysql netcdf_Linux下用Intel编译器编译安装NetCDF-Fortan库(4.2以后版本)
本来这个问题真的没必要写的,可是真的困扰我太久%>_ 首先,最权威清晰的安装文档还是官方的: 那这个文档最开始就告诉我们,自NetCDF库4.2版本以后,Fortran的库和C的库就要分开bui ...
- 编译内核出错:invalid option `abi=aapcs-linux'
编译内核出错:invalid option `abi=aapcs-linux' 错误分析: 旧编译器可能是用OABI的,而配置内核时又选择了使用EABI的,修改内核配置: 取消 Kernel F ...
- ios用的什么编译器编译_为什么编译器是您最好的朋友
ios用的什么编译器编译 Between projects I spent time researching the root causes of high-cost bugs in large ga ...
- ViSP安装之Windows系统基于VS2019编译器编译获得VISP动态库
Windows系统基于VS2019编译器编译获得VISP动态库 官网地址: Installation from source for Windows with Visual C++ 2019 (vc1 ...
- 【Android Protobuf 序列化】Protobuf 使用 ( protoc 编译器简介 | 下载 protoc 编译器 | 使用 protoc 编译器编译 .proto 源文件 )
文章目录 一.protoc 编译器简介 二.下载 protoc 编译器 三.使用 protoc 编译器编译 addressbook.proto 源文件 四.参考资料 一.protoc 编译器简介 在上 ...
- gcc/g++等编译器 编译原理: 预处理,编译,汇编,链接各步骤详解
例子:由多个源文件组成的C程序,经过编辑.预处理.编译.链接等阶段才能生成最终的可执行程序.此过程中,在__c__阶段可以发现被调用的函数未定义. A. 编辑和预处理 B. 预处理 C. 编译 D. ...
- Android编译Libwebcore出错解决方法
Android编译Libwebcore出错解决方法 如下,在编译android源码时出现错误 target SharedLib: libwebcore (out/target/product/gene ...
- g++ linux 编译开栈_方舟编译器编译hello world踩坑全记录
闲来无事,看到方舟编译器完整开源,于是打算拿来试着编译一个东西来,接下来把踩过的一些坑记录一下. 参考文档 方舟编译器的官网是 OpenArkCompilerwww.openarkcompiler. ...
最新文章
- ORB_SLAM2局部建图线程
- mvn filter autoconfig 产生自动配置
- 将python3.7降为3.5_python3.7降至3.5【python cookbook】python访问子字符串
- c语言 utf 8转字符串,如何将UTF-8字节[]转换为字符串?
- Mac下安装MySQL
- [转]Ionic系列——CodePen上的优秀Ionic_Demo
- 5ic计算机考试考卷读取错误,北京自考出现错误试卷
- Android 手机截屏
- HTML5七夕情人节表白网页制作【唯美3D相册】HTML+CSS+JavaScript
- indiegogo众筹代理经验分享
- 深度搜索和广度搜索特点的深刻理解
- 如何防止滴滴出行后台自启
- snipaste如何滚动截图_这三款软件,满足你对截图的所有需求
- windows置顶程序DeskPins的下载、安装和使用
- 最终酬劳高达7.5亿美元,库克是功成身退还是潦草收场?
- OneDrivet账号怎么解封
- securecrt连接不上vmware
- 记录一下,转换树结构数据
- 在股权登记日或股息登记日买进的股票,能否分到红利?除权除息日卖出,还享有红利吗
- 树莓派4B 4G Ubuntu 20.04 arm64位 安装 Kubernetes 1.18.5 单master 双node集群