Документ взят из кэша поисковой машины. Адрес оригинального документа : http://theory.sinp.msu.ru/pipermail/comphep-common/2010/000156.html
Дата изменения: Thu Apr 18 22:50:42 2013
Дата индексирования: Fri Feb 28 06:35:21 2014
Кодировка:
[Comphep-common] Fwd: Re: [Comphep-devel] Fwd: Re: CompHep Installation on 64 bit machines

[Comphep-common] Fwd: Re: [Comphep-devel] Fwd: Re: CompHep Installation on 64 bit machines

A.Kryukov kryukov at theory.sinp.msu.ru
Tue Oct 19 23:49:09 MSK 2010


Dear Vikas!

Thank you very much for the question!

The detail explanation how to solve the problem is on the CERN Wiki page:

https://twiki.cern.ch/twiki/bin/viewauth/CMS/CompHEPInterface

Briefly.

**************************************************************

The installation of some versions earlier than 4.4 on 64bit 
lxplus.cern.ch machines, where 32bit libisajet and libmath from cernlib 
are found by ./configure in the directory /cern/pro/lib may require the 
following steps:

(0) make clean

(1) correction of CFLAGS: -Wall -DNUM_LONG -DCOMPHEP -m32 instead of 
-Wall -DNUM_LONG -DCOMPHEP

(2) correction of CLIBS: -L/usr/X11R6/lib instead of -L/usr/X11R6/lib64

then compile by 'make'. In versions 4.5 and later see the configure 
script options using ./configure --help. Configurations with gcc 
compiler version 4 (use gcc -dumpversion to see the version number) 
which does not support -lg2c, should use ./configure --with-gcc4


*******************************************************************

          Best wishes,                       CompHEP team

> -------- Original Message --------
> Subject: Re: CompHep Installation on 64 bit machines
> Date: Mon, 18 Oct 2010 16:49:43 -0700
> From: Vikas Bansal <Vikas.Bansal at cern.ch>
> Reply-To: <Vikas.Bansal at cern.ch>
> To: <comphep-common-owner at theory.sinp.msu.ru>
>
> Hello,
>
> Never mind. I was able to compile comphep successfully.
>
> Please discard my previous mail.
>
> Thanks,
> Vikas
>
> On Mon, Oct 18, 2010 at 4:11 PM, Vikas Bansal <Vikas.Bansal at cern.ch>
> wrote:
>> Hello,
>>
>> Can you please fwd this message to comphep forum?
>>
>> Thanks,
>> Vikas
>>
>>
>> ---------- Forwarded message ----------
>> From:  <comphep-common-owner at theory.sinp.msu.ru>
>> Date: Mon, Oct 18, 2010 at 4:08 PM
>> Subject: CompHep Installation on 64 bit machines
>> To: vikas.bansal at cern.ch
>>
>>
>> You are not allowed to post to this mailing list, and your message has
>> been automatically rejected.  If you think that your messages are
>> being rejected in error, contact the mailing list owner at
>> comphep-common-owner at theory.sinp.msu.ru.
>>
>>
>>
>> ---------- Forwarded message ----------
>> From: Vikas Bansal <Vikas.Bansal at cern.ch>
>> To: <comphep-common at theory.sinp.msu.ru>
>> Date: Mon, 18 Oct 2010 16:08:26 -0700
>> Subject: CompHep Installation on 64 bit machines
>> Hello,
>>
>> I was wondering if someone has compiled comphep 4.5.1 on 64 bit
>> machines.
>> I am interested in installing it on Snow leopard 10.6 and on SL5/64 bit
>> machine.
>>
>> It installs perfectly ok on 32 bit machines.
>>
>> In particular I am having problem with libg2c library.
>>
>> >From Mac OSX 10.6, I get this error
>>
>> gcc -o bin/tab_view.exe     src/plot/view_tab.o
>> -lnum -lserv                          -Llib -L/usr/X11R6/lib -lX11 -lm
>> -lg2c
>> ld: warning: in /usr/local/lib/libg2c.dylib, file was built for i386
>> which is not the architecture being linked (x86_64)
>> gcc -o bin/mix.exe          src/num/mix.o
>> -lmix -levents -lnum -lserv           -Llib -L/usr/X11R6/lib -lX11 -lm
>> -lg2c
>> ld: warning: in /usr/local/lib/libg2c.dylib, file was built for i386
>> which is not the architecture being linked (x86_64)
>> gcc -o bin/translator.exe   src/num/translator.o src/num/alphas2.o
>> -ltranls -levents -lpdf -lserv        -Llib -L/usr/X11R6/lib -lX11 -lm
>> -lg2c
>> ld: in lib/libpdf.a, archive has no table of contents
>> collect2: ld returned 1 exit status
>> make: *** [link] Error 1
>>
>> Any help is appreciated.
>>
>> Thanks,
>> Vikas
>>
>
>
>
> --
> ====================================
> Vikas Bansal
> Post Doctoral Fellow
> Department of Physics and Astronomy
> University of Victoria
> Email:Vikas.Bansal at cern.ch
>
> --
> A.Kryukov, SINP MSU, +7 (495) 939-3156
> _______________________________________________
> Comphep-devel mailing list
> Comphep-devel at theory.sinp.msu.ru
> http://theory.sinp.msu.ru/mailman/listinfo/comphep-devel
>


-- 
A.Kryukov, SINP MSU, +7 (495) 939-3156



More information about the Comphep-common mailing list