Fortran 板


LINE

: 查了IMSL说明,将DLSADS改成LSADS : 编译时出现下列错误 : 1>F:\20080731freeformat\program-27-80\Mainpg.for(976) : Error: The type of : the actual argument differs from the type of the dummy argument. [GLKRR] : 1>F:\20080731freeformat\program-27-80\Mainpg.for(976) : Error: The type of : the actual argument differs from the type of the dummy argument. [GLFRR] : 1>F:\20080731freeformat\program-27-80\Mainpg.for(976) : Error: The type of : the actual argument differs from the type of the dummy argument. [XR] : 请问是哪边需要修改才能正常编译呢 上述的问题是似乎是新旧版IMSL定义参数的形式顺序不同 旧版为CALL LSADS (N, A, LDA, B, X) 新版则是CALL LSADS (A, B, X [,…]) 故修改为改为 CALL LSADS(GLKrr,GLFrr,Xr,NEQ3,NEQ3) 再经版友建议 把USE NUMERICAL_LIBRARIES改成 Include 'link_fnl_shared.h' USE LSADS_INT 编译後出现一个命令提示字元和一个错误讯息的对话框 内容为:无法找到程序输入点__powri84(在连结程式库 libmmd.dll) 按确定後随即关闭 下列为输出的讯息: 'mainprogram.exe': 已载入 'F:\20080731freeformat\program-27-80\Debug\Mainprogram.exe',已载入符号 'mainprogram.exe': 已载入 'C:\WINDOWS\system32\ntdll.dll',未载入符号 'mainprogram.exe': 已载入 'C:\WINDOWS\system32\kernel32.dll',未载入符号 'mainprogram.exe': 已载入 'C:\Program Files\VNI\imsl\fnl600\IA32\lib\imsl_dll.dll',二进位码不是以侦错资讯而建置。 'mainprogram.exe': 已载入 'C:\WINDOWS\system32\MSVCR71.dll',未载入符号 'mainprogram.exe': 已载入 'C:\Program Files\Intel\Compiler\Fortran\10.1.011\IA32\Lib\libifcoremd.dll',未载入符号 'mainprogram.exe': 已载入 'C:\Program Files\AnCAD\MATFOR4\bin\libmmd.dll',未 载入符号 'mainprogram.exe': 已载入 'C:\WINDOWS\system32\imagehlp.dll',未载入符号 'mainprogram.exe': 已载入 'C:\WINDOWS\system32\msvcrt.dll',未载入符号 侦错工具:: 处理序载入期间,发生未处理的非持续性例外状况 '[3884] mainprogram.exe: 原生' 程式以返回码 -1073741511 (0xc0000139) 结束。 这样看来这不只是程式码有问题了? --



※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.118.198.238
1F:推 k1942:对了你一开始的 CALL LSADS (N, A, LDA, B, X) 是F77 格式 09/18 20:50
2F:→ k1942:後来的是F90格式,假如你要用F90格式,要区别双精确或单精确 09/18 20:51
3F:→ k1942:CALL D_LSADS (A0, B0, X0 [,…]) or S_LSADS 你再试试吧 09/18 20:52
4F:→ GP03:试过了,还是出现一样的错误讯息 09/18 21:04







like.gif 您可能会有兴趣的文章
icon.png[问题/行为] 猫晚上进房间会不会有憋尿问题
icon.pngRe: [闲聊] 选了错误的女孩成为魔法少女 XDDDDDDDDDD
icon.png[正妹] 瑞典 一张
icon.png[心得] EMS高领长版毛衣.墨小楼MC1002
icon.png[分享] 丹龙隔热纸GE55+33+22
icon.png[问题] 清洗洗衣机
icon.png[寻物] 窗台下的空间
icon.png[闲聊] 双极の女神1 木魔爵
icon.png[售车] 新竹 1997 march 1297cc 白色 四门
icon.png[讨论] 能从照片感受到摄影者心情吗
icon.png[狂贺] 贺贺贺贺 贺!岛村卯月!总选举NO.1
icon.png[难过] 羡慕白皮肤的女生
icon.png阅读文章
icon.png[黑特]
icon.png[问题] SBK S1安装於安全帽位置
icon.png[分享] 旧woo100绝版开箱!!
icon.pngRe: [无言] 关於小包卫生纸
icon.png[开箱] E5-2683V3 RX480Strix 快睿C1 简单测试
icon.png[心得] 苍の海贼龙 地狱 执行者16PT
icon.png[售车] 1999年Virage iO 1.8EXi
icon.png[心得] 挑战33 LV10 狮子座pt solo
icon.png[闲聊] 手把手教你不被桶之新手主购教学
icon.png[分享] Civic Type R 量产版官方照无预警流出
icon.png[售车] Golf 4 2.0 银色 自排
icon.png[出售] Graco提篮汽座(有底座)2000元诚可议
icon.png[问题] 请问补牙材质掉了还能再补吗?(台中半年内
icon.png[问题] 44th 单曲 生写竟然都给重复的啊啊!
icon.png[心得] 华南红卡/icash 核卡
icon.png[问题] 拔牙矫正这样正常吗
icon.png[赠送] 老莫高业 初业 102年版
icon.png[情报] 三大行动支付 本季掀战火
icon.png[宝宝] 博客来Amos水蜡笔5/1特价五折
icon.pngRe: [心得] 新鲜人一些面试分享
icon.png[心得] 苍の海贼龙 地狱 麒麟25PT
icon.pngRe: [闲聊] (君の名は。雷慎入) 君名二创漫画翻译
icon.pngRe: [闲聊] OGN中场影片:失踪人口局 (英文字幕)
icon.png[问题] 台湾大哥大4G讯号差
icon.png[出售] [全国]全新千寻侘草LED灯, 水草

请输入看板名称,例如:Gossiping站内搜寻

TOP