(gfortran) CTIME (gfortran) Intrinsic Procedures (gfortran) DBLE 8.38 `DATE_AND_TIME' -- Date and time subroutine ================================================ _Description_: `DATE_AND_TIME(DATE, TIME, ZONE, VALUES)' gets the corresponding date and time information from the real-time system clock. DATE is `INTENT(OUT)' and has form ccyymmdd. TIME...
by cudebian - Linux文档专区 - 2009-10-13 18:30:25 阅读(566) 回复(0)
我使用gfortran(gcc4.1.2版)编译程序的时候,有没有编译选项可以把默认的real*4类型都默认成real*8类型的?在使用open64编译器时有选项-r8可以用,不知道gcc怎么来实现?
我在安装gcc-gfortran时出现以下信息,无法安装:libgmp.so.3 is needed by gcc-gfortran-4.1.2-42.e15.i386. 这是什么原因,如何处理?
本帖最后由 chenyx 于 2013-08-16 16:16 编辑 suse 11 安装gfortran找不到lib,gfortran exma.f90 -o l123 /opt/gcc-4.9/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.9.0/f951: error while loading shared libraries: libcloog-isl.so.4: cannot open shared object file: No such file or directory 新手,网上说的.profile文件,我打开是空白的,要在.bashrc还是.profile里配置阿,一般打开应该是有注视的阿,这是我的配...
我用写的程序里要调用一个用gfortran编译的一个libtbs库,该库不是我写的。在编译的时候出现/lib/libtbs.so undefind reference gfortran_transfer_character;undefind reference gfortran_st_write;undefind reference gfortran_st_endfile等错误。我在网上大概找了一下,说是没有链接libgfortran库,但是我把libgfortran库链接上去,还是出现这样的错误。已经困扰了我几天了,请大家帮帮忙!,谢谢!
总目的: 在下打算把linux里面的gfortran升级一下结果发现运行程序时:(gfortran从GNU上下的是4.7版的) 问题: 提示需要mpfr库里面的libmpfr.so.1,而我安装最新的mpfr3.1.1,里面只有libmpfr.so.4,网上查说可以做一个软链接,于是做了一个,之后运行就提示:/f951: undefined symbol: mpfr_get_z_exp 郁闷不已,请诸位帮忙看看!!谢谢!!!!
在编写fortran文件时,为了整齐易读使用tab对齐,同时使用gfortran -Wall 命令进行编译,这时编译器给出使用tab不当的警告, 感觉这个不应该啊,有没有办法避免给出这种警告啊? 使用-Wall选项主要是为了发现一些小问题,例如定义了一个变量但是没有使用。
用g77编译时,是下面的样子 g77 -c -O3 -Wuninitialized -Wunused -Wimplicit -fno-f2c -ffast-math -fno-automatic -fno-backslash -Wno-globals -fno-globals leq.f 如果改为gfortran gfortran -c -O3 -Wuninitialized -Wunused -Wimplicit -fno-f2c -ffast-math -fno-automatic -fno-backslash -Wno-globals -fno-globals leq.f 则有如下错误 f951: 警告:命令行选项“-Wimplicit”对 C/C++/ObjC/ObjC++ 是有效的,但对 Fortran...
用g77编译时,是下面的样子 g77 -c -O3 -Wuninitialized -Wunused -Wimplicit -fno-f2c -ffast-math -fno-automatic -fno-backslash -Wno-globals -fno-globals leq.f 如果改为gfortran gfortran -c -O3 -Wuninitialized -Wunused -Wimplicit -fno-f2c -ffast-math -fno-automatic -fno-backslash -Wno-globals -fno-globals leq.f 则有如下错误 f951: 警告:命令行选项“-Wimplicit”对 C/C++/ObjC/ObjC++ 是有效的,但对 Fortran...
[code]1.安装
在混和使用g77与gfortran编译mvapich时,官方文档