avatar
Re: a question about fortran# Computation - 科学计算
l*s
1

is this not enough to tell you why?
use mkstemp instead of tempname,
avatar
h*o
2

Unix server?
linux server?
seg fault generally is due to mistaken usage of pointers
avatar
S*y
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

avatar
s*r
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.

avatar
h*o
5
不一定要叫指针才是指针吧

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

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

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

avatar
s*r
8
i guess that reference won't return anything except error in fortran

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

avatar
r*y
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?
avatar
f*r
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?
:

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。