Skip to Content.
Sympa Menu

sphenix-software-l - Re: [Sphenix-software-l] Problem compiling g4hough

sphenix-software-l AT lists.bnl.gov

Subject: sPHENIX discussion of software

List archive

Chronological Thread  
  • From: Christof E Roland <cer AT mit.edu>
  • To: "Huang, Jin" <jhuang AT bnl.gov>
  • Cc: "Pinkenburg, Christopher" <pinkenbu AT bnl.gov>, "sphenix-software-l AT lists.bnl.gov" <sphenix-software-l AT lists.bnl.gov>
  • Subject: Re: [Sphenix-software-l] Problem compiling g4hough
  • Date: Tue, 20 Feb 2018 18:47:49 +0100

Hi Jin,

thanks for the hint with the setup file.
There was indeed a problem sourcing the right file in my setup.
Everything compiles now as it should.

Thanks a lot for the help

Cheers

Christof


> On 20. Feb 2018, at 16:50, Huang, Jin <jhuang AT bnl.gov> wrote:
>
> Hi, Christof
>
> I just tried with a fresh build too, and the compile of g4hough does work
> for me. Both the env, shell command executed and print out during the build
> is saved in this log file:
> /phenix/u/jinhuang/links/sPHENIX_work/forChristof/build.log
> which could be useful for comparison.
>
> BTW, may I ask the env print of the shell used for your build? After a
> nightly build, it usually take another ' source
> /opt/sphenix/core/bin/sphenix_setup.csh -n ' to update the env.
>
> Cheers,
>
> Jin
>
>
> ______________________________
>
> Jin HUANG
>
> Associate Physicist
> Brookhaven National Laboratory
> Physics Department, Bldg 510 C
> Upton, NY 11973-5000
>
> Office: 631-344-5898
> Cell: 757-604-9946
> ______________________________
>
>
>> -----Original Message-----
>> From: sPHENIX-software-l [mailto:sphenix-software-l-bounces AT lists.bnl.gov]
>> On Behalf Of Christof E Roland
>> Sent: Tuesday, February 20, 2018 5:05 AM
>> To: Pinkenburg, Christopher <pinkenbu AT bnl.gov>
>> Cc: sphenix-software-l AT lists.bnl.gov
>> Subject: Re: [Sphenix-software-l] Problem compiling g4hough
>>
>> Hi again,
>>
>> I tried with a completely fresh checkout and an empty install dir.
>> I still get the error below.
>> So something is broken.
>>
>> Cheers
>>
>> Christof
>>
>> in g4hough] -> make -j 4 install
>>
>> ...
>>
>> /usr/bin/ld: warning: libLHAPDF.so.0, needed by
>> /opt/sphenix/core/lib/libPythia6.so, not found (try using -rpath or
>> -rpath-link)
>> /opt/sphenix/core/lib/libPythia6.so: undefined reference to `structp_'
>> /opt/sphenix/core/lib/libPythia6.so: undefined reference to `structm_'
>> /opt/sphenix/core/lib/libPythia6.so: undefined reference to `pdfset_'
>> /opt/sphenix/core/lib/libPythia6.so: undefined reference to
>> `_gfortran_transfer_real_write'
>> /opt/sphenix/core/lib/libPythia6.so: undefined reference to
>> `_gfortran_transfer_character_write'
>> /opt/sphenix/core/lib/libPythia6.so: undefined reference to
>> `_gfortran_transfer_array_write'
>> /opt/sphenix/core/lib/libPythia6.so: undefined reference to
>> `_gfortran_transfer_integer_write'
>> collect2: error: ld returned 1 exit status
>> make: *** [testexternals_g4hough] Error 1
>>
>>
>>> On 19. Feb 2018, at 22:24, Christof E Roland <cer AT mit.edu> wrote:
>>>
>>> Hi,
>>>
>>> I tried wiping everything, make clean in every dir etc. Still get the
>>> problem.
>>> I'll try a fresh checkout tomorrow.
>>>
>>> Cheers
>>>
>>> Christof
>>>
>>>
>>>> On 19. Feb 2018, at 18:38, pinkenburg <pinkenburg AT bnl.gov> wrote:
>>>>
>>>> Hi Christoph,
>>>>
>>>> for the EIC our pythia6 installation was changed to use lhapdf with some
>> switch settings a couple of days ago. This dependency should be compiled
>> into libpythia6. The nightly build goes through so this seems to work (so I
>> didn't announce this), I assume you have some old *.la file in your
>> installation area which does not include this change. If you could wipe
>> your
>> install and build areas and rebuild from scratch that should solve this.
>>>>
>>>> Chris
>>>>
>>>>
>>>> On 2/19/2018 9:55 AM, Christof E Roland wrote:
>>>>> Hi,
>>>>>
>>>>> since today I cant compile g4hough anymore. I get the following error
>> message:
>>>>>
>>>>> /usr/bin/ld: warning: libLHAPDF.so.0, needed by
>> /opt/sphenix/core/lib/libPythia6.so, not found (try using -rpath or
>> -rpath-link)
>>>>> /opt/sphenix/core/lib/libPythia6.so: undefined reference to `structp_'
>>>>> /opt/sphenix/core/lib/libPythia6.so: undefined reference to `structm_'
>>>>> /opt/sphenix/core/lib/libPythia6.so: undefined reference to `pdfset_'
>>>>> /opt/sphenix/core/lib/libPythia6.so: undefined reference to
>> `_gfortran_transfer_real_write'
>>>>> /opt/sphenix/core/lib/libPythia6.so: undefined reference to
>> `_gfortran_transfer_character_write'
>>>>> /opt/sphenix/core/lib/libPythia6.so: undefined reference to
>> `_gfortran_transfer_array_write'
>>>>> /opt/sphenix/core/lib/libPythia6.so: undefined reference to
>> `_gfortran_transfer_integer_write'
>>>>>
>>>>> I get the same error when trying to explicitely compile libPythia6
>>>>>
>>>>> what am I missing?
>>>>>
>>>>> Thanks a lot for your input.
>>>>>
>>>>> Cheers
>>>>>
>>>>> Christof
>>>>>
>>>>> _______________________________________________
>>>>> sPHENIX-software-l mailing list
>>>>> sPHENIX-software-l AT lists.bnl.gov
>>>>> https://lists.bnl.gov/mailman/listinfo/sphenix-software-l
>>>>
>>>> --
>>>> *************************************************************
>>>>
>>>> Christopher H. Pinkenburg ; pinkenburg AT bnl.gov
>>>> ; http://www.phenix.bnl.gov/~pinkenbu
>>>>
>>>> Brookhaven National Laboratory ; phone: (631) 344-5692
>>>> Physics Department Bldg 510 C ; fax: (631) 344-3253
>>>> Upton, NY 11973-5000
>>>>
>>>> *************************************************************
>>>>
>>>> _______________________________________________
>>>> sPHENIX-software-l mailing list
>>>> sPHENIX-software-l AT lists.bnl.gov
>>>> https://lists.bnl.gov/mailman/listinfo/sphenix-software-l
>>>
>>> _______________________________________________
>>> sPHENIX-software-l mailing list
>>> sPHENIX-software-l AT lists.bnl.gov
>>> https://lists.bnl.gov/mailman/listinfo/sphenix-software-l
>>
>> _______________________________________________
>> sPHENIX-software-l mailing list
>> sPHENIX-software-l AT lists.bnl.gov
>> https://lists.bnl.gov/mailman/listinfo/sphenix-software-l





Archive powered by MHonArc 2.6.24.

Top of Page