Getting errors while running bin/ma5

Asked by bala

I get the following when I run 'bin/ma5'

*************************************************************
* *
* W E L C O M E to M A D A N A L Y S I S 5 *
* ______ ______ *
* /'\_/`\/\ __ \/\ ___\ *
* /\ \ \ \_\ \ \ \__/ *
* \ \ \__\ \ \ __ \ \___``\ *
* \ \ \_/\ \ \ \/\ \/\ \_\ \ *
* \ \_\\ \_\ \_\ \_\ \____/ *
* \/_/ \/_/\/_/\/_/\/___/ *
* *
* MA5 release : 1.1.9 2013/10/29 *
* *
* Comput. Phys. Commun. 184 (2013) 222-256 *
* *
* The MadAnalysis Development Team - Please visit us at *
* https://launchpad.net/madanalysis5 *
* *
* Type 'help' for in-line help. *
* *
*************************************************************
Checking mandatory packages:
     - python [OK]
     - python library: numpy [OK]
     - g++ [OK]
     - Root [OK]
     - PyRoot libraries Error in <TSystem::ExpandFileName>: input: $/home/bala/Root_CERN/root/lib/libvectorDict.so, output: $/home/bala/Root_CERN/root/lib/libvectorDict.so
Error in <TSystem::ExpandFileName>: input: $/home/bala/Root_CERN/root/lib/libMathCore.so, output: $/home/bala/Root_CERN/root/lib/libMathCore.so
Error in <TSystem::ExpandFileName>: input: $/home/bala/Root_CERN/root/lib/libHist.so, output: $/home/bala/Root_CERN/root/lib/libHist.so
Error in <TSystem::ExpandFileName>: input: $/home/bala/Root_CERN/root/lib/libMatrix.so, output: $/home/bala/Root_CERN/root/lib/libMatrix.so
Error in <TSystem::ExpandFileName>: input: $/home/bala/Root_CERN/root/lib/libGraf.so, output: $/home/bala/Root_CERN/root/lib/libGraf.so
Error in <TSystem::ExpandFileName>: input: $/home/bala/Root_CERN/root/lib/libGpad.so, output: $/home/bala/Root_CERN/root/lib/libGpad.so
Error in <TSystem::ExpandFileName>: input: $/home/bala/Root_CERN/root/lib/libGX11.so, output: $/home/bala/Root_CERN/root/lib/libGX11.so
Error in <TSystem::ExpandFileName>: input: $/home/bala/Root_CERN/root/lib/libMathCore.so, output: $/home/bala/Root_CERN/root/lib/libMathCore.so
Error in <TSystem::ExpandFileName>: input: $/home/bala/Root_CERN/root/lib/libRIO.so, output: $/home/bala/Root_CERN/root/lib/libRIO.so
Error in <TSystem::ExpandFileName>: input: $/home/bala/Root_CERN/root/lib/libGraf.so, output: $/home/bala/Root_CERN/root/lib/libGraf.so
Error in <TSystem::ExpandFileName>: input: $/home/bala/Root_CERN/root/lib/libGpad.so, output: $/home/bala/Root_CERN/root/lib/libGpad.so
Error in <TSystem::ExpandFileName>: input: $/home/bala/Root_CERN/root/lib/libGui.so, output: $/home/bala/Root_CERN/root/lib/libGui.so
Error in <TSystem::ExpandFileName>: input: $/home/bala/Root_CERN/root/lib/libGraf.so, output: $/home/bala/Root_CERN/root/lib/libGraf.so
Error in <TSystem::ExpandFileName>: input: $/home/bala/Root_CERN/root/lib/libGX11.so, output: $/home/bala/Root_CERN/root/lib/libGX11.so
Error in <TSystem::ExpandFileName>: input: $/home/bala/Root_CERN/root/lib/libGX11TTF.so, output: $/home/bala/Root_CERN/root/lib/libGX11TTF.so
[OK]
Checking optional packages:
     - gfortran [OK]
     - zlib library [DISABLED]
 ** WARNING: Library called 'libz' not found. Gzip format will be disabled.
 ** WARNING: To enable this format, please type 'install zlib' package.
     - delphes library [DISABLED]
 ** WARNING: Library called 'delphes' not found. Delphes ROOT format will be disabled.
 ** WARNING: To enable this format, please type 'install delphes'.
     - FastJet [DISABLED]
 ** WARNING: The fastJet package not found. JetClustering algorithms are disabled.
 ** WARNING: To enable this functionnality, please type 'install fastjet'.
     - pdflatex [OK]
     - latex [OK]
     - dvipdf [OK]
     - MCatNLO-utilities [DISABLED]
 ** WARNING: MCatNLO-utilities not found. Showering aMCatNLO events deactivated.
 ** WARNING: To install the utilities, please type 'install MCatNLO-utilities'.
Checking the MadAnalysis library:
  => MadAnalysis library found.
*************************************************************
MadGraph 5 NOT found:
  => Particle labels from input/particles_name_default.txt
  => 86 particles successfully exported.
  => Multiparticle labels from madanalysis/input/multiparticles_default.txt
  => Creation of the label 'invisible' (-> missing energy).
  => Creation of the label 'hadronic' (-> jet energy).
  => 8 multiparticles successfully exported.

Question information

Language:
English Edit question
Status:
Solved
For:
MadAnalysis 5 Edit question
Assignee:
Benjamin Fuks Edit question
Solved by:
Benjamin Fuks
Solved:
Last query:
Last reply:
Revision history for this message
bala (kmbala86) said :
#1

Also, when I try to install zlib, delphes, fastjet,etc., I get the following in the bash terminal:

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package fastjet

Could any one please help me...? Thanks

Revision history for this message
Benjamin Fuks (fuks) said :
#2

Hi,

Could you please check your root installation (with the pyroot libraries)? I guess that the source of the problem is there.

Cheers,

Benjamin

Revision history for this message
bala (kmbala86) said :
#3

Hi Sir,

I have done the following as suggested at the end of the link, http://root.cern.ch/phpBB3/viewtopic.php?f=14&t=12162&start=15
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
#install python
cd /work/users/qing/software
mkdir python2.4
wget http://www.python.org/ftp/python/2.4.6/Python-2.4.6.tgz
tar -xvzf Python-2.4.6.tgz
cd Python-2.4.6
./configure --enable-shared --prefix="/work/users/qing/software/python2.4"
gmake
gmake install

# install pyroot
cd /work/users/qing/software
mkdir root5.28
wget ftp://root.cern.ch/root/root_v5.28.00b.source.tar.gz
tar -xvzf root_v5.28.00b.source.tar.gz
cd root
./configure --with-python-incdir=/work/users/qing/software/python2.4/include/python2.4 --with-python-libdir=/work/users/qing/software/python2.4/lib --prefix="/work/users/qing/software/root/root5.28" --etcdir="/work/users/qing/software/root/root5.28/etc"
gmake
gmake install

# Environment setup before using ROOT:
export ROOTSYS=/work/users/qing/software/root
export PATH=/work/users/qing/software/python2.4/bin:$ROOTSYS/bin:$PATH
export LD_LIBRARY_PATH=$ROOTSYS/lib:/work/users/qing/software/python2.4/lib:$LD_LIBRARY_PATH
export PYTHONPATH=$PYTHONPATH:$ROOTSYS/lib
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
and now "root" works fine. But when I run bin/ma5 in madanalysis5, I am getting this:
** ERROR: The python library 'numpy' is not found. Please install it with the following command line:
 ** ERROR: apt-get install python-numpy

After running, sudo apt-get install python-numpy, it says the new version is already installed... I don't know how to proceed...!

Revision history for this message
Benjamin Fuks (fuks) said :
#4

Hi ,

Could you start a python session and type "import numpy". If you get an error message, that means that numpy is not properly installed (please check in this case your environment variables). Otherwise, please come back to me.

Cheers,

Benjamin

Revision history for this message
bala (kmbala86) said :
#5

Hi Sir,

Upon doing that, it shows the following error,

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named numpy

Revision history for this message
Benjamin Fuks (fuks) said :
#6

Hi,

That means numpy is not correctly installed on your system. Please update your environment variables.

Cheers,

Benjamin

Revision history for this message
bala (kmbala86) said :
#7

Hi Benjamin,

I have updated my environment variables and now everything works fine, except the MCatNLO utilities. I am getting the following when I type 'install MCatNLO-utilities' in ma5,

ma5>install MCatNLO-utilities
 ** ERROR: the syntax is not correct.
   Syntax: install <component>
   Download and install a MadAnalysis component from the official site.
   List of available components : samples zlib fastjet MCatNLO-for-ma5 delphes
ma5>install MCatNLO-for-ma5
 ** WARNING: clear comments in install.py
 * The installation folder 'tools' is already created
 * Removing the current folder 'tools/MCatNLO-utilities' ...
 * Creation of the directory 'tools/MCatNLO-utilities'
Traceback (most recent call last):
  File "bin/ma5", line 286, in <module>
    interpreter.cmdloop()
  File "/usr/lib/python2.7/cmd.py", line 142, in cmdloop
    stop = self.onecmd(line)
  File "/usr/lib/python2.7/cmd.py", line 221, in onecmd
    return func(arg)
  File "/home/bala/MadGraph5/MadGraph5_v1_5_13/madanalysis5/madanalysis/interprete
    self.cmd_install.do(self.split_arg(line))
  File "/home/bala/MadGraph5/MadGraph5_v1_5_13/madanalysis5/madanalysis/interprete
    return self.install_mcatnlo()
  File "/home/bala/MadGraph5/MadGraph5_v1_5_13/madanalysis5/madanalysis/interprete
    shutil.copy(self.main.ma5dir+'/../mcatnlo.tar.gz', self.main.ma5dir + '/tools/
  File "/usr/lib/python2.7/shutil.py", line 117, in copy
    copyfile(src, dst)
  File "/usr/lib/python2.7/shutil.py", line 82, in copyfile
    with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: '/home/bala/MadGraph5/MadGraph5_v1_5

Please help me out..
Thanks,
Bala

Revision history for this message
Best Benjamin Fuks (fuks) said :
#8

Hi Bala,

This is fine. Please see bug #1255349

Cheers,

Benjamin

Revision history for this message
bala (kmbala86) said :
#9

Hi Benjamin,

Thank you.

Cheers,
Bala

Revision history for this message
bala (kmbala86) said :
#10

Thanks Benjamin Fuks, that solved my question.