主题:Fortran编译问题
applewu
[专家分:0] 发布于 2010-08-31 10:27:00
请问,在CVF中能够编译运行,但用gfortran通过Makefile却出现如下问题:
'x' argument of 'secnds' intrinsic at (1) must be of kind 4
不知道如何解决,望大家提出宝贵意见,谢谢!
回复列表 (共12个回复)
11 楼
aliouying [专家分:1150] 发布于 2010-09-02 17:02:00
gfortran -v
12 楼
applewu [专家分:0] 发布于 2010-09-06 11:40:00
$ gfortran -v
Using built-in specs.
Target: i686-pc-cygwin
Configured with: /gnu/gcc/releases/packaging/4.3.4-3/gcc4-4.3.4-3/src/gcc-4.3.4/configur
e --srcdir=/gnu/gcc/releases/packaging/4.3.4-3/gcc4-4.3.4-3/src/gcc-4.3.4 --prefix=/usr
--exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --datadir
=/usr/share --localstatedir=/var --sysconfdir=/etc --infodir=/usr/share/info --mandir=/u
sr/share/man --datadir=/usr/share --infodir=/usr/share/info --mandir=/usr/share/man -v -
-with-gmp=/usr --with-mpfr=/usr --enable-bootstrap --enable-version-specific-runtime-lib
s --with-slibdir=/usr/bin --libexecdir=/usr/lib --enable-static --enable-shared --enable
-shared-libgcc --disable-__cxa_atexit --with-gnu-ld --with-gnu-as --with-dwarf2 --disabl
e-sjlj-exceptions --enable-languages=ada,c,c++,fortran,java,objc,obj-c++ --disable-symve
rs --enable-libjava --program-suffix=-4 --enable-libgomp --enable-libssp --enable-libada
--enable-threads=posix --with-arch=i686 --with-tune=generic --enable-libgcj-sublibs CC=
gcc-4 CXX=g++-4 CC_FOR_TARGET=gcc-4 CXX_FOR_TARGET=g++-4 GNATMAKE_FOR_TARGET=gnatmake GN
ATBIND_FOR_TARGET=gnatbind AS=/opt/gcc-tools/bin/as.exe AS_FOR_TARGET=/opt/gcc-tools/bin
/as.exe LD=/opt/gcc-tools/bin/ld.exe LD_FOR_TARGET=/opt/gcc-tools/bin/ld.exe --with-ecj-
jar=/usr/share/java/ecj.jar
Thread model: posix
gcc version 4.3.4 20090804 (release) 1 (GCC)
我来回复