JiscMail Logo
Email discussion lists for the UK Education and Research communities

Help for NEUTRINO-MC-SUPPORT Archives


NEUTRINO-MC-SUPPORT Archives

NEUTRINO-MC-SUPPORT Archives


NEUTRINO-MC-SUPPORT@JISCMAIL.AC.UK


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

NEUTRINO-MC-SUPPORT Home

NEUTRINO-MC-SUPPORT Home

NEUTRINO-MC-SUPPORT  May 2011

NEUTRINO-MC-SUPPORT May 2011

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Re: Cannot install Genie (Mac OS X)

From:

Joachim Kopp <[log in to unmask]>

Reply-To:

Joachim Kopp <[log in to unmask]>

Date:

Wed, 25 May 2011 16:21:16 -0500

Content-Type:

multipart/mixed

Parts/Attachments:

Parts/Attachments

text/plain (148 lines) , genie-installation (59 lines)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Tom,

I'm not sure if it helps, but here's a summary of the steps I took to
install GENIE 2.6.0 on a Fermi Scientific Linux 5 (Lederman) system.

Since your problem appears to be in LHAPDF, you might try compiling
LHAPDF with the option --enable-low-memory.

Is it only genie that's not working or also tools like gmkxspl?

Cheers,
Joachim

On 05/25/2011 02:57 PM, Tom Roberts wrote:
> I am a brand new user of Genie, and I have trouble installing it. I am an expert 
> C++ developer with considerable experience on Linux, Windows, Mac OS X, and Root.
> 
> This is Mac OS X 10.5.8 (Leopard). gfortran is in /usr/local/bin, but I don't 
> remember where it came from. g77 and f77 are 1-line scripts in $HOME/bin that 
> run gfortran "$@".
> 
> I am installing into $HOME/Neutrino and everything seemed to build OK (after 
> some futzing). Note I did not download any data files for lhapdf; I did download 
> gxspl-t2k-v2.6.2.xml.gz but don't know where to unpack it. I'm not yet to the 
> point where the data files are needed.
> 
> 
> Note that to get genie to come close to starting up, I had to do some ugly 
> things in $HOME/Neutrino/lib:
> 	ln -s libxml2.dylib libxml2.so
> 	ln -s liblog4cpp.dylib liblog4cpp.so
> 
> My configuration is below, but first, here is the problem when I try to run genie:
> 
> $ export DYLD_LIBRARY_PATH=$HOME/Neutrino/lib:$HOME/Neutrino/v6_412/lib
> $ export 
> PATH=$HOME/Neutrino/bin:$HOME/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin:/usr/X11R6/bin:/sw/bin:.
> $ export GENIE=$HOME/Neutrino/Genie-2.6.2
> $ genie
> ... usual Root startup stuff, 5.26/00, Root splash screen is OK ...
> root [0]
> Processing /Users/tjrob/Neutrino/Genie-2.6.2/src/scripts/gcint/genie.C...
> dlopen error: dlopen(/Users/tjrob/Neutrino/lib/libGPDF.so, 9): Library not 
> loaded: /Users/tjrob/Neutrino/lib/libLHAPDF.0.dylib
>    Referenced from: /Users/tjrob/Neutrino/lib/libGPDF.so
>    Reason: no suitable image found.  Did find:
> 	/Users/tjrob/Neutrino/lib/libLHAPDF.0.dylib: out of address space
> 	/Users/tjrob/Neutrino/lib/libLHAPDF.0.dylib: out of address space
> Load Error: Failed to load Dynamic link library /Users/tjrob/Neutrino/lib/libGPDF.so
> *** Interpreter error recovered ***
> 
>   *** Break *** bus error
> sh: /etc/root/gdb-backtrace.sh: No such file or directory
> Root > Function genie() busy flag cleared
> .q
> 
> 
> It's pretty scary to run out of address space. Google was not helpful.
> Any suggestions?
> 
> Is there any way to link all those libraries statically?
> 
> 
> Tom Roberts
> 
> ---------------------
> 
> Here is how I configured the external libraries and Genie:
> 
> log4cpp-1.0
> 	(Downloaded from website, because the cvs version failed to build)
> 	./configure --prefix=$HOME/Neutrino
> 	make
> 	make install
> 
> libxml2 is from Fink in /sw/lib, but due to conflicts with libJPEG, I cannot put 
> /sw/lib into DYLD_LIBRARY_PATH (a long-standing issue). So I did this:
> 	ln -s /sw/lib/libxml* $HOME/Neutrino/lib
> 
> lhapdf-5.8.5
> 	(Download version 5.8.5 from website)
> 	./configure --prefix=$HOME/Neutrino
> 	make
> 	make install
> 
> pythia6
> 	source Genie-2.6.2/src/scripts/build/ext/build_pythia6.sh
> 	(created directory v6_412 -- unkind to not include pythia in the name)
> 
> root_v5.26.00
> 	(download root 5.26.00 from the website)
> 	./configure macosx --prefix=$HOME/Neutrino \
> 		--enable-pythia6 --with-pythia6-libdir=$HOME/Neutrino/v6_412/lib
> 	make
> 	make install
> 
> Genie-2.6.2
> 	(downloaded from website)
> 	./configure \
>               --prefix=$HOME/Neutrino \
>               --disable-profiler \
>               --disable-validation-tools \
>               --disable-neut-cascade \
>               --disable-cernlib \
>               --enable-lhapdf \
>               --enable-flux-drivers \
>               --enable-geom-drivers \
>               --disable-doxygen \
>               --enable-test \
>               --disable-viewer \
>               --enable-mueloss \
>               --enable-dylibversion \
>               --enable-event-server \
>               --enable-t2k \
>               --enable-numi \
>               --enable-atmo \
>               --enable-rwght \
>               --disable-debug \
>               --with-optimiz-level=O2 \
>               --with-pythia6-lib=$HOME/Neutrino/v6_412/lib \
>               --with-lhapdf-inc=$HOME/Neutrino/include \
>               --with-lhapdf-lib=$HOME/Neutrino/lib \
>               --with-libxml2-inc=/sw/include/libxml2 \
>               --with-libxml2-lib=/sw/lib \
>               --with-log4cpp-inc=$HOME/Neutrino/include \
>               --with-log4cpp-lib=$HOME/Neutrino/lib
> 	make
> 	make install

- -- 
- ----------------------------------------------------------------------
Joachim Kopp                       Theoretical Physics Dep., Fermilab
email: [log in to unmask]              P.O. Box 500
phone: +1 (630) 840-6383           Batavia, IL 60510
web: home.fnal.gov/~jkopp          USA

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk3dcskACgkQsIQ5KBW3XhacbwCfcsJl/smdD0uYTrlmZdz6bBTW
aeAAniEAdIlIYuPe8tRLJd0swGKVW7DR
=s+WI
-----END PGP SIGNATURE-----



# How to install the GENIE neutrino event generator on thpc09 # ----------------------------------------------------------- # Make sure libg2c is properly installed. I needed to do cd ~/software/installed/lib ln -s libg2c.so.0 libg2c.so # Download LHAPDF (http://www.hepforge.org/downloads/lhapdf) and build it: FC=gfortran-4.5.1 ./configure --prefix=/home/jkopp/software/installed/ make make install # Download LHAPDF PDF sets, make sure GRV98lo and GRV98nlo are included lhapdf-getdata CTEQ6ll CTEQ66 lomod MCal GRV98* # or lhapdf-getdata --all # Download and build log4cpp (http://sourceforge.net/projects/log4cpp/files/) ./configure --prefix=/home/jkopp/software/installed/ make make install # (Re-)compile root with Pythia6 support ./configure --build=debug --enable-pythia6 \             --with-pythia6-libdir=/scratch/jkopp/software/pythia6/v6_412/lib/ \             --etcdir=/home/jkopp/software/installed/etc \             --prefix=/home/jkopp/software/installed/ \             --with-cc="gcc-4.5.1" --with-f77=gfortran-4.5.1 --with-cxx=g++-4.5.1 # Make sure that root reads its configuration file (system.rootrc or ~/.rootrc), # and that the plugin path set in there is correct. In particular, make sure # that the command # gROOT->GetPluginManager()->FindHandler("TVirtualTreePlayer") # does not return NULL # Copy or link Pythia libraries to a place where GENIE can find them cp /scratch/jkopp/software/pythia6/v6_412/lib/* ~/software/installed/lib # Download and build GENIE mkdir genie svn co https://svn.hepforge.org/genie/branches/R-2_6_0 . export GENIE=$(pwd) ./configure --prefix=/home/jkopp/software/installed/ \             --enable-debug \             --enable-atmo \             --enable-viewer \             --enable-test \             --enable-vle-extension \             --enable-vhe-extension \             --with-lhapdf-lib=/home/jkopp/software/installed/lib/ \             --with-lhapdf-inc=/home/jkopp/software/installed/include/ \             --with-pythia6-lib=/scratch/jkopp/software/pythia6/v6_412/lib/ gmake gmake install # To run GENIE, define export LHAPATH=$HOME/software/installed/share/lhapdf/PDFsets/ export GENIE=/scratch/jkopp/software/genie/

Top of Message | Previous Page | Permalink

JiscMail Tools


RSS Feeds and Sharing


Advanced Options


Archives

March 2024
February 2024
January 2024
December 2023
November 2023
October 2023
September 2023
July 2023
June 2023
May 2023
March 2023
February 2023
January 2023
December 2022
November 2022
October 2022
September 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
December 2020
November 2020
October 2020
September 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
December 2019
November 2019
October 2019
September 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
December 2018
October 2018
July 2018
May 2018
February 2018
January 2018
October 2017
May 2017
April 2017
March 2017
January 2017
December 2016
October 2016
September 2016
August 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
July 2015
May 2015
April 2015
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
April 2014
February 2014
December 2013
November 2013
October 2013
September 2013
August 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
October 2012
April 2012
March 2012
September 2011
July 2011
June 2011
May 2011
December 2010
November 2010
October 2010
September 2010
June 2010
May 2010
April 2010
March 2010
February 2010
July 2009
June 2009
May 2009
April 2009
March 2009
January 2009
December 2008
June 2008
December 2007
August 2007
July 2007


JiscMail is a Jisc service.

View our service policies at https://www.jiscmail.ac.uk/policyandsecurity/ and Jisc's privacy policy at https://www.jisc.ac.uk/website/privacy-notice

For help and support help@jisc.ac.uk

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager