Why the codes cannot find the index file in AmazonEC2,that can run in windows?
The following is the error messages.
couldn't open " /root/wjm/motionIndex.tcl": no such file or directory
while executing
"open [format "%sIndex.tcl" $directory] "r""
(procedure "ModelD" line 10)
invoked from within
"ModelD $param_group $directory $Dcol $LDratio $cover $fc $fy $fyh $rhos_log $rh
os_trans $NbCol $trans_bar $Pdefine $LR $gamaw $ida"
("while" body line 5)
invoked from within
"while {-1 != [gets $file line] } {
if { [string first "#" $line] != 0 } {
scan $line "%u %s %f %f %f %f %f %f %f %f %i %f %f %f %f %i" param_..."
(file "Parameters.tcl" line 17)
Process Terminating 0
Thanks!
Why the codes cannot find the index file in AmazonEC2
Moderator: selimgunay
Why the codes cannot find the index file in AmazonEC2
Kai Zhang
------------------------------
PH.D. candidate
School of Civil Engineering&Architecture
Beijing Jiaotong University
------------------------------
PH.D. candidate
School of Civil Engineering&Architecture
Beijing Jiaotong University
Re: Why the codes cannot find the index file in AmazonEC2
does the file exist .. if so, what are the permissions on he file (i.e. can it be opened)
Re: Why the codes cannot find the index file in AmazonEC2
Thanks for your help, Frank!
Yes, the file does exist. The following is that I checked the file. It seems that it's not a problem of file mode.
root@master:~/wjm# ls -l motionindex.tcl
ls -l motionindex.tcl
-rw-r--r-- 1 root root 1158 Sep 13 14:47 motionindex.tcl
root@master:~/wjm# vim motionindex.tcl
vim motionindex.tcl
[?1049h[?1h=[1;24r[34l[34h[?25h[23m[24m[0m[H[J[?25l[24;1H"motionin
dex.tcl" [noeol][dos] 40L, 1158C[1;1H[31m0001[0m /iLMSR/AGW000 [31m8000
0002[0m /iLMSR/B-BRA225 [31m2212
0003[0m /iLMSR/B-ICC000 [31m8000
0004[0m /iLMSR/B-PLS135 [31m2223
0005[0m /iLMSR/B-WSM090 [31m8000
0006[0m /iLMSR/CAP090 [31m7991
0007[0m /iLMSR/CEN245 [31m2999
0008[0m /iLMSR/CNP196 [31m2499
0009[0m /iLMSR/FAR000 [31m2999
0010[0m /iLMSR/FLE234 [31m2999
.
.
.
Now I found that it's not sensitive for the uppercase when sourcing the files.
Thanks again!
@fmk
Yes, the file does exist. The following is that I checked the file. It seems that it's not a problem of file mode.
root@master:~/wjm# ls -l motionindex.tcl
ls -l motionindex.tcl
-rw-r--r-- 1 root root 1158 Sep 13 14:47 motionindex.tcl
root@master:~/wjm# vim motionindex.tcl
vim motionindex.tcl
[?1049h[?1h=[1;24r[34l[34h[?25h[23m[24m[0m[H[J[?25l[24;1H"motionin
dex.tcl" [noeol][dos] 40L, 1158C[1;1H[31m0001[0m /iLMSR/AGW000 [31m8000
0002[0m /iLMSR/B-BRA225 [31m2212
0003[0m /iLMSR/B-ICC000 [31m8000
0004[0m /iLMSR/B-PLS135 [31m2223
0005[0m /iLMSR/B-WSM090 [31m8000
0006[0m /iLMSR/CAP090 [31m7991
0007[0m /iLMSR/CEN245 [31m2999
0008[0m /iLMSR/CNP196 [31m2499
0009[0m /iLMSR/FAR000 [31m2999
0010[0m /iLMSR/FLE234 [31m2999
.
.
.
Now I found that it's not sensitive for the uppercase when sourcing the files.
Thanks again!
@fmk
Kai Zhang
------------------------------
PH.D. candidate
School of Civil Engineering&Architecture
Beijing Jiaotong University
------------------------------
PH.D. candidate
School of Civil Engineering&Architecture
Beijing Jiaotong University