Those are simics commands, not python. You need to "include" or
"run-command-file." Anything that you can type directly to the Simics
console is a simics command.
lenglihello wrote:
> hi,
> I tried the method as you said, but failed.
> the error code is :
> **************
> simics >run-python-file run.py
> filename.sh: line 4 istc-disable: command not found
> filename.sh: line 5 dstc-disable: command not found
> ......
> **************
> It is the same error as before
> 2009-03-31
> ------------------------------------------------------------------------
> lenglihello
> ------------------------------------------------------------------------
> *发件人:* itecgo@xxxxxxx
> *发送时间:* 2009-03-31 18:44:40
> *收件人:* Gems Users
> *抄送:*
> *主题:* Re: [Gems-users] (no subject)
> Well, as i know, you can run Python files from the Simics command line
> using "run-python-file(..)", and you can execute shell command in a
> Python file using "os.system(..)".
>
>
> 在2009-03-31,lenglihello <lenglihello@xxxxxxx
> 写道:
>
> -- ---原始邮件-----
> *发件人:*lenglihello
<lenglihello@xxxxxxx >
> *发送时间:*2009年3月31日 星期二
> *收件人:*GEMS_USERS
<gems-users@xxxxxxxxxxx >
> *主题:*[Gems-users] (no subject)
>
> Hi everyone,
> I have a small trouble when using simics. I failed when I try to
> "./filename.sh" or "sh filename.sh" under "simics
>"
> How to execute shell script after simics is running?
> Any reply is appreciated.
> 2009-03-31
> ------------------------------------------------------------------------
> lenglihello
>
>
>
> ------------------------------------------------------------------------
> ------------------------------------------------------------------------
>
> _______________________________________________
> Gems-users mailing list
> Gems-users@xxxxxxxxxxx
> https://lists.cs.wisc.edu/mailman/listinfo/gems-users
> Use Google to search the GEMS Users mailing list by adding "site:https://lists.cs.wisc.edu/archive/gems-users/" to your search.
>
>
_______________________________________________
Gems-users mailing list
Gems-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/gems-users
Use Google to search the GEMS Users mailing list by adding "site:https://lists.cs.wisc.edu/archive/gems-users/" to your search.