- 积分
- 210
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2019-1-19
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
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文件是怎么回事
|
|