21 thoughts on “Hello

  1. I have downloaded EGS_Windows_4.0.2

    but while viewing the examples given in the directory, error occurs as follows:

    Got environment variable WIN_HOME = /root/HEN_HOUSE/EGS_Windows

    Starting EGS_Windows with:

                 geometry file: EX16MVp.egsgeom

                 history file : NULL

    /root/HEN_HOUSE/EGS_Windows/EGS_Windows_4.0: line 148: /root/HEN_HOUSE//get_machine: No such file or directory

    /root/HEN_HOUSE/EGS_Windows/EGS_Windows_4.0: line 179: /root/HEN_HOUSE/EGS_Windows/EGS_Windows_4.0..exe: No such file or directory

    kindly provide me the solution how to rectify this problem

    Like

  2. I just followed these instructions. I hope it will help you

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

    Using the executable for Linux systems

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

    If you are running on linux, you only need the EGS_Windows_4.0.nonshared.exe

    file. You do not need to worry about getting any libraries.  Just follow

    the rest of the instructions.

    Note to users of other systems.  If you create executables using nonshared

    libraries for any other system, we would be pleased to distribute them.

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

    REQUIRED LIBRARIES

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

    To compile EGS_Windows, you will need the have installed on your system:

    1) Xforms

       Available at httP//bragg.phys.uwm.edu/xforms

    2) Mesa3D or OpenGL

       Mesa3D is available at http://www.mesa3d.org/dowmload.html

    3) GLUT

       Usually comes with Mesa3D, but also available at

       ftp://ftp.sgi.com/pub/opengl/opengl_for_x

    4) libTIFF

       Available at ftp://ftp.sgi.com/graphics/tiff

    Note that all of the above are linked from the html version of the

    user’s manual at

    http://www.irs.inms.nrc.ca/inms/irs/EGS_Windows/manual/manual.html

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

    INSTALLING EGS_WINDOWS

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

    First download the tar file from

    http://www.irs.inms.nrc.ca/inms/irs/EGS_Windows/distribution.html

    Note that you only need the shortest version of the file that you can

    process.  The large difference in file sizes is because of the large

    postscript graphics in the Users Manual (which fortunately compress a great

    deal).

    Place this tar file in the directory where you want to create the

    EGS_Windows subdirectory (a convenient place is $HOME and the execute

    script assumes that this is where it is. Alternatively, for the BEAM system

    it is conveneient to place it on the $OMEGA_HOME directory). Uncompress the

    file as appropriate. You will need 28 Mbyte.

    Then extract the tar file using

    tar -xf EGS_Windows_4.0.tar                #or whatever current version is

    This creates a subdirectory EGS_Windows on the current area.

    The directory EGS_Windows contains the source code, which you will need to

    compile depending on your platform.  EGS_Windows has been tested on Linux

    and IRIX platforms and should work on other unix systems as long as the

    libraries are installed.

    You will need to edit the appropriate Makefile. to contain the

    proper directory trees for your libraries and include files.  As people

    extend this to other platforms, we ask them to send us their Makefiles and

    relate their experience with other platforms.

    Then if you have a Linux machine (set up the same way we have it at NRC),  

    make -f Makefile.Linux

    or if you have an SGI (set up the same way we have it at NRC),

    make -f Makefile.iris

    Expect some warnings, but if there are problems with either of these,

    please let Dave Rogers (dave@irs.phy.nrc.ca) know.

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

    Setting environment variables and aliases

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

    The environment variable WIN_HOME should be set in .cshrc or .login

    to point at where EGS_Windows is installed.

    eg

    setenv WIN_HOME $HOME/EGS_Windows

    At NRC we alias (in .cshrc) the command show to execute the script

    EGS_Windows_4.0

    alias show $WIN_HOME/EGS_Windows_4.0

    The script EGS_Windows_4.0 will pick up the appropriate executable for

    your machine once you set the appropriate addresses.  If WIN_HOME is not

    set it assumes it is $HOME/EGS_Windows.

    Note that the program requires one or two files as inputs. These are now

    called  file.egsgeom and file.egsgph whereas previously they were called

    file.egs4geom and file.egs4gph.  This may require changing the environment

    files for various user codes.  The script change_egs4_to_egs found on

    $WIN_HOME can be helpful changing old file names.

    Like

  3. you must run these commands via terminal:

    yum install xforms.x86_64

    yum install xforms-devel.x86_64

    yum install mesa-libGL-devel.x86_64

    yum install mesa-libGLU-devel.x86_64

    yum install freeglut.x86_64

    yum install freeglut-devel.x86_64

    yum install libtiff-devel.x86_64

    yum install libXt-devel.x86_64

    yum install compat-gcc-34-g77.x86_64

    yum install libXmu-devel.x86_64

    and then, in the folder that you have EGS_Windows, again with terminal,  run this:

    make -f Makefile.Linux

    It will create an exe file which you will run it from terminal

    Like

  4. Hi Sir,

    Thanks for your kind help

    I did all the commands what you have mentioned before itself. It creates an exe file also.

    But while running EGS_Windows using show command, it displays the error as follows:

             [root@localhost Examples]# show EX10MeVe.egsgeom EX10MeVe.egsgph

             Got environment variable WIN-HOME = /root/HEN_HOUSE/EGS_Windows

             starting EGS_Windows with:

                                                      geometry file: EX10MeVe.egsgeom

                                                      history file    : EX10MeVe.egsgph

     /root/HEN_HOUSE/EGS_Windows/EGS_Windows_4.0: line 148: /root/HEN_HOUSE//get_machine: No such file or directory

    /root/HEN_HOUSE/EGS_Windows/EGS_Windows_4.0: line 179: /root/HEN_HOUSE/EGS_Windows/EGS_Windows_4.0..exe: No such file or directory

    What will be the problem in this given error. Kindly help me in this regard sir.

    Like

  5. I have installed EGS_Windows_4.0.2 from EGSnrc website

    Extracted the tar file using the command “tar -xf EGS_Windows_4.0.2”

    Then EGS_Windows directory exists

    Then in terminal typed the command, make -f Makefile.Linux

    Like this only I have dis Sir….

    Like

  6. Respected Sir,

          I have downloaded the tar file of EGS_Windows_4.02.tar file

          And Extracted it using the command “tar -xf  EGS_Windows_4.0.2”

          A directory named EGS_Windows exists

          Installed all the required libraries

          Then to make the exe file, typed the command “make -f Makefile.Linux”

          Using the “show ” command, tried to view the geometry given in the Examples folder.

          The error exists as I have mentioned in the previous post.

          So kindly rectify me what is the error behind this?

          Kindly help in this regard.

          

    Like

  7. Sangeetha ShanmugaSundaram try this: in the folder “examples”, there are some egsgeom and egspph files. Move one of each(with the same name) to the folder that you have the exe file. Then go from terminal to the folder that you have the exe file and run this command -> ./EGS_Windows_4.0.Linux.exe name.egsgeom name.egspph

    Abdelkrim Zeghari just see the previous conversation

    Like

  8. Hello,

    I was directer to this link – thanks for the speedy response, but I don’t think the archive exists anymore. Any other suggestions on how to get EGS_Windows??

    Dan

    Like

Leave a comment