On 29 Nov 2011, at 15:23, Daniela Bauer <[log in to unmask]> wrote:
> Hi All,
>
> While this definitely comes under "I can probably figure it out
> myself, given enough time", I would be grateful if somebody could give
> me a pointer.
>
Cernlib is available in epel, its maintained by some guy in lyon who is actve fixing problems that come up.
I have zero experience of using but its now installed on lxplus6.
Steve.
> I have this Small VO (TM) who insists the only way to run their code
> is to compile it on the fly (i.e. on the WN) and it needs cernlib*.
> For some reason I probably don't want to know about cernlib is
> installed on the Imperial WNs, so it 'just works' here, but of course
> it will work nowhere else.
> I should be able to install** cernlib in their software area, but I am
> not sure how to go about this. Do I just pick the tarballs from here
> http://cernlib.web.cern.ch/cernlib/version.html (I assume "PC Linux
> Cern x86_64-slc5-gcc41-opt(Cernlib 2006)" or so would do), dump that
> in the software area and subtly (how?) modify the makefile and all
> will be well ?
>
> Am I barking up the wrong tree here ?
>
> Daniela
>
> *So far I have never delved too far into any makefiles, but this is
> the relevant bit of their makefile:
> CERNLIB = -L/usr/lib64/cernlib/2006/lib -lpacklib -lmathlib
>
> [...]
> $(EXEDIR)/$(MCMC): $(OBJFILES) $(MCMC:%.exe=%.o)
> $(CXX) -o $@ $^ $(CXXFLAGS) $(FEYNLIBS) $(CERNLIB) $(DARKSUSYLIBS) \
> $(SOFTSUSYLIBS) $(MOMGLIBS) $(POPELIBS) $(SUPERISOLIB)
>
>
> ** (un)fortunately my experience in installing things tends to center
> around 'yum install' or 'rpm -i'
>
> --
> -----------------------------------------------------------
> [log in to unmask]
> HEP Group/Physics Dep
> Imperial College
> Tel: +44-(0)20-75947810
> http://www.hep.ph.ic.ac.uk/~dbauer/
|