由买买提看人间百态

topics

全部话题 - 话题: fortran
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
x********g
发帖数: 100
1
I am new to fortran programming, and I am using a linux os.
c********u
发帖数: 1608
2
来自主题: Programming版 - 谁有numerical recipe in Fortran啊
找了好久没找着,板上的东方不败们,哪位有? 我有C的,找不到fortran的。
p*********g
发帖数: 226
3
来自主题: Programming版 - 问个简单的Fortran问题
代码在此
http://napsu.karmitsa.fi/lmbm/lmbmu/lmsub.f
用 Intel Visual Fortran 编译,结果报错
lmsub.f(3834): error #6407: This symbolic name is not an intrinsic function
name or an intrinsic subroutine name. [ETIME]
INTRINSIC ETIME
s****h
发帖数: 921
4
来自主题: Programming版 - fortran 与 FLECS 区别
在用一个电力建模的专用程序,支持fortan写自定义模型。
可是这个fortran好像不是标准的,而是什么FLECS。
FLECS到底是什么
f**********0
发帖数: 1229
5
来自主题: Programming版 - 问一个fortran中if的问题
fortran do 循环中加入if到底占不占用时间?
我觉得肯定会比以前慢,但是老板说if只是0,1判断,不会占用时间~
求解
r***l
发帖数: 9084
6
来自主题: Programming版 - 求intel fortran 9.1 em64t compiler
要2次开发个软件,需要老版本的intel fortran 9.1, 需要em64t的,估计大家都不用
了,谁有老版本甚至X版卖我吧,价格好商量。
m*****g
发帖数: 278
7
来自主题: Programming版 - 求推荐:fortran好用的debug软件
刚刚接触fortran,不知道哪个debug软件比较好用呢,比如想设置断点,实时观察变量
赋值,或者可以一步一步运行程序。linux或者windows都可以。
谢谢大家!
l*******G
发帖数: 1191
8
来自主题: Programming版 - 求推荐:fortran好用的debug软件
totalview for Linux
Visual fortran for windows
m*******l
发帖数: 12782
9
来自主题: Programming版 - 求推荐:fortran好用的debug软件
fortran has its advantages
S**I
发帖数: 15689
10
来自主题: Programming版 - 求推荐:fortran好用的debug软件
不是说科学计算都还是FORTRAN的天下吗?
t*****n
发帖数: 4908
11
来自主题: Programming版 - 求推荐:fortran好用的debug软件
说到速度fortran没比c快吧。两者差不多。要快上汇编啊。据说gotoblas里面就有手工
汇编代码。小日本真牛啊,要我每天码这种代码要吐血了。
c不是可以转递指针吗?
m*****g
发帖数: 278
12
来自主题: Programming版 - 求推荐:fortran好用的debug软件
谢谢回复
就是维护已有的fortran代码,如果是编新的我更希望用c++呢。
这些你提到的软件是收费的么?
J********9
发帖数: 36508
13
来自主题: Programming版 - FORTRAN数组越界问题
不会 并且代码量非常之大 换语言肯定又有其他问题
我想用Fortran的肯定迟早要遇到类似问题 不知道其他人是如何解决的

换Python试试?
J********9
发帖数: 36508
14
来自主题: Programming版 - FORTRAN数组越界问题
谢谢 64-bit的编译器 据说可以用2TB
请问一下VS Intel Fortran 如何选择64bit 编译?

机器的物理内存
操作系统提供的内存以及虚拟内存
windows 32/64
编译器
编译模式
这些东西可能都有关系
w*x
发帖数: 518
15
来自主题: Programming版 - 发现版上没有聊fortran的
Fortran在底层科学计算里面用的还挺多,然后发现版上没人聊的……
我猜版上的大部分是做网站前后端的?
t*****n
发帖数: 4908
16
来自主题: Programming版 - 发现版上没有聊fortran的
Fortran没什么吧。百万级我都干过。关键还是算法和业务模型。有个好的ide能省心不
少。
N******K
发帖数: 10202
17
来自主题: Programming版 - 发现版上没有聊fortran的
用c++吧 放弃fortran这个出土文物
a****i
发帖数: 1182
18
来自主题: Programming版 - 发现版上没有聊fortran的
fortran应该核心还是那些专业性的东西,有限元什么的
语言本身……一是应用不广,二是没有什么语言上的特色
o******1
发帖数: 1046
19
来自主题: Programming版 - 发现版上没有聊fortran的
不是应用不广,是完全没有应用。工业界用basic写程序的有,但是用fortran的完全没
有。
w*x
发帖数: 518
20
来自主题: Programming版 - 发现版上没有聊fortran的
嗯,febio也是cpp... 我是用abaqus不得不用Fortran...

[发表自未名空间手机版 - m.mitbbs.com]
N******K
发帖数: 10202
21
来自主题: Programming版 - 发现版上没有聊fortran的
Fortran 对array的处理好像比C的效率高:胡说八道
N********n
发帖数: 8363
22
来自主题: Programming版 - 发现版上没有聊fortran的

fortran没有指针所以容易优化。
z****s
发帖数: 192
23
来自主题: Programming版 - 发现版上没有聊fortran的
fortran 90以后有指针。
t*****n
发帖数: 4908
24
来自主题: Programming版 - 发现版上没有聊fortran的
完全不对。百万级别的不说,nasa还有千万级别的。abaqus,ansys等等几乎都是
fortran的核心。
t*****n
发帖数: 4908
25
来自主题: Programming版 - 发现版上没有聊fortran的
语言其实没什么。就维护性来说,fortan没有那么不堪。对于团队合作和构造大系统,
fortran其实够用了。你要是想做OO,当然是C++。
我再说一遍,用什么语言是极其次要的。关键是业务模型。你用fotran/pascal/c/c++
来实现,到最后工作量基本一致。
w**********5
发帖数: 1741
26
程序员的办法
FORTRAN程序员:
01 打开冰箱门
02 把大象放进去
03 关上冰箱门
04 如果还有大象,GO TO 01
APL程序员:
写了仅仅一行代码,不但把大象装进去了,还能控制冰箱在万米高空变形,演算飞行姿
态和火力控制,并和数以万计的外星人飞船战斗。
C 程序员:
将大象编码成二进制文件,然后编译进冰箱的程序代码里。
JAVA程序员:
你还在用面向过程的思维看问题?一个设计良好的冰箱必然封装了相应的方法,所以你
只要调用“冰箱.放入动物(大象)”就行了。
COBOL 程序员:
对和自己一样濒临灭绝的大象寄予了深切的同情。
汇编程序员:
将栈命名为冰箱,然后 PUSH 大象。
算法学家:
用Lempel–Ziv–Welch压缩算法将大象压缩。
网络安全专家:
把大象放进冰箱会使冰箱的冷冻区溢出,这将导致攻击者获得冰箱的系统权限。
硬件工程师:
我可以用随身携带的瑞士军刀把冰箱的各部分拆下来,然后连同大象装在一起。
m******1
发帖数: 418
27
DLL 文件拷贝在 c:Windows,并且在 VBA 子程序中加了路径。对32位Excel运行良好。
但用在64位Excel上时,尽管用寻找文件的子程序调试时能够找到DLL文件,但在运行程
序时一直显示找不到这个Fortran DLL文件.
请各位大侠指教如何解决,多谢了。
d*******n
发帖数: 20
28
来自主题: Software版 - 求教一个Matlab fortran compiler 问题
请教Matlab大牛一个问题:
Window Vista 下的Matlab需要什么compiler来运行fortran? G95可用吗?
如果不行还有什么compiler可以用吗(能有免费的最好)?
谢谢!
p*********7
发帖数: 147
29
我有个程序用Compaq Visual Fortran 6 写的,但是发现在Windows Vista 不兼容,运行
不了,请问有办法解决吗? 查了一下,发现Visual Studio 6 与 Windows Vista不兼容.
p*********w
发帖数: 23432
30
可以先把输入输出的文件名给统一了,然后编个简单的 fortran 读写文件。
也可以考虑把原有的 subroutine 编译了,然后在外围写个 bat 调用
(通过 cmd line 输入输出)
e******e
发帖数: 98
31
// is the string concatenation operator in fortran, like . in perl
w*******e
发帖数: 1622
32
现在还有用fortran的地方?
a*******i
发帖数: 67
33
想在电脑上装fortran和Visual Studio, 哪个先装比较的好呢?
b****z
发帖数: 337
34
俺有Intel Visual Fortran。不过也还是喜欢用CVF。
当时也是很折腾的。后来索性自己装了一台机器,仅仅是为了32Bit的OS能有更好的兼
容.
m*****e
发帖数: 126
35
来自主题: Unix版 - hOW CAN i COMPILE AND RUN FORTRAN?

First, you should tell us what is your operating system.
Since you post in this board, I suppose you are working on UNIX.
Usually, there are fortran compilers on Unix system. Try f77 or g77.
As a remark, this compiler is not very good. If you write small
programs, it should be OK. But if you are going to work on big
project, considering some commercial compiler. I am now us ABSOFT's
compiler. It is very nice.
s*****d
发帖数: 258
36
you can dl visual Fortran from the net. There's some post on this BBS
containing the address.
t***o
发帖数: 24
37
来自主题: Unix版 - fortran program, help!
I just deleted my fortran77 program I wrote by mistake. Now
I only have a.out, which is the standard compile output of
my program. Can I convert it back to fortran language file?
Help please. I am using IRIX6.2 OS.
s*****l
发帖数: 2041
38
来自主题: Unix版 - [转载] 请教关于fortran的
【 以下文字转载自 Programming 讨论区 】
【 原文由 sonhill 所发表 】
在fortran里有一个库函数sh()可以调用一些command,例如sh('cp a.out a.exe'),
sh('rm -f a.out')....
有一个调用了sh的程序在Sun5.8能够compile,但是在另一个机器里compile
的时候,却说找不到这个库函数:
ld: 0711-317 ERROR: Undefined symbol: .sh
我不清楚那个机器里是什么操作系统(IBM的)。
那位知道还有那个可以执行同一功能的库函数?(就像C里面的system())
谢谢了。
s*****d
发帖数: 258
39
Normally, it should have no problem unless some windows specific features
are used. Run time error could be caused by over-tolerating compilers.
Similar things happen to me except the other way around, a code runs ok
under UNIX but failes in windows, 'coz my unix fortran compiler did not
catch a over-bounday error in my code.
90% of time, it is you coding error.
e******g
发帖数: 1
40
小弟,需要在unix下用fortran编程,但不知如何在debug时加入断点?请大虾指教。
s**l
发帖数: 30
41
want to use calloc in c to allocate memory dynamically in fortran,
because f77 can not support allocate memory dynamically.
I heard it is doable, who can help me and give me an example, like
allocate an array. Thanks.
s**s
发帖数: 242
42
in C:
....
float *B,...
B=(float *)malloc(N*sizeof(float));
fsub_(B,...)
in fortran:
subroutine fsub(B,....)
real B(1)
s**l
发帖数: 30
43
Can it be more specified?
like an example which is tested. Thanks.
I tested the following
Fortran part:
program test
real B(1)
call fsub(B)
end
subroutine fsub(B)
real B(1)
do i=1,10
B(i)=i*1.
write(6,*) B(i)
enddo
end
C part:
#include
#include
void aaa( )
{
float * B;
B=(float *)malloc(10*sizeof(float));
fsub_(B);
}
But it says segmentation fault.....
s**l
发帖数: 30
44
I want to call a "C" subroutine from Fortran.
s**l
发帖数: 30
45
Thanks, it works, but I need to allocate an array from C subroutine and
use it in fortran.
q*****m
发帖数: 73
46
那没戏.
Suggest you make the Fortran program as subroutine, then call from C.
s**l
发帖数: 30
47
I heard it is possible.
I think the problem is the data communication between C and fortran.
l**t
发帖数: 452
48
【 以下文字转载自 Programming 讨论区,原文如下 】
发信人: leot (leot), 信区: Programming
标 题: 如何用Fortran 或者c, java读excel文件?
发信站: The unknown SPACE (Tue Jul 1 23:28:54 2003) WWW-POST
好像总是有些小地方读得不太准确.
有一批这样的文件,所以又不能用excel导出成txt.
大家有什么办法解决? thank you!!!
f*******n
发帖数: 1
49
来自主题: Unix版 - a question about fortran
When I complie some programs. there are some error code. I am confused what
these codes mean. Where can I check it? I'm using Absoft Fortran 8.0 in
PCpower G5.
Here is an example:
make:
***Error code 256 from cc.
Great thanks.
Thanks again.
m*****2
发帖数: 9
50
来自主题: Windows版 - WINDOWS下编译FORTRAN
哪位大佬给说说如何在WINDOWS下编译FORTRAN程序呀? 有免费的COMPILER不? 谢谢.
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)