Ver-2004-07-31 How to install egs5 (KEK) Y. Namito and H. Hirayama 1. Prepare either linux computer or windows computer with cygwin environment. (g77 and time command must be inclued.) 2. Copy egs5 tar files to egs5 directory. For example, cd ~ 3. Copy egs5.0_beta.tar.gz, kek_sample.tar.gz to egs5 directry. (Copy mortran.tar.gz to egs5 directory also, ONLY IF you run user code written in mortran for egs4.) 4. Extract files cd ~ gunzip egs5.0_beta.tar.gz tar xvf egs5.0_beta.tar gunzip kek_sample.tar.Z tar xvf kek_sample.tar (gunzip mortran.tar.gz) (tar xvf mortran.tar) 5. Change egs5 directory name (BASKET) in kek_sample/egs5run. (Please input directory name where you installed egs5. You can see it by type in "pwd" at that directory. For example, if you are installing egs5 in /home/hirayama, BASKET=/home/hirayama/egs5.0_beta) (If you see this directory from windows, it would be something like C:\cygwin\home\hirayama\egs5.0_beta. Please do not use this name for BASKET.) 6. If you are using computer other than cygwin, change a line of MY_MACHINE in egs5run. 7. Run egs5run cd ~/kek_sample Key in "egs5run" Reply user code name. For example ucrz_nai (Omit extension [.f]). Hit enter key for data file name. (If the file name w/o extension is the identical with user code, you can skip typing in file name here) Hit enter key for pegs input file name. (If the file name w/o extension is the identical with user code, you can skip typing in file name here) Then compiling and execution of job starts.