|
[Rivet] No rivet and agile command foundchristopher at particle.uni-karlsruhe.de christopher at particle.uni-karlsruhe.deWed Apr 8 17:02:26 BST 2009
Hi Andy, in the attachment you can find the log file of the installation of Rivet 1.1.2. Now the SVN version, with the PYTHONPATH variable correctly set, seems to work. The command rivet is working. Thank you very much for your help, now I will try to run some analysis to see if there are any other problems. I apologize for making you lose your time. Thank you again. Best Christopher Quoting Andy Buckley <andy.buckley at durham.ac.uk>: > christopher at particle.uni-karlsruhe.de wrote: >> Hi Andy, >> >> I have tried to install Rivet using your suggestions but I found still >> some problems. I have tried many different solutions: >> >> -> Rivet 1.1.1: >> Using the rivet-boostrap script I have dowloaded with that release of >> rivet it seems that there are no problems installing your code but the >> "rivet" command does not exist, also if I use the option --enabling-pyext. >> Anyway that is not a big problem since, of course, it would be nice to >> use the latest release of your code. > > I think that Rivet 1.1.1 didn't have the rivet program: that's a more > recent development. At that release, the only interface was with the > now-defunct rivetgun. > >> -> Rivet 1.1.2: >> 1)Using the latest version of the bootscript, the one with the fixed bug >> about >> the boost libraries, and with the --enable-pyext option I get the >> following error message: >> >> checking build system type... Invalid configuration `lhapdf-5.6.0': >> machine `lhapdf' not recognized >> configure: error: /bin/sh config/config.sub lhapdf-5.6.0 failed >> >> (If you need it I can send you the full log file) > > That would be useful, thanks. Do you know what stage this occurs at? it > looks like it happens when building LHAPDF, but the error message > suggests that the compiler has been given the flag "-mlhapdf-5.6.0", > which is just bizarre. This might happen if the bit of the script that > is meant to work out if the machine is 32 or 64 bit fails, leaving just > a "-m". I can't guess much more until I see the log file. Thanks. > >> 2)Using the same options but with the DEVELOPERMODE=yes flag I get the >> same error >> >> -> Rivet SVN: >> >> I have tried to compile the code with the following commands >> >> ./configure >> --prefix=/Users/Christopher/Documents/HEP/Codes/rivet/InstallDir/ >> --with-hepmc=/Users/Christopher/Documents/HEP/Codes/HepMC/ >> --with-fastjet=/Users/Christopher/Documents/HEP/Codes/fastjet-2.3.4/InstallDir/ >> --enable-pyext >> >> make >> >> make install >> >> Everything seems to work fine but, still, the rivet command is not >> available, >> and when I try to run it I get the following error message: >> >> rivet requires the 'rivet' Python module > > I'm confused: the command "isn't available", but that error message is > coming from it! Please take a look in your <installdir>/local/bin/ > directory for the rivet command: this directory should be in your PATH. > Since libraries are being loaded from C++ and Python, you will also need > to set PYTHONPATH to include > <installdir>/local/lib/python2.5/site-packages (the "lib" might be a > "lib64", and the Python version might be different: the bootstrap script > should have detected these) and LD_LIBRARY_PATH to include > <installdir>/local/lib. If you're on a Mac, I think that the library > path variable is actually called DYLD_LIBRARY_PATH. > > Hope that helps. I've copied this to the Rivet developer list as well, > so you can benefit from some wider support ;) > > Andy > > >> Do you have any other suggestions??? >> >> Thank you for your help. >> >> Best >> >> Christopher >> >> Quoting Andy Buckley <andy.buckley at durham.ac.uk>: >> >>> christopher at particle.uni-karlsruhe.de wrote: >>>> Dear Rivet developers, >>>> >>>> I am an MCnet PhD student and I am trying to run for the first time >>>> Rivet (1.1.1) on my Mac Leopard. It seems that there are >>>> no problems in building an installing your code. But >>>> when I try to run rivet -h or agile-rungen -h, to check >>>> if everything is ok, as suggested on your website, I get the "command >>>> not found" error message. I have set the environment >>>> variables needed to run your code but the only commands I can run >>>> are rivetgun and agile-config. Can you help me??? I would like >>>> to use your code to tune Herwig and Herwig++ with a new hadronization >>>> model on LEP data. >>> >>> Hi Christopher, >>> >>> Looks to me like you didn't build Rivet and AGILe with the Python >>> modules needed for the agile-runmc and rivet commands: these aren't >>> enabled by default with the released versions. You should pass >>> "--enable-pyext" to the configure commands to build these modules. >>> >>> Alternatively you might consider using the SVN head version, which >>> includes a lot of other improvements, should build the Python modules by >>> default, and is anyway a better choice at the moment if you want to >>> write your own analyses. >>> >>> Andy >>> >> >> >> > > > -- > Dr Andy Buckley > Institute for Particle Physics Phenomenology > Durham University > 0191 3343798 | 0191 3732613 | www.insectnation.org > -------------- next part -------------- A non-text attachment was scrubbed... Name: install.log Type: text/x-log Size: 41837 bytes Desc: not available Url : http://www.hepforge.org/lists-archive/rivet/attachments/20090408/e79bad4d/attachment.bin
More information about the Rivet mailing list |