[Rivet] rivet installation

Altan Cakir altan.cakir at cern.ch
Fri Aug 22 12:55:38 BST 2008


Hi Hendrik,

i am sorry first late email but i am a bit busy nowadays. Anyway , i am 
gonna ask some procedure about installation related to the case Sherpa,



> Hi,
>
> I haven't followed your progress in detail, so I don't know exactly what
> the current status of your installation is. I also don't have any
> experience with installing Rivet in an AFS-aware environment. But here
> are the important steps which I learned when installing Sherpa with
> Rivet on my laptop last week:
>
> - In the Sherpa-1.1.2 sources apply the patch
>
> --- Fragmentation_Handler.C.orig	2008-07-12 14:38:00.000000000 +0200
> +++ Fragmentation_Handler.C	2008-08-16 16:06:29.796634000 +0200
> @@ -53,7 +53,7 @@
>    }
>  #ifdef USING__Ahadic
>    else if (m_fragmentationmodel==string("Ahadic")) {
> -    m_sfile=dr.GetValue<string>("AHADIC_FILE",string("Cluster.dat"));
> +    m_sfile=dr.GetValue<string>("AHADIC_FILE",m_file);
>      Hadron_Init init;
>      init.Init();
>      init.OverWriteProperties(dr);
>
>   to SHERPA/SoftPhysics/Fragmentation_Handler.C. This is not important
>   for getting Sherpa to run with Rivet, but fixes a parse error for the
>   
this case somehow does not work in my case. I apply this patch in 
Fragmentation_Handler.C file and installation progress not compiled.

>   Sherpa config files.
>
> - install Sherpa-1.1.2 with
>     ./TOOLS/makeinstall --copt --enable-hepmc2=<path_to_hepmc_installation> --copt --prefix=<path_to_sherpa_installation>
>     cd TOOLS && make install
>   The second step is important because the makeinstall script in the
>   1.1.2 release forgets to install Sherpa-config.
>
>   
without patch it is compiled and i have Sherpa installation.



> - Add the <path_to_sherpa_installation>/bin directory to your PATH. Now
>   the Sherpa-config and Sherpa executables should be found.
>
> - Now install Rivet with the bootstrap script using the
>   DEVELOPERMODE=yes option. The config.log in the agile source directory
>   should now some lines stating that Sherpa-config has been found.
>
> - Add the <path_to_your_rivet_installation>/bin to your PATH
>
> - Add the <path_to_your_rivet_installation>/lib to your LD_LIBRARY_PATH
>
> - Set AGILE_GEN_PATH to the path where you want agile to look for your
>   generator libs.
>
> - mkdir -p $AGILE_GEN_PATH/sherpa
>   ln -s <path_to_sherpa_installation> $AGILE_GEN_PATH/sherpa/1.1.2
>
>   
this part for me confuses a little bit and could you give me details 
about this case since i do not understand that should i add this path in 
script or installation command.



> Now rivetgun -h should be able to pick up the Sherpa installation.
>
> HTH,
>
>     Hendrik
>
>   
I am sorry for again but i really appreciate your consideration,
Cheers,
Altan




More information about the Rivet mailing list