Fork me on GitHub

Opened 5 years ago

Closed 5 years ago

#1401 closed Bug (fixed)

Error while installing Delphes on Cluster Computer using Anaconda

Reported by: Taewook Youn Owned by:
Priority: critical Milestone:
Component: Delphes code Version: Delphes 3
Keywords: Cc:

Description

Hi,

My project needs Delphes on a cluster computer, and I keep trying installing delphes in various ways. They all failed due to no 'sudo' permission given. So, I resorted to virtual environment, such as anaconda, and installed root in https://anaconda.org/conda-forge/root and tried to complie delphes, but ran into the problem as follows:

Building hepmc2pileup

/lib64/librt.so.1: undefined reference to `clock_getres@GLIBC_PRIVATE'
/lib64/librt.so.1: undefined reference to `
clock_getcpuclockid@GLIBC_PRIVATE'
/lib64/librt.so.1: undefined reference to `pthread_get_minstack@GLIBC_PRIVATE'
/lib64/librt.so.1: undefined reference to `memcpy@GLIBC_2.14'
/lib64/librt.so.1: undefined reference to `
clock_nanosleep@GLIBC_PRIVATE'
/lib64/librt.so.1: undefined reference to `clock_gettime@GLIBC_PRIVATE'
/lib64/librt.so.1: undefined reference to `
clock_settime@GLIBC_PRIVATE'
collect2: error: ld returned 1 exit status
make: * [hepmc2pileup] Error 1

It's the last step of my project, but stuck in there for a week. How can I solve the error? Or is there a neat way to install delphes on cluster computer without 'sudo' permission?

Thanks.

Change History (3)

comment:1 by Pavel Demin, 5 years ago

Please provide more information about your setup: OS, ROOT version, Delphes version, commands you're using to install Delphes.

I don't see at what step Delphes requires sudo permissions.

The recommended compilation commands that can be found in WorkBook/QuickTour or in README are the following:

wget http://cp3.irmp.ucl.ac.be/downloads/Delphes-3.4.2.tar.gz
tar -zxf Delphes-3.4.2.tar.gz
cd Delphes-3.4.2
make
Version 0, edited 5 years ago by Pavel Demin (next)

comment:2 by Pavel Demin, 5 years ago

Please provide more information about your setup: OS, ROOT version, Delphes version, commands you're using to install Delphes.

I don't see at what step Delphes requires sudo permissions.

The recommended compilation commands that can be found in WorkBook/QuickTour or in README are the following:

wget http://cp3.irmp.ucl.ac.be/downloads/Delphes-3.4.2.tar.gz
tar -zxf Delphes-3.4.2.tar.gz
cd Delphes-3.4.2
make

comment:3 by Taewook Youn, 5 years ago

Resolution: fixed
Status: newclosed

Problem solved.
I modified Makefile adding
LDFLAGS += -lrt
LIBRTDEF=-lrt
and complied.

Thanks.

Note: See TracTickets for help on using tickets.