Why the codes cannot find the index file in AmazonEC2

This forum is for issues related to parallel processing
and OpenSees using the new interpreters OpenSeesSP and OpenSeesMP

Moderator: selimgunay

Post Reply
kengawk
Posts: 103
Joined: Wed Oct 31, 2007 11:55 pm
Location: Beijing JIaotong University
Contact:

Why the codes cannot find the index file in AmazonEC2

Post by kengawk »

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!
Kai Zhang
------------------------------
PH.D. candidate
School of Civil Engineering&Architecture
Beijing Jiaotong University
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Re: Why the codes cannot find the index file in AmazonEC2

Post by fmk »

does the file exist .. if so, what are the permissions on he file (i.e. can it be opened)
kengawk
Posts: 103
Joined: Wed Oct 31, 2007 11:55 pm
Location: Beijing JIaotong University
Contact:

Re: Why the codes cannot find the index file in AmazonEC2

Post by kengawk »

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
Kai Zhang
------------------------------
PH.D. candidate
School of Civil Engineering&Architecture
Beijing Jiaotong University
Post Reply