由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Computation版 - Write In C
相关主题
<>全书下载where to down a standard Fortran90 complier?
关于C和Fortran: 一点儿个人观点How to read data written my MPI_WRITE?
偶也问一fortran问题fortran problem
visual fortran区别6位以上的变量名吗?是不是cygwin问题?
problem about Fortran 77 in unix详细介绍Fortran 77的站点
fortran搞计算还是简单多了fortran memory problem
请教Unix中怎么编译Fortun文件How to compile F77 file with C ?
关于adaptive grid size的问题Fortran77中
相关话题的讨论汇总
话题: write话题: fortran话题: f77话题: lot话题: somewhere
进入Computation版参与讨论
1 (共1页)
M*******n
发帖数: 508
1
When I find my code in tons of trouble,
Friends and colleagues come to me,
Speaking words of wisdom,
"Write in C."
As the deadline fast approaches,
and bugs are all that I can see
Somewhere, someone whispers:
"Write in C."
Write in C, Write in C,
Write in C, oh, Write in C.
Logo's dead and buried,
Write in C.
I used to write a lot of FORTRAN.
For science it worked flawlessly.
T
a*****s
发帖数: 6260
2
faint... C is not that great as a computing language bah.
h***o
发帖数: 539
3
I like it..but boss won't allow :(

【在 a*****s 的大作中提到】
: faint... C is not that great as a computing language bah.
s****y
发帖数: 585
4
那你老板推荐用什么?

【在 h***o 的大作中提到】
: I like it..but boss won't allow :(
a*****s
发帖数: 6260
5
Fortran...whatelse...

【在 s****y 的大作中提到】
: 那你老板推荐用什么?
b*******u
发帖数: 62
6
hehe
the same here
we even stick to fortran 77
thought myself wrote a lot in c++
but the speed cannot compete with fortran....
w*******g
发帖数: 99
7
Fortran is better than C and CPP for traditional scientific computing, as least
a lot of resources are avaiable... Even though I myself mostly write code in
Fortran 90 and C++, F77 is still the best if speed is concerned...

【在 b*******u 的大作中提到】
: hehe
: the same here
: we even stick to fortran 77
: thought myself wrote a lot in c++
: but the speed cannot compete with fortran....

h***o
发帖数: 539
8
I will try to use f90 for my phd thesis
f77 is really awkward

【在 b*******u 的大作中提到】
: hehe
: the same here
: we even stick to fortran 77
: thought myself wrote a lot in c++
: but the speed cannot compete with fortran....

h***o
发帖数: 539
9
really?
that's bad...I just hate f77's style

【在 w*******g 的大作中提到】
: Fortran is better than C and CPP for traditional scientific computing, as least
: a lot of resources are avaiable... Even though I myself mostly write code in
: Fortran 90 and C++, F77 is still the best if speed is concerned...

t****n
发帖数: 39
10
Well, the speed of F90 is comparable with F77, if you don't use the pointer.
The compiler always fails to optimise the code whtn there were a lot
of pointers.

【在 h***o 的大作中提到】
: really?
: that's bad...I just hate f77's style

相关主题
fortran搞计算还是简单多了where to down a standard Fortran90 complier?
请教Unix中怎么编译Fortun文件How to read data written my MPI_WRITE?
关于adaptive grid size的问题fortran problem
进入Computation版参与讨论
w*******g
发帖数: 99
11
Yes, that's true. My dynamic allocated arrays make my code runs much slower...

【在 t****n 的大作中提到】
: Well, the speed of F90 is comparable with F77, if you don't use the pointer.
: The compiler always fails to optimise the code whtn there were a lot
: of pointers.

t****n
发帖数: 39
12
That could be bad usage of cache.

【在 w*******g 的大作中提到】
: Yes, that's true. My dynamic allocated arrays make my code runs much slower...
w*******g
发帖数: 99
13
Could you please state it more clearly? What would be the solution to this issue
then? Thank you!

【在 t****n 的大作中提到】
: That could be bad usage of cache.
t****n
发帖数: 39
14
Is the leading unit of your array equal to 2^n? If so, just change it to 2^n+1
to see what happens.
For a fixed size array, the compiler can optimize the code to be cache
friendly. But for dynamic allocated array, it's almost impossible, since
the compiler doesn't know the size information in advance.

【在 w*******g 的大作中提到】
: Could you please state it more clearly? What would be the solution to this issue
: then? Thank you!

s****y
发帖数: 585
15
en,我老板手下的学生作了个小软件用的是vb+fortran.
不过轮到我就全用了c++.主要是我自己对fortran不熟悉.

【在 h***o 的大作中提到】
: I like it..but boss won't allow :(
M*******n
发帖数: 508
16
so C or C++ will also do bad job in this situation, right?
by the way, what's the meaning of leading unit?

【在 t****n 的大作中提到】
: Is the leading unit of your array equal to 2^n? If so, just change it to 2^n+1
: to see what happens.
: For a fixed size array, the compiler can optimize the code to be cache
: friendly. But for dynamic allocated array, it's almost impossible, since
: the compiler doesn't know the size information in advance.

1 (共1页)
进入Computation版参与讨论
相关主题
Fortran77中problem about Fortran 77 in unix
a question about data transfer in MPIfortran搞计算还是简单多了
something strange in fortran90请教Unix中怎么编译Fortun文件
c++,如何用cout 输出double 变量关于adaptive grid size的问题
<>全书下载where to down a standard Fortran90 complier?
关于C和Fortran: 一点儿个人观点How to read data written my MPI_WRITE?
偶也问一fortran问题fortran problem
visual fortran区别6位以上的变量名吗?是不是cygwin问题?
相关话题的讨论汇总
话题: write话题: fortran话题: f77话题: lot话题: somewhere