⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.slog

📁 MPICH是MPI的重要研究,提供了一系列的接口函数,为并行计算的实现提供了编程环境.
💻 SLOG
字号:
In order to run this code, one must have Java 1.1.6 or above.Directory Structure--------- ---------In the jumpshot-3 directory, we have the following subdirectories:bin/       contains the actual jumpshot wrappersdoc/       contains various jumpshot documentationslib/       contains jumpshot's setup files and various jar's for the GUIlogfiles/  contains the sample slogfilessrc/       contains the actual JAVA codes for the GUIswing/     contains the swing library needed to build Jumpshot if you           are using JDK 1.1.x.Jumpshot Installation-------- ------------In order to build Jumpshot, we need to build four jar files and somewrapper scripts.  This can be achieved simply by doing the following:        cd $(JUMPSHOT-3)        ./configure --with-java=<Your_JAVA_full_pathname>        makeWhere "--with-java=<Your_JAVA_full_pathname>" is optional.  It is necessaryonly when configure cannot find a good version of JDK in the typicaljava location.   The procedure listed above is for the case when the source and installed files are put in the same directory.  The more elaborated procedure is to do a VPATH build like the following:       cd $(build_dir)       ./configure --with-java=<Your_JAVA_full_pathname> --prefix=<install_dir>       make       make installOr            cd $(build_dir)       ./configure --with-java=<Your_JAVA_full_pathname>       make       make install PREFIX=<install_dir>For further details of configure, do "./configure --help"After "make install", "make uninstall" will remove all installed files.        Note: ignore the warning messages during compilation of jumpshot.jar.In AIX, be sure the "java -fullversion" return a build data later than or equal to "JDK 1.1.6 IBM build a116-19990115 (JIT enabled: jitc)"Running Jumpshot as An Application------- -------- -- -- -----------There are 2 ways to run jumpshot-3.1, using the supplied script in $(JUMPSHOT-3)/bin:   cd to $(JUMPSHOT-3)/bin and run Jumpshot by entering "jumpshot" or   "jumpshot slog_filename", e.g.   /homes/chan/jumpshot-3> bin/jumpshot [logfiles/merge.slog]   With a filename as the command line argument, jumpshot skips the    logfile selection process and starts reading the file immediately.   Set the CLASSPATH in your local shell to where slog.jar, jumpshot.jar   and swing.jar, preview.jar and statsviewer.jar are located.  Check   $(JUMPSHOT-3)/bin/jumpshot for exact syntax.  Then you can invoke    jumpshot-3 as   java MainFrame [slog_filename]1, run jumpshot directly using "java" or "jre".   change directory to the jumpshot-3 build directory to build   "executable"( only meaningful to Java 2 SDK ) jar file, jumpshot3.jar.   cd <jumpshot-3_build_dir>   make exejar   If Java 2 SDK or JRE is used, jumpshot-3 can simply be invoked as   java -jar jumpshot3.jar MainFrame [slog_filename]   [slog_filename] is optional.   If Java 1 SDK or JRE is used, it is a bit complicated to launch it.   It invokes sets up CLASSPATH.   cd <jumpshot-3_build_dir>   setenv CLASSPATH `pwd`/swing/swing.jar:`pwd`/jumpshot3.jar:.   java MainFrame [slog_filename]Running Jumpshot in Client-Server mode------- -------- -- ------------- ----Here assume Java 2 SDK, i.e. jdk-1.2.2 or newer, is used.The SLOG server code has only been fully tested using Java 2 SDK.Using Java 1 SDK to launch SLOG server would be more complicated,i.e. one has to set the CLASSPATH explicitly.  The server codehas NOT been tested with Java 1 SDK.When running Jumpshot-3 in client-server mode, the client isan applet which has to be launched from a Java 2 enabled web-broweror appletviewer.  The distribution comes with jumpshot3.html filewhich can be used to invoke the applet.  One can put jumpshot3.htmland jumpshot3.jar( created by "make exejar" at the top-level directory )into your user html directory.cd <jumpshot-3_build_dir>make exejarcp jumpshot3.html jumpshot3.jar lib/slog.jar ~<my_username>/public_htmlBefore invoking the applet, the SLOG RMI server needs to be launchedfirst by doing the following.cd ~<my_username>/public_htmljava -jar slog.jar -l -m <server_hostname> &Here <server_hostname> can be `hostname`.Here assume the http server and slog server will be the same machine.where "-l" option enables logging of all the activities of the server.For more usage information of the SLOG RMI Server, do"java -jar slog.jar -h".To invoke the client, say on machine <client_hostname>appletviewer http://<server_hostname>/~<my_username>/jumpshot3.htmlRunning SLOG RMI server with a security manager------- ---- --- ------ ---- - -------- -------cd ~<my_username>/public_htmljava -Djava.security.manager -Djava.security.policy=slogd.policy     -jar slog.jar -l <slogd_logging_filename> -m <server_hostname> &the file slogd.policy has the following linesgrant {  permission java.net.SocketPermission "<server_hostname>", "accept, connect, listen, resolve";  permission java.io.FilePermission "<slogd_logging_filename>", "write, read";  permission java.io.FilePermission "logfiles/*", "read";};Using Jumpshot----- --------The documentation on how to use Jumpshot-3, a color PDF file,can be found at $(JUMPSHOT-3)/doc/TourStepByStep.pdfYou can get a copy of the file atftp://ftp.mcs.anl.gov/pub/mpi/misc/jumpshot3_tour.pdfCurrent Limitations------- -----------

⌨️ 快捷键说明

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