avatar
请教fortran debuger# Computation - 科学计算
R*9
1
GoDaddy买了域名,另外有空间(但URL很长),怎么让GoDaddy域名指向自己的网站呢?
我copy存成GoDaddy的index page, 但当有联接,就有"Security Warning":
The current Web page is trying to open a site on your intranet. Do you want to allow this?
avatar
p*d
2
有一天下午出去买一个柠檬,在路边垃圾箱里发现一台dell 4600 台式机。买完柠檬后
居然还在。。抬回家。发现硬盘的smart坏了,启动有些问题,费了点劲从此硬盘(
200G)中拷出一些很老派的A片后重装系统,这个老美真不小心。。扔机器连硬盘一起扔
。。。
居然支持1080p60的输出,自此连到电视上用来看各类片子,最近两天下了一套
wildchina,10多G,还在下一些1080p的其他电影,一部就45G..wtf...
听说dell系列的本来就有标配MCE的,不知道能不能自己装?从没用过MCE,但是既然这
台电脑本来就被用作影碟机,总认为MCE没准更适合。。
给点意见?
avatar
x*u
3
大家在linux下用什么?谢谢!
avatar
p*d
4
change DNS setting, points to the other IP

呢?

【在 R****9 的大作中提到】
: GoDaddy买了域名,另外有空间(但URL很长),怎么让GoDaddy域名指向自己的网站呢?
: 我copy存成GoDaddy的index page, 但当有联接,就有"Security Warning":
: The current Web page is trying to open a site on your intranet. Do you want to allow this?

avatar
n*g
5
ifort 用idb
avatar
e*x
6
这种做法很多空间不支持的。除非是自己的专用IP
可以用mask forward的方法。不过GoDaddy的forward的服务器在国内是不可以访问的。
另外一种方法是使用域名的免费空间,如果在免费空间里做一个url转移。

【在 p*******d 的大作中提到】
: change DNS setting, points to the other IP
:
: 呢?

avatar
k*n
7
用 “print *”

【在 x*****u 的大作中提到】
: 大家在linux下用什么?谢谢!
avatar
R*9
8
请问怎么"在免费空间里做一个url转移"?
新手多谢!

【在 e******x 的大作中提到】
: 这种做法很多空间不支持的。除非是自己的专用IP
: 可以用mask forward的方法。不过GoDaddy的forward的服务器在国内是不可以访问的。
: 另外一种方法是使用域名的免费空间,如果在免费空间里做一个url转移。

avatar
l*n
9
gdb

【在 n****g 的大作中提到】
: ifort 用idb
avatar
e*x
10
你先创建免费的空间,然后再那里放一个index.php文件。文件内容为:
header('Location: http://yournewdomain.com/url');
?>
这样就可以了。

【在 R****9 的大作中提到】
: 请问怎么"在免费空间里做一个url转移"?
: 新手多谢!

avatar
x*u
11
Thanks!
It works...
However, I found that I cannot see parameter, for example
parameter (n = 512)
using
(gdb) print n
gives
No symbol "n" in current context.
Any suggestion? //bow..

【在 n****g 的大作中提到】
: ifort 用idb
avatar
R*9
12
高手,谢谢!

【在 e******x 的大作中提到】
: 你先创建免费的空间,然后再那里放一个index.php文件。文件内容为:
: : header('Location: http://yournewdomain.com/url');
: ?>
: 这样就可以了。

avatar
h*s
13
In Fortran, "parameters" must be resolvable at compile time, and most
compilers will only retain the literal value of the constant and throw
away the symbol. If you know C, then the Fortran declaration
integer n; parameter(n=512)
is effectively the same as
#define N 512
in C, where the token "N" is lost after the macro is expanded.
If you want to be able to access the value of a parameter by a
symbolic name, try
integer n; parameter(n=512)
integer n_gdb=n
and then query n_gdb in the debugger fo

【在 x*****u 的大作中提到】
: Thanks!
: It works...
: However, I found that I cannot see parameter, for example
: parameter (n = 512)
: using
: (gdb) print n
: gives
: No symbol "n" in current context.
: Any suggestion? //bow..

avatar
e*x
14
不客气。这是基本的东西。

【在 R****9 的大作中提到】
: 高手,谢谢!
avatar
x*u
15
解释的很清楚,谢谢!
只是觉得程序调试的时候,一查没有context,就得到源头去找赋值,很不方便。不知
道有没有别法?再谢!

【在 h*******s 的大作中提到】
: In Fortran, "parameters" must be resolvable at compile time, and most
: compilers will only retain the literal value of the constant and throw
: away the symbol. If you know C, then the Fortran declaration
: integer n; parameter(n=512)
: is effectively the same as
: #define N 512
: in C, where the token "N" is lost after the macro is expanded.
: If you want to be able to access the value of a parameter by a
: symbolic name, try
: integer n; parameter(n=512)

avatar
R*9
16
我做了URL转移,但有"Security Warning" from IE:
"The Current Web Page is trying to open a site on your intranet. Do you
want to allow this?"
Current site: http://
Intranet site: https://
怎么才能去掉IE的Warning呢?为什么Firefox没有Warning呢?
avatar
h*s
17
I don't think there is a general way to retain the
symbolic name of a parameter constant--the value of
constant is resolved at compile time and the name is
lost forever. Even if you save the value of a parameter
in a regular variable, as in the example I gave above
using n_gdb, if you do not actually use n_gdb in your
program, the Fortran compiler could optimize away
n_gdb and you would lose the hook to peek at the value
of n in the debugger.
Another way might be to include a subroutine that
co

【在 x*****u 的大作中提到】
: 解释的很清楚,谢谢!
: 只是觉得程序调试的时候,一查没有context,就得到源头去找赋值,很不方便。不知
: 道有没有别法?再谢!

avatar
x*u
18
gdb对fortran 90的支持如何?比如allocated array

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