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

sapzj1984 2007-06-15 11:06:17
发信人: 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).
...全文
265 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

568

社区成员

发帖
与我相关
我的任务
社区描述
英特尔® 边缘计算,聚焦于边缘计算、AI、IoT等领域,为开发者提供丰富的开发资源、创新技术、解决方案与行业活动。
社区管理员
  • 英特尔技术社区
  • shere_lin
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧