[Rivet] Need a guideline

Daniel Weyh weyh at physik.hu-berlin.de
Sun Dec 11 17:01:54 GMT 2011


Hi Izhar,

swig depends on the used compiler, hence you have to setup the correct 
one as you did with the compiler.
Have you tried to follow step 0 from 
http://projects.hepforge.org/rivet/trac/wiki/GettingStarted to setup 
python and swig?

Depending on which gcc you set up, the following line should/could help:
     export 
PATH=/afs/cern.ch/sw/lcg/external/swig/1.3.40/x86_64-slc5-gcc43-opt/bin:$PATH

Cheers
Daniel

Am 11.12.11 16:16, schrieb Izhar Sagheer:
> ________________________________________
> From: Izhar Sagheer
> Sent: 11 December 2011 19:55
> To: Andy Buckley
> Subject: RE: [Rivet] Need a guideline
>
> thankx for your reply
> it really works.
> but now here is another error which comes after configuring a lot of things but compiler,error is;
>
> "checking if /usr/bin/swig is compatible with the g++ compiler... no
> configure: error: Can't build Python extension since /usr/bin/swig is not compatible with g++. Get a newer SWIG version!
> Traceback (most recent call last):
>    File "./rivet-bootstrap", line 563, in ?
>      conf_mk_mkinst(os.path.join(BUILDDIR, "rivet"), RIVET_CONFIGURE_FLAGS)
>    File "./rivet-bootstrap", line 315, in conf_mk_mkinst
>      sys.exit(1)
> SystemExit: 1"
>
> waiting for your response
>
> Regards
> Izhar Sagheer
>
> ________________________________________
> From: Andy Buckley [andy.buckley at ed.ac.uk]
> Sent: 11 December 2011 19:15
> To: Izhar Sagheer
> Cc: rivet at projects.hepforge.org
> Subject: Re: [Rivet] Need a guideline
>
> Hi Izhar,
>
> Your problem is that the compiler you are using (GCC 4.1) is not an LCG
> supported platform -- hence no FastJet build is found on AFS for the
> x86_64-slc5-gcc41-opt platform tag.
>
> The way to fix this is to make sure that you have set up your shell
> environment to use a standard compiler -- most likely GCC 4.3 -- before
> running the bootstrap script. You can set this up by sourcing the
> appropriate GCC 4.3 installation setup script, e.g.
> /afs/cern.ch/sw/lcg/external/gcc/4.3/x86_64-slc5-gcc43-opt/setup.sh
>
> Cheers,
> Andy
>
>
> On 11/12/11 14:04, Izhar Sagheer wrote:
>> Hi
>> Its Izhar Sagheer from Pakistan
>> I am going to work in RIVET. I am following RIVET MANUAL but facing some
>> problems
>>
>> I used these commands:
>>
>> $ wget http://svn.hepforge.org/rivet/bootstrap/rivet-bootstrap
>> $ chmod +x rivet-bootstrap
>>
>> in my /afs/cern.ch/i/isagheer/test/RIVET
>>
>> and i type the command as:
>>
>> ./rivet-bootstrap --install-agile
>> --prefix=/afs/cern.ch/i/isagheer/test/RIVET
>>
>> after downloading two files "Rivet-1.7.0.tar.gz" and
>> "agile-1.3.0.tar.gz" it starts to use "LCG area availabale=using LCG
>> build packeges" but then it gives and error like:
>>
>>
>> FastJet does not exist at path
>> /afs/cern.ch/sw/lcg/external/fastjet/2.4.3/x86_64-slc5-gcc41-opt. You
>> may wish to use the --ignore-lcgext option
>> Traceback (most recent call last):
>> File "./rivet-bootstrap", line 476, in ?
>> sys.exit(1)
>> SystemExit: 1
>>
>>
>> kindly guide and help me for above error
>>
>> I am waiting for your response. I have to present RIVET some days after.
>>
>> Best Regards
>> Izhar Sagheer
>> National Center for Physics. Islamabad. Pakistan
>>
>>
>> _______________________________________________
>> Rivet mailing list
>> Rivet at projects.hepforge.org
>> http://www.hepforge.org/lists/listinfo/rivet
>
> --
> Dr Andy Buckley
> SUPA Advanced Research Fellow
> Particle Physics Experiment Group, University of Edinburgh
>
> The University of Edinburgh is a charitable body, registered in
> Scotland, with registration number SC005336.
>
> _______________________________________________
> Rivet mailing list
> Rivet at projects.hepforge.org
> http://www.hepforge.org/lists/listinfo/rivet



More information about the Rivet mailing list