PSI HIPA Repository, where all the OPAL data are ...

  • All the beam dynamics data are here: the root of the repo

    Publicatios

    CERN Document Server CDSWEB

    PSI-HIPA Check out command

  • svn co svn+ssh://savannah02.psi.ch/repos/amas/simulations/HIPA .

    Run OPAL Simulations on FELSIM, from felsim00.psi.ch

    Check out this page with an explanation of the setup steps ( setupEnv.sh ) and the meaning of template and data files. There are also some words how to setup OPAL on the felsim cluster.

    Setup

  • if not existent: create tmpl and data file
  • source the setupEnv.sh script (% source setupEnv.sh )

    Run simulation

    The runOPAL.py script merges the data and template file and creates, as a result, the OPAL input file. This is done - in the simplest case - by issuing the following command:
  • % runOPAL.py

    Usually the files setupEnv.sh, xxx.data resides in the directory whre you issue the runOPAL.py command.

    Post Processing

    OPAL is writing ASCII files (.stat) and HDF5 files (.h5). The data from the ASCII files can be analyzed using gnuplot for example. The hdf files can be analyzen using Matlab, Mathematica or the Root based tool H5root .

    OPAL

    Webpage of OPAL and User Guide .

    Account Setup in .bahsrc

    felsim.psi.ch and OPAL 1.1.8

     module load   opal/opal-1.1.8
     module load python/python-2.7.3
     module load gnuplot 
     #
     export ROOTSYS=~adelmann/svnwork/root_v5.30.02
     if [[ $PATH != *$ROOTSYS/bin* ]]; then
      export PATH=$ROOTSYS/bin:$PATH
     fi
     if [[ $LD_LIBRARY_PATH != *$ROOTSYS/lib* ]]; then
      export LD_LIBRARY_PATH=$ROOTSYS/lib:$LD_LIBRARY_PATH
     fi
     if [[ $MANPATH != *$ROOTSYS/man* ]]; then
      export MANPATH=$ROOTSYS/man:$MAN_PATH
     fi
     #
     export LD_LIBRARY_PATH=~adelmann/svnwork/H5Root/src/.libs:${LD_LIBRARY_PATH}
     export PATH=~adelmann/svnwork/H5Root/h5root/:~adelmann/amas/bin:$PATH
    

    felsim.psi.ch and OPAL 1.1.9

     export OPAL_EXE_PATH=~adelmann/build/opal/src
     export ROOTSYS=~adelmann/svnwork/root_v5.30.02
     #
     module load gcc/gcc-4.6.3
     module load mpi/openmpi-1.4.5-gcc-4.6.3
     module load gsl/gsl-1.14
     module load hdf5/hdf5-1.8.8-openmpi-1.4.5-gcc-4.6.3
     module load intel-mkl/mkl-10.0_em64t
     module load parmetis/parmetis-3.1
     module load trilinos/trilinos-10.6.2
     module load python/python-2.7.3
     module load gnuplot 
     #
     if [[ $PATH != *$ROOTSYS/bin* ]]; then
      export PATH=$ROOTSYS/bin:$PATH
     fi
     if [[ $LD_LIBRARY_PATH != *$ROOTSYS/lib* ]]; then
      export LD_LIBRARY_PATH=$ROOTSYS/lib:$LD_LIBRARY_PATH
     fi
     if [[ $MANPATH != *$ROOTSYS/man* ]]; then
      export MANPATH=$ROOTSYS/man:$MAN_PATH
     fi
     #
     export LD_LIBRARY_PATH=~adelmann/svnwork/H5Root/src/.libs:${LD_LIBRARY_PATH}
     export PATH=~adelmann/svnwork/H5Root/h5root/:~adelmann/amas/bin:$PATH