如何让intel fortran支持2G以上大文件

发信人: leavy (☆星河☆), 信区: Fortran
标 题: [转载] 如何让intel fortran支持2G以上大文件
发信站: 南京大学小百合站 (Fri Aug 20 09:31:19 2004)

【 以下文字转载自 HPC 讨论区 】
【 原文由 pink 所发表 】


ligq (keke) 于Fri Jan 16 19:13:03 2004)
提到:

用intel fortran编译的程序
输出的文件大于2G就停止了,提示 file size limit exceeded
要加什么编译选项?

pgi fortran 我找到了编译选项支持2G以上大文件
intel fortran 的文档里我没有找到什么编译选项支持大文件

intel fortran for linux 8.0
redhat 8.0

Carrot (大萝卜1号) 于Sat Jan 17 08:54:41 2004)
提到:

强啊
这么快就用到intel compiler 8.0了
我还没有用到啦

你写的什么程序?
怎么会编译出这么大的代码?
windows也没有这么大啊



ligq (keke) 于Sat Jan 17 10:29:59 2004)
提到:

intel compiler 8.0出来又一个月了
不是我的程序编译出来有2G这么大
而是我的计算程序的输出文件有这么大


Carrot (大萝卜1号) 于Sat Jan 17 13:02:02 2004)
提到:

这个我知道,我是说你的速度够快的
那么这和编译器有什么关系?



Striker (rekirtS) 于Sat Jan 17 13:34:17 2004)
提到:

I think it could be the problem of filesystem or it
is a umask thing. Why do you need so big file?


vesa (雅阁) 于Sat Jan 17 14:40:03 2004)
提到:

我这里,Redhat 8.0,IFC 8.0,支持2G以上的文件。文件系统是ext3

用ulimit -a看一下有没有限制



ligq (keke) 于Sat Jan 17 16:49:29 2004)
提到:

我也是 redhat8.0 ifc8.0 ext3
ulimit -a 的结果
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
max locked memory (kbytes, -l) unlimited
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 7168
virtual memory (kbytes, -v) unlimited

另外,我这里pgi加 -Mlfs 编译选项后,是可以支持大文件的



Striker (rekirtS) 于Tue Jan 20 12:25:38 2004)
提到:

what is your kerneal version ?
2GB can apply to ext3 if you are running something less than 2.2.1x or a few
cryptic options have been set for backwards compatability. Current libraries
should support over 2GB. There was an overlap period where some ext3 builds w
ould not allow larger
than 2GB files. Specifically, 32-bit systems with Large File Support (LFS). M
aximum filesystem size can be as much as 16TB, maximum filesize 2TB.

Speaking of big numbers, ReiserFS goes at least to 1EB (Exabyte) per filesyst
em and 16TB per file (with cache limits, I have not seen the absolute latest
in 2.6), and JFS can hit over 16TB filesystem and filesize on 32-bit (up to 4
Petabytes on 64-bit).




--

※ 来源:.南京大学小百合站 http://bbs.nju.edu.cn [FROM: 172.16.66.173]
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值