由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Computation版 - Re: a question about fortran
相关主题
Fortran + C++[转载] unix下编译fortran 的错误太多,看不到怎么办?
偶也问一fortran问题visual fortran区别6位以上的变量名吗?
谁给说说fortran的几个标准Re: f90 and mpi
有人用过Matlab的Compiler吗?或者是否有什么工具能把Matlab程序转成C, C++?谁最近买国FORTRAN的COMPILER,FOR WINDOWS,请介绍一下。
[转载] matlab里面移动指针pointer问题老板的程序在unix上运行没问题
新手求教PETSc如何入门?benchmark of ifc and g77
where to down a standard Fortran90 complier?为什么两台机器的计算结果不一样?
my experience,Re: 我也及问一个问题icc complier is expensive yar~~
相关话题的讨论汇总
话题: fortran话题: cint话题: getarg话题: question话题: about
进入Computation版参与讨论
1 (共1页)
l***s
发帖数: 11
1

is this not enough to tell you why?
use mkstemp instead of tempname,
h***o
发帖数: 539
2

Unix server?
linux server?
seg fault generally is due to mistaken usage of pointers
S***y
发帖数: 186
3

In Fortran, it's normally due to an access to an array element beyond
the bounds, i.e. misuse of the pointers.

【在 h***o 的大作中提到】
:
: Unix server?
: linux server?
: seg fault generally is due to mistaken usage of pointers

s*r
发帖数: 2757
4
f77有指针了?

【在 S***y 的大作中提到】
:
: In Fortran, it's normally due to an access to an array element beyond
: the bounds, i.e. misuse of the pointers.

h***o
发帖数: 539
5
不一定要叫指针才是指针吧

【在 s*r 的大作中提到】
: f77有指针了?
s*r
发帖数: 2757
6
可是f95有了叫指针的指针类似物
f77里不叫指针的指针怎么指到外面去?

【在 h***o 的大作中提到】
: 不一定要叫指针才是指针吧
t*****o
发帖数: 74
7
不严格的讲, 数组的下标就可以叫指针
你定义了一个A[20]
调用的时候用到了A[I], I不小心设成了30, 不就指到外面出了吗?

【在 s*r 的大作中提到】
: 可是f95有了叫指针的指针类似物
: f77里不叫指针的指针怎么指到外面去?

s*r
发帖数: 2757
8
i guess that reference won't return anything except error in fortran

【在 t*****o 的大作中提到】
: 不严格的讲, 数组的下标就可以叫指针
: 你定义了一个A[20]
: 调用的时候用到了A[I], I不小心设成了30, 不就指到外面出了吗?

r****y
发帖数: 1437
9
Recently have to use a Fortran code written by another folk. He
used command-line-arguments a lot. Like this
character*80 cint
...
getarg(1, cint)
read(cint, *) number
...
Are these "getarg" and "read(cint, *)" standard fortran syntax, or
just dialect used by some compilers?
f****r
发帖数: 27
10
getarg is compiler extension

【在 r****y 的大作中提到】
: Recently have to use a Fortran code written by another folk. He
: used command-line-arguments a lot. Like this
: character*80 cint
: ...
: getarg(1, cint)
: read(cint, *) number
: ...
: Are these "getarg" and "read(cint, *)" standard fortran syntax, or
: just dialect used by some compilers?
:

1 (共1页)
进入Computation版参与讨论
相关主题
icc complier is expensive yar~~[转载] matlab里面移动指针pointer问题
有没有free的Fortran Compiler阿?新手求教PETSc如何入门?
fortran还是matlab?where to down a standard Fortran90 complier?
大家去看看G95吧my experience,Re: 我也及问一个问题
Fortran + C++[转载] unix下编译fortran 的错误太多,看不到怎么办?
偶也问一fortran问题visual fortran区别6位以上的变量名吗?
谁给说说fortran的几个标准Re: f90 and mpi
有人用过Matlab的Compiler吗?或者是否有什么工具能把Matlab程序转成C, C++?谁最近买国FORTRAN的COMPILER,FOR WINDOWS,请介绍一下。
相关话题的讨论汇总
话题: fortran话题: cint话题: getarg话题: question话题: about