爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 2774|回复: 0

pgi编译cesm时的问题

[复制链接]
回帖奖励 30 金钱 回复本帖可获得 10 金钱奖励! 每人限 1 次

新浪微博达人勋

发表于 2019-1-27 13:43:16 | 显示全部楼层 |阅读模式

登录后查看更多精彩内容~

您需要 登录 才可以下载或查看,没有帐号?立即注册 新浪微博登陆

x
大佬们好,我打算使用pgi编译器编译CESM,想先看一下pgi编译器有没有问题,然后我进入到cesm1_2_2/models/utils/mct目录下,执行./configure CC=pgcc FC=pgf90,出现了这样的情况:


checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... no
checking whether pgcc accepts -g... yes
checking for pgcc option to accept ISO C89... none needed
checking how to run the C preprocessor... pgcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking whether we are using the GNU Fortran compiler... no
checking whether pgf90 accepts -g... yes
checking for Fortran flag to compile .F90 files... none
checking for mpif90... mpif90
checking for MPI_Init... yes
checking for mpif.h... yes
Checking Compiler Version
checking how to get the version output from pgf90... -V
checking for Fortran flag to compile preprocessed .F files... none
checking how to define symbols for preprocessed Fortran... -D
checking how to get verbose linking output from pgf90... -v
checking for Fortran libraries of pgf90...  -L/exports/home/asc02/maork/pgi0127/linux86-64/18.4/lib -L/usr/lib64 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64 -lpgf90rtl -lpgf90 -lpgf90_rpm1 -lpgf902 -lpgftnrtl -lpgmp -lpthread -lpgmath -lnspgc -lpgc -lrt -lm
checking for dummy main to link with Fortran libraries... none
checking for Fortran name-mangling scheme... lower case, underscore, no extra underscore
Hostname=mu01
Machine=x86_64
OS=Linux
Fortran Compiler is Portland Group
checking for ranlib... ranlib

Output Variables: {CC=pgcc} {CFLAGS=-g} {FC=pgf90} {FCFLAGS=} {PROGFCFLAGS=}{CPPDEFS= -DSYSLINUX -DCPRPGI} {OPT=-O2} {DEBUG=} {REAL8=-r8} {BIT64=-pc 64} {ENDIAN=-byteswapio} {MPIFC=mpif90} {MPILIBS=} {MPIHEADER=} {INCLUDEFLAG=-I} {INCLUDEPATH=} {AR=ar cq} {RANLIB=ranlib} {BABELROOT=} {COMPILER_ROOT=} {PYTHON=} {PYTHONOPTS=} {FORT_SIZE=} {prefix=NONE} {SRCDIR=} {FC_DEFINE=-D}

configure: creating ./config.status
config.status: creating Makefile.conf
config.status: creating config.h
config.status: config.h is unchanged
Please check the Makefile.conf
Have a nice day!



看起来我pgi编译不了fortran语言相关的文件,我重新安装了别的版本的pgi也是这种情况,所以我想是不是我的安装步骤出了问题,
我是先解压,然后./install,(不知道选项的选择有没有关系),
进入bin下 ./makelocalrc -X  路径
添加环境变量。
求问提示编译不了.f 文件及.F90文件是怎么回事


密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

Copyright ©2011-2014 bbs.06climate.com All Rights Reserved.  Powered by Discuz! (京ICP-10201084)

本站信息均由会员发表,不代表气象家园立场,禁止在本站发表与国家法律相抵触言论

快速回复 返回顶部 返回列表