由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Computation版 - How to compile F77 file with C ?
相关主题
偶也问一fortran问题关于adaptive grid size的问题
visual fortran区别6位以上的变量名吗?关于C和Fortran: 一点儿个人观点
what is the compiler options for the routine "ssyev"fortran搞计算还是简单多了
<>全书下载请教Unix中怎么编译Fortun文件
Write In Cemergency: two ACM transactions
Fortran77中谁给说说fortran的几个标准
problem about Fortran 77 in unix[合集] 请教c下面大数祖问题
a question about data transfer in MPI有人用过Matlab的Compiler吗?或者是否有什么工具能把Matlab程序转成C, C++?
相关话题的讨论汇总
话题: f77话题: compile话题: file话题: routine话题: ieor
进入Computation版参与讨论
1 (共1页)
n*********s
发帖数: 8
1
my C program need a routine in F77, just a small calculation. The routine is a
random number generator using function IEOR in F77.
h***o
发帖数: 539
2
c里面调用Fortran function的时候function name后面加个"_"就可以了
传的参数全部用指针
f77 -c function.f
gcc main.c function.o

【在 n*********s 的大作中提到】
: my C program need a routine in F77, just a small calculation. The routine is a
: random number generator using function IEOR in F77.

n*********s
发帖数: 8
3
Got it. Thanks.
BTW, can you tell me a little more about this kind of things, or refer me to
some books or websites?
Such as how to call c routine in f77..., how should I be careful about the
data type in c and f?...

is a

【在 h***o 的大作中提到】
: c里面调用Fortran function的时候function name后面加个"_"就可以了
: 传的参数全部用指针
: f77 -c function.f
: gcc main.c function.o

h***o
发帖数: 539
4
www.google.com

【在 n*********s 的大作中提到】
: Got it. Thanks.
: BTW, can you tell me a little more about this kind of things, or refer me to
: some books or websites?
: Such as how to call c routine in f77..., how should I be careful about the
: data type in c and f?...
:
: is a

1 (共1页)
进入Computation版参与讨论
相关主题
有人用过Matlab的Compiler吗?或者是否有什么工具能把Matlab程序转成C, C++?Write In C
matlab改成C++,还用了号称史上最快的fftw,结果慢了一倍Fortran77中
有这样的random number generator吗 ?problem about Fortran 77 in unix
a question about random number generatora question about data transfer in MPI
偶也问一fortran问题关于adaptive grid size的问题
visual fortran区别6位以上的变量名吗?关于C和Fortran: 一点儿个人观点
what is the compiler options for the routine "ssyev"fortran搞计算还是简单多了
<>全书下载请教Unix中怎么编译Fortun文件
相关话题的讨论汇总
话题: f77话题: compile话题: file话题: routine话题: ieor