Acquiring and Installing GENESIS

Acquiring and Installing GENESIS

¢¡£¡¥¤§¦£¨ © Acquiring and Installing GENESIS A.1 System Requirements GENESIS and its graphical front-end XODUS are written in C and run on SUN (SunOS 4 or Solaris 2), DECstation (Ultrix), Silicon Graphics (Irix 4.0.1 and up) or x86 PC (Linux or FreeBSD) machines with X-windows (versions X11R4, X11R5, and X11R6). IBM RS6000s (AIX), HPs (HPUX), DEC Alphas (OSF v2 and v3) and the Cray T3D have been successful in compiling and running, although our experience is limited. We welcome feedback on experiences with these platforms. Other platforms may be capable of running GENESIS, but the software has not been tested by Caltech outside of these environments. Although GENESIS may be ported to the Windows95 and NT operating systems at some time in the future, we currently recommend using the freely available Linux operating sys- tem for running GENESIS on a PC. A.2 Using the CD-ROM The CD-ROM included with this book contains the complete GENESIS version 2.1 dis- tribution, which includes full source code and documentation for both GENESIS and XO- DUS, as well as the tutorial simulations described in this book. The CD-ROM also contains parallel GENESIS (PGENESIS) and a number of additional packages related to GENESIS that are usually available separately or via the World Wide Web. In addition to containing the GENESIS source code, the CD-ROM has precompiled binaries for the most common UNIX platforms. You may run these binaries directly from the CD-ROM. This will be use- ful if you are interested in trying the tutorials described in the book, or in evaluating the 407 408 Appendix A. Acquiring and Installing GENESIS GENESIS simulator. For regular use and best performance, the binaries can be installed on a hard disk. Complete instructions for the use of the CD-ROM and the installation and running of GENESIS are given in the file A-ReadMe.txt. This information is also available in the hy- pertext file A-ReadMe.html, which may be viewed with a web browser, and which provides a convenient link to the hypertext GENESIS Reference Manual and other useful informa- tion. A.3 Obtaining GENESIS over the Internet GENESIS is continually evolving, and there will undoubtedly be new features incorpo- rated into future versions. To be sure that you have the latest GENESIS distribution, and to learn about new developments, please check the GENESIS World Wide Web site (http://www.bbb.caltech.edu/GENESIS) or anonymous ftp site (genesis.bbb.caltech.edu). You may use these sites to download the latest versions of the software and documenta- tion at no cost. When using ftp to to connect to genesis.bbb.caltech.edu, log in as the user “anonymous” ¡£¢¥¤§¦©¨ ¢ ¥ § and give your full email address as the password. You can then type “ ” and download the software. Your first step should be to download the files README and ©! #"©§$ LATEST.NEWS, with the commands “ © © § ” and “ ”. These files will give further information about the current GENESIS version, and alert you to any new developments since the publication of this book. The README file will give further information on downloading and installing the files that are available. Typically, you will © * ¥ §+ ,' (! .- give the command “¨%& '(©) ”, followed by the command “ ”. The file may take a while to transfer if you do this at a time when networks are busy. Finally, give ¦%0 the “ / ” command. The files mentioned above are directly accessible via hypertext links at the GENESIS web site. Information will also be available concerning “mirror” sites outside of the United States. A.4 Installation and Documentation GENESIS may be easily installed from the CD-ROM by using the installation script and instructions that are provided. To install GENESIS from a distribution that was obtained over the Internet, or to compile and install GENESIS on a platform for which there are no suitable precompiled binaries, you or your system administrator should change to the directory in which you wish the GENESIS directory tree to reside, and copy genesis.tar.Z to this directory. /usr or /usr/local would be a good location for this directory, although you may use your home directory or any other directory. A.5. Copyright Notice 409 ' * © §© ,' ( -¢¡ ' (¤£¦¥¨§ © Then, give the UNIX command “ ”. This will create the directory genesis and a number of subdirectories. Begin by reading the README file in the genesis directory. Directions for compiling and installing the software may be found in the README file contained in the src subdirectory. Directions for printing the GENESIS Reference Manual and installing the hypertext documentation may be found in Doc/README. The Scripts/README file describes the demonstration and tutorial simula- tions that are included with this distribution. Further inquiries concerning GENESIS or its installation may be addressed to [email protected] by email. Individuals or research groups who are considering using GENESIS as a research tool are strongly encouraged to join the GENESIS Users Group, BABEL. Information regarding BABEL membership may be obtained by email from [email protected]. A.5 Copyright Notice Copyright (C) 1997 by California Institute of Technology (Caltech) Permission to use, copy, modify, and distribute this software and the included documenta- tion for any purpose and without fee is hereby granted, provided that the above copyright notice appears in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of Caltech not be used in adver- tising or publicity pertaining to distribution of the software without specific, written prior permission. Caltech makes no representations about the suitability or merchantability of this software for any purpose. It is provided “as is” without express or implied warranty. Some components are copyrighted by the originating institution and are used with the permission of the authors. The conditions of these copyrights (none of which restrict the free distribution of GENESIS) appear with these modules. 410 Appendix A. Acquiring and Installing GENESIS ¢¡£¡¥¤§¦£¨ © GENESIS Script Listings B.1 tutorial2.g ¡¢¡¤£¢¥¤¦§¥§¨¢© ¨ ¢ §¤© ¢£ ¢¢! ¤"§¥ ¨¢©¤¦$# ¡!%¤& &¢&¢&¢&¢& &¢&¢&¢&¢& &¢&¢&¢&¢& &¢&¢&¢&¢& &¢&¢&¢&¢& &!&¢&¢&¢&!&¢& &¢&¢&!&¢&¢& &!&¢&¢&¢&¢&!& &¢&¢&!&¢&¢& &!&¢&¢&¢&¢&!& &¢&¢&!&¢&¢& &¢&!&¢&¢& ¨ )(*¤¥+¨¢,©-*¢ . §/,¢¥!¤ !¥/.¨ )(0¢ !©21¥+, 3(*¤¢ 2(4¥¤¦! 56! 7¢¦8© ¨¤!¥8¨¥ 95 ' & &¢&¢&¢&¢& &¢&¢&¢&¢& &¢&¢&¢&¢& &¢&¢&¢&¢& &¢&¢&¢&¢& &!&¢&¢&¢&!&¢& &¢&¢&!&¢&¢& &!&¢&¢&¢&¢&!& &¢&¢&!&¢&¢& &!&¢&¢&¢&¢&!& &¢&¢&!&¢&¢& &¢&!&¢&¢&§%¢¡ ¢ ¤ ;8 <&>=?A@3B0@-C D : ¡¢¡/¨¤)(0<*§)(4¥ ¢¥ ¨. /,-E§!¨¤¥¤¦/ !<F§¥> E!¥G¨ )(4¥.!¨>©-¦G¢H-I4 -JLKMF¢! +©-¦/! N¢¦© ¨§O ¢ ¤ >P¢QG&>#?$=¢=¢= =¢= ¡¢¡.¨-*§¥§,¢© ©¢,R(4¥2(§F!§¦§¥.¢¥§¨¢©¢¨ !¦8,¤¥SKT-E(U¨R(WV-§O : : ¢ ¤ /X¤QG&>#?$#4@ ¡¢¡.¨-*§¥§,¢© ©¢,R(4¥2(§F!§¦§¥+,¤*!,¢©- §¦8,¤¥YK ¤§¤9¨¤¡)(WV-O : : : ¢ ¤ >P &>#?$= ¡¢¡.¨-*§¥§,¢© ©¢,.¤Z©¤¢!¥§¨ ©¢¨ §¦,¤¥YKTE(U¨[(\O ' : : ¢ ¤ >¢P¢§¤]§^ X¤]&> #?$# _ ¡¢¡<!¥§¨ ©2¦!£<(4¥2(F¢§¦§¥>* !¥¤¦! ©¤¢`K$a§¢ ¨§O ' : ¢ ¤ > ¥¢-1&<¢P ¤]§^ X ]Gb.#?$#8@2#¢cd¡¢¡[(4¥2(F¢§¦§¥G ¥¢-18¤£!¥>*§¤ !¥¤¦! §© ¢SK$a§¢ ¨§O ' : ¢ ¤ >¢ &>#?# B§C ¡¢¡.¨ ¤9©--(e¥ f 8©¤!©-F!©2(e*¤ !¥¤¦¢ © ¢ ' : ¢ ¤ >¢g &. #$#¢h! ¡¢¡N*¤ §!¨ ¨¢©-(i¥ f¤8© !©-F¢©-(e*¤ ¢¥¤¦! © : ¡¢¡/,¥!¢9©A(4¥¤¦8¨¢©¤¦8¨jKk(4¥¤ !¥ ¨§O ¢ ¤ +¨ )(4¢^¢.&>= #¢¥! c ¡¢¡.,l§!©-¦¢9!¥ G¥ f ©a§¢ ¥¦! / §>=¢#R(U©¢,§-¦¨-*¢E§¥¤!¥ : ¢ ¤ +¨ )(4¢^¤9G&>= #¢¥! c : ¢ ¤ .9¢ /&>#?$#¢#¢# #!C ¡¢¡.¨¢©3( ¤ © ¦G §©3(4¥G¨ ¢¥¤*e©-¦+¨¥§, : ¨¤¥ §, ¢!,21m# n¤9¢ !o ¡¢¡.¨¤¥ . E!¥G¨¢©3(§¢¤ © -¦e, ¢!,21 ¡¢¡ & &¢&¢&¢&¢& &¢&¢&¢&¢& &¢&¢&¢&¢& &¢&¢&¢&¢& &¢&¢&¢&¢& &!&¢&¢&¢& ¡¢¡ p ¦8, © -¦/J§¥ ©-¦© © ¦¨ : ¡¢¡ & &¢&¢&¢&¢& &¢&¢&¢&¢& &¢&¢&¢&¢& &¢&¢&¢&¢& &¢&¢&¢&¢& &!&¢&¢&¢& 411 412 Appendix B. GENESIS Script Listings ¢¦, © ¦(4-1¥§, 3(*¤¢ 2(4¥¤¦! ?KM*¤ E¡ ¥¤¦!£ E¡ 9© ¢ !!¥§¨- 4O : ¨ ¢>* E ¢¢¤ / ¥¤¦!£¢ ¤E¡ 9© £ !!¥§¨ : ¢¢¤ /¤!¥!>&. ¥¤¦!£¢ ¤E8%-;8 ¢%-9© : ¢¢¤ >Z§¤!¥!.&N;8 ¢%9§© !%9©¤¢¡¤B : ,!¥!¤ ¢¥ ,¤)(*¤ -(4¥¤¦! n* Eo ¨¤¥ ©¥!¤9 n-*¤ Eo ¤ : -( n<!!¥!¨ Go ¤ ¡ ¡a§¢¤ §¨ P-( n<P¢Q¡ ¤!¥!/o¥¤ ¡ ¡§¦E(U¨ X)( n>X¤Q8%¤¤!¥!/o¥¤ ¡ ¡p§¤§9¨ P§ n<P %¤ ¥¤¦!£¢ ¤E¡¤Z§¤¢¥!o ¡ ¡§¦E(U¨ ' ¥¤¦!9 ¢¦, © ¦(4-1¥!^"-(8£¢§* E : ¢¢¤ >a-(U©-¦G&. #?A@2# # : ¢¢¤ >a-(0¤Z/&>#?$#!C : ¢¢¤ > -(0¤Z/&>#?A@2#¢#.¡¢¡9!¥ ¤ ¨¢©A(¢¤ §© ¦G ©3(8¥.&e@2#¢#R(U¨¤¥§, : : ,!¥!¤ ¢¥.Z ¤-(e¡¤9§¤ § : ,!¥!¤ ¢¥.Z¢£¢§* E+¡¤9§¤ !¢¡¤a§¢ §¤£!¥ ¨¤¥ ©¥!¤9 V Z2(0¤Z+n¤ -(4¤Z§ol-(0©-¦+n¤a-(0©-¦o>l-(0ZGn¤a-(0Z§o : ,!¥!¤ ¢¥.Z F¢! ¢ !¦+¡¤9§ §¢¡P¢§!] !¨¢,-©-*! /!¥!¨¤¥ ,!¥!¤ ¢¥.Z F¢! ¢ !¦+¡¤9§ §¢¡P I¢ !¨¢,©2*! ©¨-¨ !¥*©¨2n¤ -(4¤Z§o ¨N ¤ §©3(4¥ ¨ ,!¥!¤ ¢¥.Z F¢! ¢ !¦+¡¤9§ §¢¡¢H-I8 ] !¨¢,©2*! /f 8© Z¨-E G¡¤9§¤ § ¥¤¦!9 ¡¢¡ & &¢&¢&¢&¢& &¢&¢&¢&¢& &¢&¢&¢&¢& &¢&¢&¢&¢& &¢&¢&¢&¢& &!&¢&¢&¢& ¡¢¡ Q!©-¦+¢,©-*! ¡¢¡ & &¢&¢&¢&¢& &¢&¢&¢&¢& &¢&¢&¢&¢& &¢&¢&¢&¢& &¢&¢&¢&¢& &!&¢&¢&¢& ,!¥¢¤ !¥>¦§¥¤¢ ¢§¢.¡¢,¤¥!¢ ¡¢¡/,-!¥!¤ !¥ E§¥G¨ 3(0/, )(§*¤¢ -(8¥¤¦! ¨2¡!,¤¥¢¢¢¡!¨ 3(0 ¨ (0-1§¥§, )(*§¤¢ -(4¥¦! i¡¢,¤¥!¢¢¡¢¨ )(0/n!¨¤)(0¢^¢ o/n!¨ )(0 ^¤9§o/n¤¥!-18o ¡¢¡<*¢§¤a©9¢¥+,-!¢!¥¦! +©-¦¤¥§, © -¦ !< E§¥/¨ )(0 ¨¤¥ ©¤¥!¤9+¡¢,¤¥!¢¢¡¢¨ )(0+©-¦¤¥§, #$=¢¥! D ¡¢¡#?$=¦ ©-¦ ¥!, © ¦i,-¢¢!¥¤¦! ' : ¡¢¡R(4-1¥> E!¥>£¢§* E/ §9© ¨-*¢¤l¨¤)(0<"(¦!9>*§!¨¢¨ (4¥!¨¢¨ ¤£!¥!¨. !< E§¥£¢§*¢E (0-1§¥!^"(8£ §*¢E ¤9¢92(U¨£+¡!,¤¥¢¢¢¡!¨ 3(0/¡¤9§¤ !¢¡¤a§¢ §¤£!¥.;¦]>"( %a!¢¤ ¨/%¢¥ 9 ,-E§¥!,21 !¥§¨¥ B.2. tutorial3.g 413 B.2 tutorial3.g ¡¢¡¤£¢¥¤¦§¥§¨¢© ¨ ¢ §¤© =?£ ¢¢! ¤"§¥ ¨¢©¤¦$# ¡!%¤& &¢&¢&¢&¢& &¢&¢&¢&¢& &¢&¢&¢&¢& &¢&¢&¢&¢& &¢&¢&¢&¢& &!&¢&¢&¢&!&¢& &¢&¢&!&¢&¢& &!&¢&¢&¢&¢&!& &¢&¢&!&¢&¢& &!&¢&¢&¢&¢&!& &¢&¢&!&¢&¢& &¢&!&¢&¢& ¨ )(*¤¥+¨¢,©-*¢ . §/,¢¥!¤ !¥/., )(*¢ -(4¥¤¦¢ i,¤¦! §!©2¦8©-¦!£,-E§¦¢¦§¥!¢¨ §-1¥¤¦ §)( ' : E E8,-E¦5£e©-¦. E!¥¦§¥¤!!-14© .*!!¤ §¤ ¢l¤*§¥§¨/!©-F!!¤¢l5 ¢ N¢¦8© §¨>¤!¥¨¤¥ 95 & &¢&¢&¢&¢&

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    52 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us