sherpa is hosted by Hepforge, IPPP Durham
close Warning: Can't synchronize with repository "(default)" (/hepforge/svn/sherpa does not appear to be a Subversion repository.). Look in the Trac log for more information.
Modify

Opened 16 years ago

Closed 16 years ago

Last modified 11 years ago

#15 closed defect (worksforme)

Crash during initialization if linked against LHAPDF 5.4.0

Reported by: Oleg.Zenin@cern.ch Owned by: Frank Siegert
Priority: major Milestone:
Component: Unknown Version: 1.1.2
Keywords: Cc:

Description

Sherpa 1.1.2-beta (https://www.hepforge.org/archive/sherpa/Sherpa-beta.1.1.2.tar.gz) linked with LHAPDF 5.4.0 crashes during initialization (please, see the output in test-5.4.0.log attached).
The build script and an archived test directory (testdir-5.4.0.tgz) are also attached.
The test was run on LCG slc4_ia32_gcc34 platform (SLC4, i386, gcc 3.4.6).

The same test runs without a crash if Sherpa 1.1.2 is linked against LHAPDF 5.3.1.

With best regards,
Oleg.Zenin@cern.ch

Attachments (4)

test-5.4.0.log (23.5 KB) - added by Oleg.Zenin@cern.ch 16 years ago.
Crash log.
build.sh (2.2 KB) - added by Oleg.Zenin@cern.ch 16 years ago.
Build script
testdir-5.4.0.tgz (4.3 KB) - added by Oleg.Zenin@cern.ch 16 years ago.
Archived directory with test scripts
test1.log (51.9 KB) - added by Oleg.Zenin@cern.ch 16 years ago.
Output from the standalone example.

Download all attachments as: .zip

Change History (12)

Changed 16 years ago by Oleg.Zenin@cern.ch

Attachment: test-5.4.0.log added

Crash log.

Changed 16 years ago by Oleg.Zenin@cern.ch

Attachment: build.sh added

Build script

Changed 16 years ago by Oleg.Zenin@cern.ch

Attachment: testdir-5.4.0.tgz added

Archived directory with test scripts

comment:1 Changed 16 years ago by Frank Siegert

Owner: changed from support@sherpa-mc.de to Frank Siegert

Hi Oleg,

thanks for your very well documented bug report.

Unfortunately I don't have access to AFS, because I don't have a CERN computing login. That's why I am never able to test Sherpa against the LHAPDF packages on GENSER.

Would it be possible for you to test with a self-compiled LHAPDF according the following procedure? Because that works for me, and I don't see any significant difference to what you did.

cd /tmp
wget http://www.hepforge.org/archive/lhapdf/lhapdf-5.4.0.tar.gz
tar xzf lhapdf-5.4.0.tar.gz
cd lhapdf-5.4.0
./configure --prefix=/tmp/lhapdf-5.4.0/install
make install

cd /tmp
wget http://www.hepforge.org/archive/sherpa/Sherpa-beta.1.1.2.tar.gz
tar xzf Sherpa-beta.1.1.2.tar.gz
cd SHERPA-MC-1.1.2
./configure --enable-lhapdf=/tmp/lhapdf-5.4.0/install
make install

cd /tmp
cd SHERPA-MC-1.1.2/SHERPA/Run/LHC
# modify Run.dat for LHAPDF (cteq6l -> cteq6l.LHpdf, CTEQ6Grid -> PDFsets)
../../../bin/Sherpa # ==> works fine for me
./makelibs          # ==> works fine for me
../../../bin/Sherpa # ==> works fine for me

Cheers, Frank

PS: You are still enabling CLHEP and ROOT in the Sherpa installation, which both don't serve any purpose (anymore). CLHEP has been replaced by HepMC and ROOT was and is only there for internal things which the users don't use.

Changed 16 years ago by Oleg.Zenin@cern.ch

Attachment: test1.log added

Output from the standalone example.

comment:2 Changed 16 years ago by anonymous

Thank you for the fast reply, Frank.

I've got the same crash in the self-contained example above.
Please see the .log attached.

This might show up with a specific gcc version.
If I'm not mistaken you're using gcc4 which I haven't checked yet.

WBR,
Oleg.

comment:3 Changed 16 years ago by Frank Siegert

Hi Oleg,

thanks for testing it again. I have tried the same example also on SLC4 with gcc 3.4.6, and don't see any crash.

$ cat /etc/issue
Scientific Linux SL release 4.5 (Beryllium)
Kernel \r on an \m

$ g++ --version
g++ (GCC) 3.4.6 20060404 (Red Hat 3.4.6-8)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ g77 --version
GNU Fortran (GCC) 3.4.6 20060404 (Red Hat 3.4.6-8)
Copyright (C) 2006 Free Software Foundation, Inc.

GNU Fortran comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of GNU Fortran
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING
or type the command `info -f g77 Copying'.

Do you have any environment variables set or paths included in PATH or LD_LIBRARY_PATH which would cause it to use inconsistent versions of any libraries?

The point at which it crashes (after "Setting vertices...") is completely unrelated to anything LHAPDF, at this point the PDFs are not even initialized yet.

Since I can't reproduce it even on the same operating system, I wonder how to progress. Is there any way that I could get ssh-access to a machine where this problem occurs? I would send you my public ssh key in that case.

Otherwise I could prepare a script which hopefully produces all debugging information I'd need and ask you to run it, and make its logfile available somewhere.

Cheers, Frank

comment:4 Changed 16 years ago by Oleg.Zenin@cern.ch

Hi, Frank,

This indeed looks like some vague problem with the SLC4 installation on my workstation as long as everything runs fine on LXPLUS.cern.ch slc4_ia32_gcc34 (should be identical to my local platform) and slc4_amd64_gcc34 machines.

So I think this issue can be left over until anybody manages to reproduce it independently.

Thank you very much.

With best regards,
Oleg.

comment:5 Changed 16 years ago by Frank Siegert

Resolution: worksforme
Status: newclosed

Hi Oleg,

I didn't test it on lxplus (unfortunately don't have a CERN account), but on the local SL4 machines here at IPPP. But they should provide the same testing ground.

I'd certainly be interested in a followup, if you still find something out. But as you suggest, I'll mark this as "works for me" in the meantime, until this has been confirmed.

Cheers,
Frank

comment:6 Changed 16 years ago by anonymous

it even on the same operating system, I wonder how to progress. Is there any way that I could get ssh-access to a machine where this problem occurs

comment:7 Changed 13 years ago by Frank Siegert

Milestone: rel-old

comment:8 Changed 11 years ago by Stefan Hoeche

Milestone: old

Milestone old deleted

Modify Ticket

Change Properties
Action
as closed The owner will remain Frank Siegert.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.