readme.txt

来自「visual modeler--gridsim资源工具」· 文本 代码 · 共 77 行

TXT
77
字号
This directory contains:
./visualmodeler.jar  - A jar file containing VisualModeler classes.
                       To run this file, type:
                              java -jar visualmodeler.jar

./gridbroker.jar     - A GridBroker jar file for running the generated code.
        
./doc     - VisualModeler API. It also contains a User Guide Manual on how
            to use this application.

./src     - A VisualModeler source files


With VisualModeler, you can specify how many grid users and resources for
your simulation. After finish generating the GridBroker source code, you
can then compile and run the program using the GridBroker jar file 
NOT the latest GridSim jar. 


=========================================================

FAQ 


Q: What is VisualModeler (VM)?

A: It is a program that generates GridBroker source code.
   With VM, you can specify how many grid users and resources for your
   simulation. After finish generating the GridBroker source code, you
   can then compile and run the program using the GridBroker jar file.

---------------------------------------------------------
Q: How do I run VisualModeler?

A: To run it, just type:
        java -jar visualmodeler.jar

---------------------------------------------------------
Q: I have the following warning message when trying to run VisualModeler.
   Jun 29, 2003 5:36:56 PM java.util.prefs.FileSystemPreferences$3 run
   WARNING: Could not create system preferences directory.
            System preferences are unusable.

A: That's the JDK1.4 Preferences API, used to manage system-wide and per-user
   preferences. On Windows, the implementation uses the Windows Registry;
   on Unix/Linux, it uses the file system.

   The warning means Java (used under a user) tries to write preference files
   in the root-owned directory that contains Java. This may be caused
   by the way Java installed.

   To solve this problem is run VisualModeler under root. Java will
   automatically creates system preferences directory. Possibly in
   /etc/.java/.systemPrefs

   Go to the following website to know more about this:
        http://java.sun.com/j2se/1.4.1/install-linux.html

---------------------------------------------------------

Q: When I tried to run code generated from VisualModeler,
   I have the following error message:
    Exception in thread "main" eduni.simjava.Sim_exception:
    Sim_entity: Entity names can't contain spaces.
        at eduni.simjava.Sim_entity.<init>(Sim_entity.java:154)
        at gridsim.GridSim.<init>(GridSim.java:149)
        at gridsim.GridResource.<init>(GridResource.java:93)
        at Example1.createGridResource(Example1.java:188)
        at Example1.main(Example1.java:57)

A: GridSim Toolkit 2.2 and above now use SimJava2. SimJava2 is more strict about
   a valid entity name compare to the previous release. Hence, to fix this
   problem is to remove the unnecessary empty space, i.e.
   "GridResource 0" becomes "GridResource_0"


⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?