lhapdf error on mac ld: symbol(s) not found for architecture x86_64 collect2: error: ld returned 1 exit status

Bug #1368721 reported by celine degrande
This bug report is a duplicate of:  Bug #1421642: LHAPDF6 and aMC@NLO. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MadGraph5_aMC@NLO
New
Undecided
marco zaro

Bug Description

Hi,

I can install pdf version 5 but then I got compilation error in MG. I cannot install version 6 because I do not have the right version of Boost.

Cheers,

Celine

Revision history for this message
celine degrande (celine-degrande-r) wrote :
Changed in mg5amcnlo:
assignee: nobody → marco zaro (marco-zaro)
Revision history for this message
marco zaro (marco-zaro) wrote : Re: [Bug 1368721] [NEW] lhapdf error on mac ld: symbol(s) not found for architecture x86_64 collect2: error: ld returned 1 exit status

Hi Celine,
what error do you get?
on which machine and with version of OS/compilers are you using?
wich process are you trying?
Cheers,

Marco
On 12 Sep 2014, at 14:42, Launchpad Bug Tracker <email address hidden> wrote:

> Olivier Mattelaer (olivier-mattelaer) has assigned this bug to you for MadGraph5_aMC@NLO:
>
> Hi,
>
> I can install pdf version 5 but then I got compilation error in MG. I
> cannot install version 6 because I do not have the right version of
> Boost.
>
> Cheers,
>
> Celine
>
> ** Affects: mg5amcnlo
> Importance: Undecided
> Assignee: marco zaro (marco-zaro)
> Status: New
>
> --
> lhapdf error on mac ld: symbol(s) not found for architecture x86_64 collect2: error: ld returned 1 exit status
> https://bugs.launchpad.net/bugs/1368721
> You received this bug notification because you are a bug assignee.

Revision history for this message
celine degrande (celine-degrande-r) wrote :
Download full text (6.1 KiB)

Hi Marco,

I just try t t~ LO in the sm at the end with version 2.2.0 of MG.

it on my mac version 10.9.4.
The version for clang is
Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin13.3.0
Thread model: posix
I got gcc 4.9.0

Do you need something else?

The error is :

INFO: NNPDF23_nlo_as_0119.LHgrid successfully downloaded and stored in /Users/degrande/lhapdf2/share/lhapdf/PDFsets
write compile file for card: /Users/degrande/2.2.0/PROC_sm_2/Cards/param_card.dat
run_card missed argument xmtcentral. Takes default: 0.0
run_card missed argument d. Takes default: 1.0
run_card missed argument gridrun. Takes default: False
run_card missed argument fixed_couplings. Takes default: True
Error detected in "generate_events run_01"
write debug file /Users/degrande/2.2.0/PROC_sm_2/run_01_tag_1_debug.log
If you need help with this issue please contact us on https://answers.launchpad.net/madgraph5
MadGraph5Error : A compilation Error occurs when trying to compile /Users/degrande/2.2.0/PROC_sm_2/Source.
 The compilation fails with the following output message:
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o combine_events.o combine_events.f
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o alfas_functions.o alfas_functions.f
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -o ../bin/internal/combine_events combine_events.o rw_events.o ranmar.o kin_functions.o open_file.o rw_routines.o alfas_functions.o setrun.o -L../lib/ -lmodel -lpdf -lLHAPDF -lstdc++
     Undefined symbols for architecture x86_64:
       "std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::__init(char const*, unsigned long)", referenced from:
           _getprefixpath_ in libLHAPDF.a(getdatapath.o)
           _getindexpath_ in libLHAPDF.a(getdatapath.o)
           _getdatapath_ in libLHAPDF.a(getdatapath.o)
           _getlhapdfversion_ in libLHAPDF.a(version.o)
       "std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::__init(char const*, unsigned long, unsigned long)", referenced from:
           std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > std::__1::operator+<char, std::__1::char_traits<char>, std::__1::allocator<char> >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, char const*) in libLHAPDF.a(getdatapath.o)
       "std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::append(char const*)", referenced from:
           _getindexpath_ in libLHAPDF.a(getdatapath.o)
       "std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::append(char const*, unsigned long)", referenced from:
           std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > std::__1::operator+<char, std::__1::char_traits<char>, std::__1::allocator<char> >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, char const*) in libLHAPDF.a(getdatapath.o)
       "std::__1::basic_string<char, std::__1::char_traits<char>, std::...

Read more...

Revision history for this message
marco zaro (marco-zaro) wrote :
Download full text (7.1 KiB)

mmm
did you specify the correct c compiler when you compiled lhapdf?
it may be a compiler clash…
Cheers,

Marco

On 12 Sep 2014, at 15:00, celine degrande <email address hidden> wrote:

> Hi Marco,
>
> I just try t t~ LO in the sm at the end with version 2.2.0 of MG.
>
> it on my mac version 10.9.4.
> The version for clang is
> Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
> Target: x86_64-apple-darwin13.3.0
> Thread model: posix
> I got gcc 4.9.0
>
> Do you need something else?
>
> The error is :
>
> INFO: NNPDF23_nlo_as_0119.LHgrid successfully downloaded and stored in /Users/degrande/lhapdf2/share/lhapdf/PDFsets
> write compile file for card: /Users/degrande/2.2.0/PROC_sm_2/Cards/param_card.dat
> run_card missed argument xmtcentral. Takes default: 0.0
> run_card missed argument d. Takes default: 1.0
> run_card missed argument gridrun. Takes default: False
> run_card missed argument fixed_couplings. Takes default: True
> Error detected in "generate_events run_01"
> write debug file /Users/degrande/2.2.0/PROC_sm_2/run_01_tag_1_debug.log
> If you need help with this issue please contact us on https://answers.launchpad.net/madgraph5
> MadGraph5Error : A compilation Error occurs when trying to compile /Users/degrande/2.2.0/PROC_sm_2/Source.
> The compilation fails with the following output message:
> gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o combine_events.o combine_events.f
> gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o alfas_functions.o alfas_functions.f
> gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -o ../bin/internal/combine_events combine_events.o rw_events.o ranmar.o kin_functions.o open_file.o rw_routines.o alfas_functions.o setrun.o -L../lib/ -lmodel -lpdf -lLHAPDF -lstdc++
> Undefined symbols for architecture x86_64:
> "std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::__init(char const*, unsigned long)", referenced from:
> _getprefixpath_ in libLHAPDF.a(getdatapath.o)
> _getindexpath_ in libLHAPDF.a(getdatapath.o)
> _getdatapath_ in libLHAPDF.a(getdatapath.o)
> _getlhapdfversion_ in libLHAPDF.a(version.o)
> "std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::__init(char const*, unsigned long, unsigned long)", referenced from:
> std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > std::__1::operator+<char, std::__1::char_traits<char>, std::__1::allocator<char> >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, char const*) in libLHAPDF.a(getdatapath.o)
> "std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::append(char const*)", referenced from:
> _getindexpath_ in libLHAPDF.a(getdatapath.o)
> "std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::append(char const*, unsigned long)", referenced from:
> std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > std::__1::oper...

Read more...

Revision history for this message
celine degrande (celine-degrande-r) wrote :
Download full text (8.3 KiB)

I try with and without specifying compiler in the configuration for the lhapdf. I use clang for the case where I put it explicitly

Cheers,

Celine
________________________________________
From: <email address hidden> [<email address hidden>] on behalf of marco zaro [<email address hidden>]
Sent: Friday, September 12, 2014 2:07 PM
To: DEGRANDE C.
Subject: Re: [Bug 1368721] [NEW] lhapdf error on mac ld: symbol(s) not found for architecture x86_64 collect2: error: ld returned 1 exit status

mmm
did you specify the correct c compiler when you compiled lhapdf?
it may be a compiler clash…
Cheers,

Marco

On 12 Sep 2014, at 15:00, celine degrande <email address hidden> wrote:

> Hi Marco,
>
> I just try t t~ LO in the sm at the end with version 2.2.0 of MG.
>
> it on my mac version 10.9.4.
> The version for clang is
> Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
> Target: x86_64-apple-darwin13.3.0
> Thread model: posix
> I got gcc 4.9.0
>
> Do you need something else?
>
> The error is :
>
> INFO: NNPDF23_nlo_as_0119.LHgrid successfully downloaded and stored in /Users/degrande/lhapdf2/share/lhapdf/PDFsets
> write compile file for card: /Users/degrande/2.2.0/PROC_sm_2/Cards/param_card.dat
> run_card missed argument xmtcentral. Takes default: 0.0
> run_card missed argument d. Takes default: 1.0
> run_card missed argument gridrun. Takes default: False
> run_card missed argument fixed_couplings. Takes default: True
> Error detected in "generate_events run_01"
> write debug file /Users/degrande/2.2.0/PROC_sm_2/run_01_tag_1_debug.log
> If you need help with this issue please contact us on https://answers.launchpad.net/madgraph5
> MadGraph5Error : A compilation Error occurs when trying to compile /Users/degrande/2.2.0/PROC_sm_2/Source.
> The compilation fails with the following output message:
> gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o combine_events.o combine_events.f
> gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o alfas_functions.o alfas_functions.f
> gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -o ../bin/internal/combine_events combine_events.o rw_events.o ranmar.o kin_functions.o open_file.o rw_routines.o alfas_functions.o setrun.o -L../lib/ -lmodel -lpdf -lLHAPDF -lstdc++
> Undefined symbols for architecture x86_64:
> "std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::__init(char const*, unsigned long)", referenced from:
> _getprefixpath_ in libLHAPDF.a(getdatapath.o)
> _getindexpath_ in libLHAPDF.a(getdatapath.o)
> _getdatapath_ in libLHAPDF.a(getdatapath.o)
> _getlhapdfversion_ in libLHAPDF.a(version.o)
> "std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::__init(char const*, unsigned long, unsigned long)", referenced from:
> std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > std::__1::operator+<char, std::__1::char_traits<char>, std::__1::allocator<char> >(std::__1::basic_string<char, std::__1::char_trai...

Read more...

Revision history for this message
marco zaro (marco-zaro) wrote :
Download full text (9.5 KiB)

wait
so if you specify clang for lhapdf AND use clang as cpp compiler in amcatnlo, i think you should also specify
CFLAGS="-O -stdlib=libstdc++ -mmacosx-version-min=10.6"
when you configue…

otherwise, if yo also have the gnu compilers (g++ and gcc) and compile lhapdf with it, you should also specify the same compiler for amcatnlo…
let me know,

Marco

On 12 Sep 2014, at 15:18, celine degrande <email address hidden> wrote:

> I try with and without specifying compiler in the configuration for the
> lhapdf. I use clang for the case where I put it explicitly
>
> Cheers,
>
> Celine
> ________________________________________
> From: <email address hidden> [<email address hidden>] on behalf of marco zaro [<email address hidden>]
> Sent: Friday, September 12, 2014 2:07 PM
> To: DEGRANDE C.
> Subject: Re: [Bug 1368721] [NEW] lhapdf error on mac ld: symbol(s) not found for architecture x86_64 collect2: error: ld returned 1 exit status
>
> mmm
> did you specify the correct c compiler when you compiled lhapdf?
> it may be a compiler clash…
> Cheers,
>
> Marco
>
>
> On 12 Sep 2014, at 15:00, celine degrande <email address hidden> wrote:
>
>> Hi Marco,
>>
>> I just try t t~ LO in the sm at the end with version 2.2.0 of MG.
>>
>> it on my mac version 10.9.4.
>> The version for clang is
>> Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
>> Target: x86_64-apple-darwin13.3.0
>> Thread model: posix
>> I got gcc 4.9.0
>>
>> Do you need something else?
>>
>> The error is :
>>
>> INFO: NNPDF23_nlo_as_0119.LHgrid successfully downloaded and stored in /Users/degrande/lhapdf2/share/lhapdf/PDFsets
>> write compile file for card: /Users/degrande/2.2.0/PROC_sm_2/Cards/param_card.dat
>> run_card missed argument xmtcentral. Takes default: 0.0
>> run_card missed argument d. Takes default: 1.0
>> run_card missed argument gridrun. Takes default: False
>> run_card missed argument fixed_couplings. Takes default: True
>> Error detected in "generate_events run_01"
>> write debug file /Users/degrande/2.2.0/PROC_sm_2/run_01_tag_1_debug.log
>> If you need help with this issue please contact us on https://answers.launchpad.net/madgraph5
>> MadGraph5Error : A compilation Error occurs when trying to compile /Users/degrande/2.2.0/PROC_sm_2/Source.
>> The compilation fails with the following output message:
>> gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o combine_events.o combine_events.f
>> gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o alfas_functions.o alfas_functions.f
>> gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -o ../bin/internal/combine_events combine_events.o rw_events.o ranmar.o kin_functions.o open_file.o rw_routines.o alfas_functions.o setrun.o -L../lib/ -lmodel -lpdf -lLHAPDF -lstdc++
>> Undefined symbols for architecture x86_64:
>> "std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::__init(char const*, unsigned long)", referenced from:
>> _getprefixpath_ in libLHAPDF.a(getdatapath.o)
>> _getindexpath_ in libLHAPDF.a(getdatapath.o)
>> _...

Read more...

Revision history for this message
marco zaro (marco-zaro) wrote :
Download full text (9.9 KiB)

please check the syntax, i’m not sure if CFLAGS is the correct variable…

On 12 Sep 2014, at 15:30, Marco Zaro <email address hidden> wrote:

> wait
> so if you specify clang for lhapdf AND use clang as cpp compiler in amcatnlo, i think you should also specify
> CFLAGS="-O -stdlib=libstdc++ -mmacosx-version-min=10.6"
> when you configue…
>
> otherwise, if yo also have the gnu compilers (g++ and gcc) and compile lhapdf with it, you should also specify the same compiler for amcatnlo…
> let me know,
>
> Marco
>
>
> On 12 Sep 2014, at 15:18, celine degrande <email address hidden> wrote:
>
>> I try with and without specifying compiler in the configuration for the
>> lhapdf. I use clang for the case where I put it explicitly
>>
>> Cheers,
>>
>> Celine
>> ________________________________________
>> From: <email address hidden> [<email address hidden>] on behalf of marco zaro [<email address hidden>]
>> Sent: Friday, September 12, 2014 2:07 PM
>> To: DEGRANDE C.
>> Subject: Re: [Bug 1368721] [NEW] lhapdf error on mac ld: symbol(s) not found for architecture x86_64 collect2: error: ld returned 1 exit status
>>
>> mmm
>> did you specify the correct c compiler when you compiled lhapdf?
>> it may be a compiler clash…
>> Cheers,
>>
>> Marco
>>
>>
>> On 12 Sep 2014, at 15:00, celine degrande <email address hidden> wrote:
>>
>>> Hi Marco,
>>>
>>> I just try t t~ LO in the sm at the end with version 2.2.0 of MG.
>>>
>>> it on my mac version 10.9.4.
>>> The version for clang is
>>> Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
>>> Target: x86_64-apple-darwin13.3.0
>>> Thread model: posix
>>> I got gcc 4.9.0
>>>
>>> Do you need something else?
>>>
>>> The error is :
>>>
>>> INFO: NNPDF23_nlo_as_0119.LHgrid successfully downloaded and stored in /Users/degrande/lhapdf2/share/lhapdf/PDFsets
>>> write compile file for card: /Users/degrande/2.2.0/PROC_sm_2/Cards/param_card.dat
>>> run_card missed argument xmtcentral. Takes default: 0.0
>>> run_card missed argument d. Takes default: 1.0
>>> run_card missed argument gridrun. Takes default: False
>>> run_card missed argument fixed_couplings. Takes default: True
>>> Error detected in "generate_events run_01"
>>> write debug file /Users/degrande/2.2.0/PROC_sm_2/run_01_tag_1_debug.log
>>> If you need help with this issue please contact us on https://answers.launchpad.net/madgraph5
>>> MadGraph5Error : A compilation Error occurs when trying to compile /Users/degrande/2.2.0/PROC_sm_2/Source.
>>> The compilation fails with the following output message:
>>> gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o combine_events.o combine_events.f
>>> gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o alfas_functions.o alfas_functions.f
>>> gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -o ../bin/internal/combine_events combine_events.o rw_events.o ranmar.o kin_functions.o open_file.o rw_routines.o alfas_functions.o setrun.o -L../lib/ -lmodel -lpdf -lLHAPDF -lstdc++
>>> Undefined symbols for architecture x86_64:
>>> "std::__1::basic_string<char, std::__1::char_traits<char>, std::__1...

Revision history for this message
celine degrande (celine-degrande-r) wrote :
Download full text (11.0 KiB)

I use clang for mg5amcnlo.
I have added :
export CFLAGS="-O -stdlib=libstdc++ -mmacosx-version-min=10.6 -Qunused-arguments"
before installing the pdf but I got the same error.

Cheers,

Celine
________________________________________
From: <email address hidden> [<email address hidden>] on behalf of marco zaro [<email address hidden>]
Sent: Friday, September 12, 2014 2:31 PM
To: DEGRANDE C.
Subject: Re: [Bug 1368721] [NEW] lhapdf error on mac ld: symbol(s) not found for architecture x86_64 collect2: error: ld returned 1 exit status

please check the syntax, i’m not sure if CFLAGS is the correct variable…

On 12 Sep 2014, at 15:30, Marco Zaro <email address hidden> wrote:

> wait
> so if you specify clang for lhapdf AND use clang as cpp compiler in amcatnlo, i think you should also specify
> CFLAGS="-O -stdlib=libstdc++ -mmacosx-version-min=10.6"
> when you configue…
>
> otherwise, if yo also have the gnu compilers (g++ and gcc) and compile lhapdf with it, you should also specify the same compiler for amcatnlo…
> let me know,
>
> Marco
>
>
> On 12 Sep 2014, at 15:18, celine degrande <email address hidden> wrote:
>
>> I try with and without specifying compiler in the configuration for the
>> lhapdf. I use clang for the case where I put it explicitly
>>
>> Cheers,
>>
>> Celine
>> ________________________________________
>> From: <email address hidden> [<email address hidden>] on behalf of marco zaro [<email address hidden>]
>> Sent: Friday, September 12, 2014 2:07 PM
>> To: DEGRANDE C.
>> Subject: Re: [Bug 1368721] [NEW] lhapdf error on mac ld: symbol(s) not found for architecture x86_64 collect2: error: ld returned 1 exit status
>>
>> mmm
>> did you specify the correct c compiler when you compiled lhapdf?
>> it may be a compiler clash…
>> Cheers,
>>
>> Marco
>>
>>
>> On 12 Sep 2014, at 15:00, celine degrande <email address hidden> wrote:
>>
>>> Hi Marco,
>>>
>>> I just try t t~ LO in the sm at the end with version 2.2.0 of MG.
>>>
>>> it on my mac version 10.9.4.
>>> The version for clang is
>>> Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
>>> Target: x86_64-apple-darwin13.3.0
>>> Thread model: posix
>>> I got gcc 4.9.0
>>>
>>> Do you need something else?
>>>
>>> The error is :
>>>
>>> INFO: NNPDF23_nlo_as_0119.LHgrid successfully downloaded and stored in /Users/degrande/lhapdf2/share/lhapdf/PDFsets
>>> write compile file for card: /Users/degrande/2.2.0/PROC_sm_2/Cards/param_card.dat
>>> run_card missed argument xmtcentral. Takes default: 0.0
>>> run_card missed argument d. Takes default: 1.0
>>> run_card missed argument gridrun. Takes default: False
>>> run_card missed argument fixed_couplings. Takes default: True
>>> Error detected in "generate_events run_01"
>>> write debug file /Users/degrande/2.2.0/PROC_sm_2/run_01_tag_1_debug.log
>>> If you need help with this issue please contact us on https://answers.launchpad.net/madgraph5
>>> MadGraph5Error : A compilation Error occurs when trying to compile /Users/degrande/2.2.0/PROC_sm_2/Source.
>>> The compilation fails with the following output message:
>>> gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o combine_events.o combin...

Revision history for this message
marco zaro (marco-zaro) wrote :
Download full text (12.4 KiB)

so you reconfigure/recompile lhapdf, right?

Marco Zaro

On Fri, Sep 12, 2014 at 4:05 PM, celine degrande <
<email address hidden>> wrote:

> I use clang for mg5amcnlo.
> I have added :
> export CFLAGS="-O -stdlib=libstdc++ -mmacosx-version-min=10.6
> -Qunused-arguments"
> before installing the pdf but I got the same error.
>
> Cheers,
>
> Celine
> ________________________________________
> From: <email address hidden> [<email address hidden>] on behalf of marco
> zaro [<email address hidden>]
> Sent: Friday, September 12, 2014 2:31 PM
> To: DEGRANDE C.
> Subject: Re: [Bug 1368721] [NEW] lhapdf error on mac ld: symbol(s) not
> found for architecture x86_64 collect2: error: ld returned 1 exit status
>
> please check the syntax, i’m not sure if CFLAGS is the correct variable…
>
> On 12 Sep 2014, at 15:30, Marco Zaro <email address hidden> wrote:
>
> > wait
> > so if you specify clang for lhapdf AND use clang as cpp compiler in
> amcatnlo, i think you should also specify
> > CFLAGS="-O -stdlib=libstdc++ -mmacosx-version-min=10.6"
> > when you configue…
> >
> > otherwise, if yo also have the gnu compilers (g++ and gcc) and compile
> lhapdf with it, you should also specify the same compiler for amcatnlo…
> > let me know,
> >
> > Marco
> >
> >
> > On 12 Sep 2014, at 15:18, celine degrande <email address hidden>
> wrote:
> >
> >> I try with and without specifying compiler in the configuration for the
> >> lhapdf. I use clang for the case where I put it explicitly
> >>
> >> Cheers,
> >>
> >> Celine
> >> ________________________________________
> >> From: <email address hidden> [<email address hidden>] on behalf of marco
> zaro [<email address hidden>]
> >> Sent: Friday, September 12, 2014 2:07 PM
> >> To: DEGRANDE C.
> >> Subject: Re: [Bug 1368721] [NEW] lhapdf error on mac ld: symbol(s) not
> found for architecture x86_64 collect2: error: ld returned 1 exit status
> >>
> >> mmm
> >> did you specify the correct c compiler when you compiled lhapdf?
> >> it may be a compiler clash…
> >> Cheers,
> >>
> >> Marco
> >>
> >>
> >> On 12 Sep 2014, at 15:00, celine degrande <email address hidden>
> wrote:
> >>
> >>> Hi Marco,
> >>>
> >>> I just try t t~ LO in the sm at the end with version 2.2.0 of MG.
> >>>
> >>> it on my mac version 10.9.4.
> >>> The version for clang is
> >>> Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
> >>> Target: x86_64-apple-darwin13.3.0
> >>> Thread model: posix
> >>> I got gcc 4.9.0
> >>>
> >>> Do you need something else?
> >>>
> >>> The error is :
> >>>
> >>> INFO: NNPDF23_nlo_as_0119.LHgrid successfully downloaded and stored in
> /Users/degrande/lhapdf2/share/lhapdf/PDFsets
> >>> write compile file for card:
> /Users/degrande/2.2.0/PROC_sm_2/Cards/param_card.dat
> >>> run_card missed argument xmtcentral. Takes default: 0.0
> >>> run_card missed argument d. Takes default: 1.0
> >>> run_card missed argument gridrun. Takes default: False
> >>> run_card missed argument fixed_couplings. Takes default: True
> >>> Error detected in "generate_events run_01"
> >>> write debug file /Users/degrande/2.2.0/PROC_sm_2/run_01_tag_1_debug.log
> >>> If you need help with this issue please contact us on
> ...

Revision history for this message
celine degrande (celine-degrande-r) wrote :
Download full text (13.3 KiB)

yes
________________________________________
From: <email address hidden> [<email address hidden>] on behalf of marco zaro [<email address hidden>]
Sent: Friday, September 12, 2014 3:21 PM
To: DEGRANDE C.
Subject: Re: [Bug 1368721] [NEW] lhapdf error on mac ld: symbol(s) not found for architecture x86_64 collect2: error: ld returned 1 exit status

so you reconfigure/recompile lhapdf, right?

Marco Zaro

On Fri, Sep 12, 2014 at 4:05 PM, celine degrande <
<email address hidden>> wrote:

> I use clang for mg5amcnlo.
> I have added :
> export CFLAGS="-O -stdlib=libstdc++ -mmacosx-version-min=10.6
> -Qunused-arguments"
> before installing the pdf but I got the same error.
>
> Cheers,
>
> Celine
> ________________________________________
> From: <email address hidden> [<email address hidden>] on behalf of marco
> zaro [<email address hidden>]
> Sent: Friday, September 12, 2014 2:31 PM
> To: DEGRANDE C.
> Subject: Re: [Bug 1368721] [NEW] lhapdf error on mac ld: symbol(s) not
> found for architecture x86_64 collect2: error: ld returned 1 exit status
>
> please check the syntax, i’m not sure if CFLAGS is the correct variable…
>
> On 12 Sep 2014, at 15:30, Marco Zaro <email address hidden> wrote:
>
> > wait
> > so if you specify clang for lhapdf AND use clang as cpp compiler in
> amcatnlo, i think you should also specify
> > CFLAGS="-O -stdlib=libstdc++ -mmacosx-version-min=10.6"
> > when you configue…
> >
> > otherwise, if yo also have the gnu compilers (g++ and gcc) and compile
> lhapdf with it, you should also specify the same compiler for amcatnlo…
> > let me know,
> >
> > Marco
> >
> >
> > On 12 Sep 2014, at 15:18, celine degrande <email address hidden>
> wrote:
> >
> >> I try with and without specifying compiler in the configuration for the
> >> lhapdf. I use clang for the case where I put it explicitly
> >>
> >> Cheers,
> >>
> >> Celine
> >> ________________________________________
> >> From: <email address hidden> [<email address hidden>] on behalf of marco
> zaro [<email address hidden>]
> >> Sent: Friday, September 12, 2014 2:07 PM
> >> To: DEGRANDE C.
> >> Subject: Re: [Bug 1368721] [NEW] lhapdf error on mac ld: symbol(s) not
> found for architecture x86_64 collect2: error: ld returned 1 exit status
> >>
> >> mmm
> >> did you specify the correct c compiler when you compiled lhapdf?
> >> it may be a compiler clash…
> >> Cheers,
> >>
> >> Marco
> >>
> >>
> >> On 12 Sep 2014, at 15:00, celine degrande <email address hidden>
> wrote:
> >>
> >>> Hi Marco,
> >>>
> >>> I just try t t~ LO in the sm at the end with version 2.2.0 of MG.
> >>>
> >>> it on my mac version 10.9.4.
> >>> The version for clang is
> >>> Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
> >>> Target: x86_64-apple-darwin13.3.0
> >>> Thread model: posix
> >>> I got gcc 4.9.0
> >>>
> >>> Do you need something else?
> >>>
> >>> The error is :
> >>>
> >>> INFO: NNPDF23_nlo_as_0119.LHgrid successfully downloaded and stored in
> /Users/degrande/lhapdf2/share/lhapdf/PDFsets
> >>> write compile file for card:
> /Users/degrande/2.2.0/PROC_sm_2/Cards/param_card.dat
> >>> run_card missed argument xmtcentral. Takes default: 0.0
> >>> run_card miss...

Revision history for this message
marco zaro (marco-zaro) wrote :

Hi Celine,
sorry for the long silence.
Did you manage to make it working in the end?
Thanks,

Marco

Revision history for this message
celine degrande (celine-degrande-r) wrote : RE: [Bug 1368721] Re: lhapdf error on mac ld: symbol(s) not found for architecture x86_64 collect2: error: ld returned 1 exit status

Hi Marco,

I did not try much more, I just run the couple of processes I needed on Olivier's laptop. So it is still not working.

Cheers,

Celine
________________________________________
From: <email address hidden> [<email address hidden>] on behalf of marco zaro [<email address hidden>]
Sent: Thursday, October 23, 2014 4:41 PM
To: DEGRANDE C.
Subject: [Bug 1368721] Re: lhapdf error on mac ld: symbol(s) not found for architecture x86_64 collect2: error: ld returned 1 exit status

Hi Celine,
sorry for the long silence.
Did you manage to make it working in the end?
Thanks,

Marco

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1368721

Title:
  lhapdf error on mac ld: symbol(s) not found for architecture x86_64
  collect2: error: ld returned 1 exit status

Status in MadGraph5_aMC@NLO Generator:
  New

Bug description:
  Hi,

  I can install pdf version 5 but then I got compilation error in MG. I
  cannot install version 6 because I do not have the right version of
  Boost.

  Cheers,

  Celine

To manage notifications about this bug go to:
https://bugs.launchpad.net/mg5amcnlo/+bug/1368721/+subscriptions

Revision history for this message
alireza.daneshvar (alireza-daneshvar) wrote :

Hi Celine,

Did you solve you problem with lhapdf? if not, which version of lhapdf are you using? I mean the complete version 5. . .?

Revision history for this message
celine degrande (celine-degrande-r) wrote :

Hi,

Not really. I have just used another computer on which it was already install.

Cheers,

Celine
________________________________________
From: <email address hidden> [<email address hidden>] on behalf of alireza.daneshvar [<email address hidden>]
Sent: Wednesday, November 26, 2014 3:17 PM
To: DEGRANDE C.
Subject: [Bug 1368721] Re: lhapdf error on mac ld: symbol(s) not found for architecture x86_64 collect2: error: ld returned 1 exit status

Hi Celine,

Did you solve you problem with lhapdf? if not, which version of lhapdf
are you using? I mean the complete version 5. . .?

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1368721

Title:
  lhapdf error on mac ld: symbol(s) not found for architecture x86_64
  collect2: error: ld returned 1 exit status

Status in MadGraph5_aMC@NLO Generator:
  New

Bug description:
  Hi,

  I can install pdf version 5 but then I got compilation error in MG. I
  cannot install version 6 because I do not have the right version of
  Boost.

  Cheers,

  Celine

To manage notifications about this bug go to:
https://bugs.launchpad.net/mg5amcnlo/+bug/1368721/+subscriptions

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.