[Disksim-users] The example of Disksim-3.0 executed with error

05210324kw at sina.com 05210324kw at sina.com
Tue Dec 13 22:45:01 EST 2011


Hi, all!
     I am new to Disksim,  and want used disksim to execute an FTL arithmetic. I used ubuntu-10.10 as the platform, and compliled Disksim-3.0 successful. 
     According the message  of Peter, we can run the example like "src/syssim valid/hp_c2490a.parv output.txt 10000" from the disksim/ directory.  But when syssim has 4 parameter, then I run the example  "src/syssim valid/hp_c2490a.parv output.txt 10000 1", and an error appeared.

the Error Message is as below:
root at kuangwei-virtual-machine:/home/disksim-3.0# src/syssim valid/dec_rz26.parv output 10000 1*** error: couldn't open dec_rz26.diskspecs
> *** assertion failed: in disksim_global_loadparams() (modules/disksim_global_param.c:90): statdeffile != 0: failed to open statdefs file!

Another question is how to printf log in Disksim-3.0. I can not used "printf" function and other file operation function does not work, please give me an example.
 
Thanks

 



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.andrew.cmu.edu/pipermail/disksim-users/attachments/20111214/d407dabf/attachment.html>


More information about the Disksim-users mailing list