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:

Cannot install Genie (Mac OS X)

From:

Tom Roberts <[log in to unmask]>

Reply-To:

Tom Roberts <[log in to unmask]>

Date:

Wed, 25 May 2011 14:57:19 -0500

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (115 lines)

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

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