HEPTools Installation issue

Asked by Humberto Gilmer

I recently was forced to reformat my hard drive and reinstall macOS and as such have had to go through and reinstall all my software. As part of that I am attempting to get my MG5 setup back to where it was, but am having several points of failure in getting various extensions installed, including Pythia8, Delphes, and MadAnalysis5. I'm running things in a conda environment using python 2.7 to ensure that I'm neither messing with system python and that all of root's proper dependencies are installed.

When I attempt to install pythia8 using the MG5 command, I get this error:

install pythia8
   You are installing 'pythia8', please cite ref(s): arXiv:1410.3012.
Downloading the HEPToolInstaller at:
   http://madgraph.phys.ucl.ac.be/Downloads/HEPToolsInstaller/HEPToolsInstaller_V132.tar.gz
Pythia8 will be linked to LHAPDF v6.
Now installing Pythia8. Be patient...
Detected 'pythia8' missing dependency: 'boost'. Will install it now.
Fetching data with command:
  curl -OL http://sourceforge.net/projects/boost/files/boost/1.59.0/boost_1_59_0.tar.gz
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
100 178 100 178 0 0 890 0 --:--:-- --:--:-- --:--:-- 885
100 368 100 368 0 0 693 0 --:--:-- --:--:-- --:--:-- 693
100 355 100 355 0 0 544 0 --:--:-- --:--:-- --:--:-- 544
100 433 100 433 0 0 573 0 --:--:-- --:--:-- --:--:-- 573
100 347 100 347 0 0 313 0 0:00:01 0:00:01 --:--:-- 17350
100 79.8M 100 79.8M 0 0 5308k 0 0:00:15 0:00:15 --:--:-- 6896k
Installing tool 'boost'...
    > Follow the installation progress by running the command below in a separate terminal)
    > tail -f /Users/humberto/Desktop/School/Research/Software/MadGraph/HEPTools/boost/boost_install.log
    > A problem occured during the installation of dependency 'boost'.
    > Content of the installation log file '/Users/humberto/Desktop/School/Research/Software/MadGraph/HEPTools/boost/boost_install.log':

Download boost
x boost_1_59_0/
x boost_1_59_0/boost/
x boost_1_59_0/boost/accumulators/
x boost_1_59_0/boost/accumulators/accumulators.hpp

...

x boost_1_59_0/tools/quickbook/test/xml_escape-1_5.gold
x boost_1_59_0/tools/quickbook/test/xml_escape-1_5.quickbook
Enter boost directory and install boost
Building Boost.Build engine with toolset darwin...
Failed to build Boost.Build build engine
Consult 'bootstrap.log' for more details
/Users/humberto/Desktop/School/Research/Software/MadGraph/HEPTools/HEPToolsInstallers/installBOOST.sh: line 16: ./b2: No such file or directory
Finished installing boost

    > Now aborting installation of tool 'pythia8'.
Command "install pythia8" interrupted with error:
InvalidCmd : Installation of pythia8 failed.

When I attempt to install Delphes, I get:

install Delphes
   You are installing 'Delphes', please cite ref(s): arXiv:1307.6346.
Downloading http://cp3.irmp.ucl.ac.be/downloads/Delphes-3-current.tar.gz
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
100 5213k 100 5213k 0 0 1328k 0 0:00:03 0:00:03 --:--:-- 1328k
compile Delphes. This might take a while.
>> Compiling external/PUPPI/PuppiContainer.cc
In file included from external/PUPPI/PuppiContainer.cc:1:
In file included from external/PUPPI/PuppiContainer.hh:1:
In file included from external/PUPPI/PuppiAlgo.hh:1:
In file included from external/fastjet/PseudoJet.hh:35:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/valarray:342:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/cstddef:37:
./version:1:1: error: expected unqualified-id
3.4.2
^
In file included from external/PUPPI/PuppiContainer.cc:1:
In file included from external/PUPPI/PuppiContainer.hh:1:
In file included from external/PUPPI/PuppiAlgo.hh:1:
In file included from external/fastjet/PseudoJet.hh:35:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/valarray:342:
/Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/cstddef:49:9: error: no member named 'ptrdiff_t'
      in the global namespace
using ::ptrdiff_t;
      ~~^
In file included from external/PUPPI/PuppiContainer.cc:1:
In file included from external/PUPPI/PuppiContainer.hh:1:
In file included from external/PUPPI/PuppiAlgo.hh:1:
In file included from external/fastjet/PseudoJet.hh:35:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/valarray:342:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/cstddef:110:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/type_traits:418:
./version:1:1: error: expected unqualified-id
3.4.2
^
In file included from external/PUPPI/PuppiContainer.cc:1:
In file included from external/PUPPI/PuppiContainer.hh:1:
In file included from external/PUPPI/PuppiAlgo.hh:1:
In file included from external/fastjet/PseudoJet.hh:35:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/valarray:343:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/cmath:304:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/math.h:312:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/limits:121:
./version:1:1: error: expected unqualified-id
3.4.2
^
In file included from external/PUPPI/PuppiContainer.cc:1:
In file included from external/PUPPI/PuppiContainer.hh:1:
In file included from external/PUPPI/PuppiAlgo.hh:1:
In file included from external/fastjet/PseudoJet.hh:35:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/valarray:343:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/cmath:305:
./version:1:1: error: expected unqualified-id
3.4.2
^
In file included from external/PUPPI/PuppiContainer.cc:1:
In file included from external/PUPPI/PuppiContainer.hh:1:
In file included from external/PUPPI/PuppiAlgo.hh:1:
In file included from external/fastjet/PseudoJet.hh:35:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/valarray:345:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/algorithm:642:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/utility:205:
./version:1:1: error: expected unqualified-id
3.4.2
^
In file included from external/PUPPI/PuppiContainer.cc:1:
In file included from external/PUPPI/PuppiContainer.hh:1:
In file included from external/PUPPI/PuppiAlgo.hh:1:
In file included from external/fastjet/PseudoJet.hh:35:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/valarray:345:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/algorithm:642:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/utility:206:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/__debug:14:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/iosfwd:95:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/wchar.h:118:
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/wchar.h:107:48: error: unknown type name
      'mbstate_t'; did you mean '__mbstate_t'?
size_t mbrlen(const char * __restrict, size_t, mbstate_t * __restrict);
                                                ^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/i386/_types.h:79:3: note: '__mbstate_t'
      declared here
} __mbstate_t;
  ^
In file included from external/PUPPI/PuppiContainer.cc:1:
In file included from external/PUPPI/PuppiContainer.hh:1:
In file included from external/PUPPI/PuppiAlgo.hh:1:
In file included from external/fastjet/PseudoJet.hh:35:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/valarray:345:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/algorithm:642:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/utility:206:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/__debug:14:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/iosfwd:95:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/wchar.h:118:
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/wchar.h:109:6: error: unknown type name
      'mbstate_t'; did you mean '__mbstate_t'?
            mbstate_t * __restrict);
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/i386/_types.h:79:3: note: '__mbstate_t'
      declared here
} __mbstate_t;
  ^
In file included from external/PUPPI/PuppiContainer.cc:1:
In file included from external/PUPPI/PuppiContainer.hh:1:
In file included from external/PUPPI/PuppiAlgo.hh:1:
In file included from external/fastjet/PseudoJet.hh:35:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/valarray:345:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/algorithm:642:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/utility:206:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/__debug:14:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/iosfwd:95:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/wchar.h:118:
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/wchar.h:110:19: error: unknown type name
      'mbstate_t'; did you mean '__mbstate_t'?
int mbsinit(const mbstate_t *);
                      ^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/i386/_types.h:79:3: note: '__mbstate_t'
      declared here
} __mbstate_t;
  ^
In file included from external/PUPPI/PuppiContainer.cc:1:
In file included from external/PUPPI/PuppiContainer.hh:1:
In file included from external/PUPPI/PuppiAlgo.hh:1:
In file included from external/fastjet/PseudoJet.hh:35:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/valarray:345:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/algorithm:642:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/utility:206:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/__debug:14:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/iosfwd:95:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/wchar.h:118:
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/wchar.h:112:6: error: unknown type name
      'mbstate_t'; did you mean '__mbstate_t'?
            mbstate_t * __restrict);
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/i386/_types.h:79:3: note: '__mbstate_t'
      declared here
} __mbstate_t;
  ^
In file included from external/PUPPI/PuppiContainer.cc:1:
In file included from external/PUPPI/PuppiContainer.hh:1:
In file included from external/PUPPI/PuppiAlgo.hh:1:
In file included from external/fastjet/PseudoJet.hh:35:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/valarray:345:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/algorithm:642:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/utility:206:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/__debug:14:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/iosfwd:95:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/wchar.h:118:
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/wchar.h:123:44: error: unknown type name
      'mbstate_t'; did you mean '__mbstate_t'?
size_t wcrtomb(char * __restrict, wchar_t, mbstate_t * __restrict);
                                            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/i386/_types.h:79:3: note: '__mbstate_t'
      declared here
} __mbstate_t;
  ^
In file included from external/PUPPI/PuppiContainer.cc:1:
In file included from external/PUPPI/PuppiContainer.hh:1:
In file included from external/PUPPI/PuppiAlgo.hh:1:
In file included from external/fastjet/PseudoJet.hh:35:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/valarray:345:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/algorithm:642:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/utility:206:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/__debug:14:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/iosfwd:95:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/wchar.h:118:
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/wchar.h:139:6: error: unknown type name
      'mbstate_t'; did you mean '__mbstate_t'?
            mbstate_t * __restrict);
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/i386/_types.h:79:3: note: '__mbstate_t'
      declared here
} __mbstate_t;
  ^
In file included from external/PUPPI/PuppiContainer.cc:1:
In file included from external/PUPPI/PuppiContainer.hh:1:
In file included from external/PUPPI/PuppiAlgo.hh:1:
In file included from external/fastjet/PseudoJet.hh:35:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/valarray:345:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/algorithm:642:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/utility:206:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/__debug:14:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/iosfwd:95:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/wchar.h:118:
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/wchar.h:196:21: error: unknown type name
      'mbstate_t'; did you mean '__mbstate_t'?
            size_t, mbstate_t * __restrict);
                    ^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/i386/_types.h:79:3: note: '__mbstate_t'
      declared here
} __mbstate_t;
  ^
In file included from external/PUPPI/PuppiContainer.cc:1:
In file included from external/PUPPI/PuppiContainer.hh:1:
In file included from external/PUPPI/PuppiAlgo.hh:1:
In file included from external/fastjet/PseudoJet.hh:35:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/valarray:345:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/algorithm:642:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/utility:206:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/__debug:14:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/iosfwd:95:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/wchar.h:118:
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/wchar.h:204:21: error: unknown type name
      'mbstate_t'; did you mean '__mbstate_t'?
            size_t, mbstate_t * __restrict);
                    ^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/i386/_types.h:79:3: note: '__mbstate_t'
      declared here
} __mbstate_t;
  ^
In file included from external/PUPPI/PuppiContainer.cc:1:
In file included from external/PUPPI/PuppiContainer.hh:1:
In file included from external/PUPPI/PuppiAlgo.hh:1:
In file included from external/fastjet/PseudoJet.hh:35:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/valarray:345:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/algorithm:642:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/utility:206:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/__debug:14:
/Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/iosfwd:189:14: error: unknown type name
      'mbstate_t'; did you mean '__mbstate_t'?
typedef fpos<mbstate_t> streampos;
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/i386/_types.h:79:3: note: '__mbstate_t'
      declared here
} __mbstate_t;
  ^
In file included from external/PUPPI/PuppiContainer.cc:1:
In file included from external/PUPPI/PuppiContainer.hh:1:
In file included from external/PUPPI/PuppiAlgo.hh:1:
In file included from external/fastjet/PseudoJet.hh:35:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/valarray:345:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/algorithm:642:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/utility:206:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/__debug:14:
/Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/iosfwd:190:14: error: unknown type name
      'mbstate_t'; did you mean '__mbstate_t'?
typedef fpos<mbstate_t> wstreampos;
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/i386/_types.h:79:3: note: '__mbstate_t'
      declared here
} __mbstate_t;
  ^
In file included from external/PUPPI/PuppiContainer.cc:1:
In file included from external/PUPPI/PuppiContainer.hh:1:
In file included from external/PUPPI/PuppiAlgo.hh:1:
In file included from external/fastjet/PseudoJet.hh:35:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/valarray:345:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/algorithm:642:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/utility:206:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/__debug:14:
/Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/iosfwd:195:14: error: unknown type name
      'mbstate_t'; did you mean '__mbstate_t'?
typedef fpos<mbstate_t> u16streampos;
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/i386/_types.h:79:3: note: '__mbstate_t'
      declared here
} __mbstate_t;
  ^
In file included from external/PUPPI/PuppiContainer.cc:1:
In file included from external/PUPPI/PuppiContainer.hh:1:
In file included from external/PUPPI/PuppiAlgo.hh:1:
In file included from external/fastjet/PseudoJet.hh:35:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/valarray:345:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/algorithm:642:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/utility:206:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/__debug:14:
/Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/iosfwd:196:14: error: unknown type name
      'mbstate_t'; did you mean '__mbstate_t'?
typedef fpos<mbstate_t> u32streampos;
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/i386/_types.h:79:3: note: '__mbstate_t'
      declared here
} __mbstate_t;
  ^
In file included from external/PUPPI/PuppiContainer.cc:1:
In file included from external/PUPPI/PuppiContainer.hh:1:
In file included from external/PUPPI/PuppiAlgo.hh:1:
In file included from external/fastjet/PseudoJet.hh:35:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/valarray:345:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/algorithm:643:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/memory:653:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/typeinfo:60:
In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/exception:83:
./version:1:1: error: expected unqualified-id
3.4.2
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [tmp/external/PUPPI/PuppiContainer.o] Error 1
Error detected during the compilation. Please check the compilation error and run make manually.
save configuration file to /Users/humberto/Desktop/School/Research/Software/MadGraph/input/mg5_configuration.txt

And when I attempt to install MadAnalysis5, I get

install MadAnalysis5
   You are installing 'MadAnalysis5', please cite ref(s): arXiv:1206.1599.
Downloading the HEPToolInstaller at:
   http://madgraph.phys.ucl.ac.be/Downloads/HEPToolsInstaller/HEPToolsInstaller_V132.tar.gz
Now installing madanalysis5. Be patient...
Fetching data with command:
  curl -OL http://madanalysis.irmp.ucl.ac.be/raw-attachment/wiki/MA5SandBox/ma5_latest.tgz
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
100 772k 100 772k 0 0 274k 0 0:00:02 0:00:02 --:--:-- 274k
Installing tool 'madanalysis5'...
    > Follow the installation progress by running the command below in a separate terminal)
    > tail -f /Users/humberto/Desktop/School/Research/Software/MadGraph/HEPTools/madanalysis5/madanalysis5_install.log
Traceback (most recent call last):
  File "/Users/humberto/Desktop/School/Research/Software/MadGraph/HEPTools/HEPToolsInstallers/HEPToolInstaller.py", line 1393, in <module>
    install_with_dependencies(target_tool,is_main_target=True)
  File "/Users/humberto/Desktop/School/Research/Software/MadGraph/HEPTools/HEPToolsInstallers/HEPToolInstaller.py", line 1367, in install_with_dependencies
    exec('install_%s(tmp_path)' % target)
  File "<string>", line 1, in <module>
  File "/Users/humberto/Desktop/School/Research/Software/MadGraph/HEPTools/HEPToolsInstallers/HEPToolInstaller.py", line 850, in install_madanalysis5
    raise Exception('MadAnalysis5 still request Python2')
Exception: MadAnalysis5 still request Python2
Default installation of Madanalys5 failed.
MG5aMC will now attempt to reinstall it with the options '--no_MA5_further_install --no_root_in_MA5'.
This will however limit MA5 applicability for hadron-level analysis.
If you would like to prevent MG5aMC to re-attempt MA5 installation, start MG5aMC with './bin/mg5_aMC --debug'.

and the above error repeats until I keyboard interrupt. I have no idea what could be the matter; I have successfully installed these tools on this same machine.

Question information

Language:
English Edit question
Status:
Answered
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#1

Hi,

Looks like you have issue with your C++ compiler.
This would explains your issue with boost and Delphes.

Concerning MadAnalysis5, if you want to install it, you have to force to use python2 when using MG5aMC since that code is not python3 compatible (and we run by default with python3 now).

Cheers,

Olivier

> On 16 Sep 2020, at 06:55, Humberto Gilmer <email address hidden> wrote:
>
> New question #692940 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/692940
>
> I recently was forced to reformat my hard drive and reinstall macOS and as such have had to go through and reinstall all my software. As part of that I am attempting to get my MG5 setup back to where it was, but am having several points of failure in getting various extensions installed, including Pythia8, Delphes, and MadAnalysis5. I'm running things in a conda environment using python 2.7 to ensure that I'm neither messing with system python and that all of root's proper dependencies are installed.
>
>
> When I attempt to install pythia8 using the MG5 command, I get this error:
>
> install pythia8
> You are installing 'pythia8', please cite ref(s): arXiv:1410.3012.
> Downloading the HEPToolInstaller at:
> http://madgraph.phys.ucl.ac.be/Downloads/HEPToolsInstaller/HEPToolsInstaller_V132.tar.gz
> Pythia8 will be linked to LHAPDF v6.
> Now installing Pythia8. Be patient...
> Detected 'pythia8' missing dependency: 'boost'. Will install it now.
> Fetching data with command:
> curl -OL http://sourceforge.net/projects/boost/files/boost/1.59.0/boost_1_59_0.tar.gz
> % Total % Received % Xferd Average Speed Time Time Time Current
> Dload Upload Total Spent Left Speed
> 100 178 100 178 0 0 890 0 --:--:-- --:--:-- --:--:-- 885
> 100 368 100 368 0 0 693 0 --:--:-- --:--:-- --:--:-- 693
> 100 355 100 355 0 0 544 0 --:--:-- --:--:-- --:--:-- 544
> 100 433 100 433 0 0 573 0 --:--:-- --:--:-- --:--:-- 573
> 100 347 100 347 0 0 313 0 0:00:01 0:00:01 --:--:-- 17350
> 100 79.8M 100 79.8M 0 0 5308k 0 0:00:15 0:00:15 --:--:-- 6896k
> Installing tool 'boost'...
>> Follow the installation progress by running the command below in a separate terminal)
>> tail -f /Users/humberto/Desktop/School/Research/Software/MadGraph/HEPTools/boost/boost_install.log
>> A problem occured during the installation of dependency 'boost'.
>> Content of the installation log file '/Users/humberto/Desktop/School/Research/Software/MadGraph/HEPTools/boost/boost_install.log':
>
> Download boost
> x boost_1_59_0/
> x boost_1_59_0/boost/
> x boost_1_59_0/boost/accumulators/
> x boost_1_59_0/boost/accumulators/accumulators.hpp
>
> ...
>
> x boost_1_59_0/tools/quickbook/test/xml_escape-1_5.gold
> x boost_1_59_0/tools/quickbook/test/xml_escape-1_5.quickbook
> Enter boost directory and install boost
> Building Boost.Build engine with toolset darwin...
> Failed to build Boost.Build build engine
> Consult 'bootstrap.log' for more details
> /Users/humberto/Desktop/School/Research/Software/MadGraph/HEPTools/HEPToolsInstallers/installBOOST.sh: line 16: ./b2: No such file or directory
> Finished installing boost
>
>> Now aborting installation of tool 'pythia8'.
> Command "install pythia8" interrupted with error:
> InvalidCmd : Installation of pythia8 failed.
>
>
> When I attempt to install Delphes, I get:
>
> install Delphes
> You are installing 'Delphes', please cite ref(s): arXiv:1307.6346.
> Downloading http://cp3.irmp.ucl.ac.be/downloads/Delphes-3-current.tar.gz
> % Total % Received % Xferd Average Speed Time Time Time Current
> Dload Upload Total Spent Left Speed
> 100 5213k 100 5213k 0 0 1328k 0 0:00:03 0:00:03 --:--:-- 1328k
> compile Delphes. This might take a while.
>>> Compiling external/PUPPI/PuppiContainer.cc
> In file included from external/PUPPI/PuppiContainer.cc:1:
> In file included from external/PUPPI/PuppiContainer.hh:1:
> In file included from external/PUPPI/PuppiAlgo.hh:1:
> In file included from external/fastjet/PseudoJet.hh:35:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/valarray:342:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/cstddef:37:
> ./version:1:1: error: expected unqualified-id
> 3.4.2
> ^
> In file included from external/PUPPI/PuppiContainer.cc:1:
> In file included from external/PUPPI/PuppiContainer.hh:1:
> In file included from external/PUPPI/PuppiAlgo.hh:1:
> In file included from external/fastjet/PseudoJet.hh:35:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/valarray:342:
> /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/cstddef:49:9: error: no member named 'ptrdiff_t'
> in the global namespace
> using ::ptrdiff_t;
> ~~^
> In file included from external/PUPPI/PuppiContainer.cc:1:
> In file included from external/PUPPI/PuppiContainer.hh:1:
> In file included from external/PUPPI/PuppiAlgo.hh:1:
> In file included from external/fastjet/PseudoJet.hh:35:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/valarray:342:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/cstddef:110:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/type_traits:418:
> ./version:1:1: error: expected unqualified-id
> 3.4.2
> ^
> In file included from external/PUPPI/PuppiContainer.cc:1:
> In file included from external/PUPPI/PuppiContainer.hh:1:
> In file included from external/PUPPI/PuppiAlgo.hh:1:
> In file included from external/fastjet/PseudoJet.hh:35:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/valarray:343:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/cmath:304:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/math.h:312:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/limits:121:
> ./version:1:1: error: expected unqualified-id
> 3.4.2
> ^
> In file included from external/PUPPI/PuppiContainer.cc:1:
> In file included from external/PUPPI/PuppiContainer.hh:1:
> In file included from external/PUPPI/PuppiAlgo.hh:1:
> In file included from external/fastjet/PseudoJet.hh:35:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/valarray:343:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/cmath:305:
> ./version:1:1: error: expected unqualified-id
> 3.4.2
> ^
> In file included from external/PUPPI/PuppiContainer.cc:1:
> In file included from external/PUPPI/PuppiContainer.hh:1:
> In file included from external/PUPPI/PuppiAlgo.hh:1:
> In file included from external/fastjet/PseudoJet.hh:35:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/valarray:345:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/algorithm:642:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/utility:205:
> ./version:1:1: error: expected unqualified-id
> 3.4.2
> ^
> In file included from external/PUPPI/PuppiContainer.cc:1:
> In file included from external/PUPPI/PuppiContainer.hh:1:
> In file included from external/PUPPI/PuppiAlgo.hh:1:
> In file included from external/fastjet/PseudoJet.hh:35:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/valarray:345:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/algorithm:642:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/utility:206:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/__debug:14:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/iosfwd:95:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/wchar.h:118:
> /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/wchar.h:107:48: error: unknown type name
> 'mbstate_t'; did you mean '__mbstate_t'?
> size_t mbrlen(const char * __restrict, size_t, mbstate_t * __restrict);
> ^
> /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/i386/_types.h:79:3: note: '__mbstate_t'
> declared here
> } __mbstate_t;
> ^
> In file included from external/PUPPI/PuppiContainer.cc:1:
> In file included from external/PUPPI/PuppiContainer.hh:1:
> In file included from external/PUPPI/PuppiAlgo.hh:1:
> In file included from external/fastjet/PseudoJet.hh:35:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/valarray:345:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/algorithm:642:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/utility:206:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/__debug:14:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/iosfwd:95:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/wchar.h:118:
> /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/wchar.h:109:6: error: unknown type name
> 'mbstate_t'; did you mean '__mbstate_t'?
> mbstate_t * __restrict);
> ^
> /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/i386/_types.h:79:3: note: '__mbstate_t'
> declared here
> } __mbstate_t;
> ^
> In file included from external/PUPPI/PuppiContainer.cc:1:
> In file included from external/PUPPI/PuppiContainer.hh:1:
> In file included from external/PUPPI/PuppiAlgo.hh:1:
> In file included from external/fastjet/PseudoJet.hh:35:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/valarray:345:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/algorithm:642:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/utility:206:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/__debug:14:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/iosfwd:95:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/wchar.h:118:
> /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/wchar.h:110:19: error: unknown type name
> 'mbstate_t'; did you mean '__mbstate_t'?
> int mbsinit(const mbstate_t *);
> ^
> /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/i386/_types.h:79:3: note: '__mbstate_t'
> declared here
> } __mbstate_t;
> ^
> In file included from external/PUPPI/PuppiContainer.cc:1:
> In file included from external/PUPPI/PuppiContainer.hh:1:
> In file included from external/PUPPI/PuppiAlgo.hh:1:
> In file included from external/fastjet/PseudoJet.hh:35:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/valarray:345:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/algorithm:642:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/utility:206:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/__debug:14:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/iosfwd:95:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/wchar.h:118:
> /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/wchar.h:112:6: error: unknown type name
> 'mbstate_t'; did you mean '__mbstate_t'?
> mbstate_t * __restrict);
> ^
> /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/i386/_types.h:79:3: note: '__mbstate_t'
> declared here
> } __mbstate_t;
> ^
> In file included from external/PUPPI/PuppiContainer.cc:1:
> In file included from external/PUPPI/PuppiContainer.hh:1:
> In file included from external/PUPPI/PuppiAlgo.hh:1:
> In file included from external/fastjet/PseudoJet.hh:35:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/valarray:345:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/algorithm:642:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/utility:206:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/__debug:14:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/iosfwd:95:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/wchar.h:118:
> /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/wchar.h:123:44: error: unknown type name
> 'mbstate_t'; did you mean '__mbstate_t'?
> size_t wcrtomb(char * __restrict, wchar_t, mbstate_t * __restrict);
> ^
> /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/i386/_types.h:79:3: note: '__mbstate_t'
> declared here
> } __mbstate_t;
> ^
> In file included from external/PUPPI/PuppiContainer.cc:1:
> In file included from external/PUPPI/PuppiContainer.hh:1:
> In file included from external/PUPPI/PuppiAlgo.hh:1:
> In file included from external/fastjet/PseudoJet.hh:35:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/valarray:345:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/algorithm:642:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/utility:206:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/__debug:14:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/iosfwd:95:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/wchar.h:118:
> /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/wchar.h:139:6: error: unknown type name
> 'mbstate_t'; did you mean '__mbstate_t'?
> mbstate_t * __restrict);
> ^
> /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/i386/_types.h:79:3: note: '__mbstate_t'
> declared here
> } __mbstate_t;
> ^
> In file included from external/PUPPI/PuppiContainer.cc:1:
> In file included from external/PUPPI/PuppiContainer.hh:1:
> In file included from external/PUPPI/PuppiAlgo.hh:1:
> In file included from external/fastjet/PseudoJet.hh:35:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/valarray:345:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/algorithm:642:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/utility:206:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/__debug:14:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/iosfwd:95:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/wchar.h:118:
> /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/wchar.h:196:21: error: unknown type name
> 'mbstate_t'; did you mean '__mbstate_t'?
> size_t, mbstate_t * __restrict);
> ^
> /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/i386/_types.h:79:3: note: '__mbstate_t'
> declared here
> } __mbstate_t;
> ^
> In file included from external/PUPPI/PuppiContainer.cc:1:
> In file included from external/PUPPI/PuppiContainer.hh:1:
> In file included from external/PUPPI/PuppiAlgo.hh:1:
> In file included from external/fastjet/PseudoJet.hh:35:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/valarray:345:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/algorithm:642:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/utility:206:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/__debug:14:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/iosfwd:95:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/wchar.h:118:
> /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/wchar.h:204:21: error: unknown type name
> 'mbstate_t'; did you mean '__mbstate_t'?
> size_t, mbstate_t * __restrict);
> ^
> /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/i386/_types.h:79:3: note: '__mbstate_t'
> declared here
> } __mbstate_t;
> ^
> In file included from external/PUPPI/PuppiContainer.cc:1:
> In file included from external/PUPPI/PuppiContainer.hh:1:
> In file included from external/PUPPI/PuppiAlgo.hh:1:
> In file included from external/fastjet/PseudoJet.hh:35:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/valarray:345:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/algorithm:642:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/utility:206:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/__debug:14:
> /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/iosfwd:189:14: error: unknown type name
> 'mbstate_t'; did you mean '__mbstate_t'?
> typedef fpos<mbstate_t> streampos;
> ^
> /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/i386/_types.h:79:3: note: '__mbstate_t'
> declared here
> } __mbstate_t;
> ^
> In file included from external/PUPPI/PuppiContainer.cc:1:
> In file included from external/PUPPI/PuppiContainer.hh:1:
> In file included from external/PUPPI/PuppiAlgo.hh:1:
> In file included from external/fastjet/PseudoJet.hh:35:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/valarray:345:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/algorithm:642:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/utility:206:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/__debug:14:
> /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/iosfwd:190:14: error: unknown type name
> 'mbstate_t'; did you mean '__mbstate_t'?
> typedef fpos<mbstate_t> wstreampos;
> ^
> /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/i386/_types.h:79:3: note: '__mbstate_t'
> declared here
> } __mbstate_t;
> ^
> In file included from external/PUPPI/PuppiContainer.cc:1:
> In file included from external/PUPPI/PuppiContainer.hh:1:
> In file included from external/PUPPI/PuppiAlgo.hh:1:
> In file included from external/fastjet/PseudoJet.hh:35:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/valarray:345:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/algorithm:642:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/utility:206:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/__debug:14:
> /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/iosfwd:195:14: error: unknown type name
> 'mbstate_t'; did you mean '__mbstate_t'?
> typedef fpos<mbstate_t> u16streampos;
> ^
> /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/i386/_types.h:79:3: note: '__mbstate_t'
> declared here
> } __mbstate_t;
> ^
> In file included from external/PUPPI/PuppiContainer.cc:1:
> In file included from external/PUPPI/PuppiContainer.hh:1:
> In file included from external/PUPPI/PuppiAlgo.hh:1:
> In file included from external/fastjet/PseudoJet.hh:35:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/valarray:345:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/algorithm:642:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/utility:206:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/__debug:14:
> /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/iosfwd:196:14: error: unknown type name
> 'mbstate_t'; did you mean '__mbstate_t'?
> typedef fpos<mbstate_t> u32streampos;
> ^
> /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/i386/_types.h:79:3: note: '__mbstate_t'
> declared here
> } __mbstate_t;
> ^
> In file included from external/PUPPI/PuppiContainer.cc:1:
> In file included from external/PUPPI/PuppiContainer.hh:1:
> In file included from external/PUPPI/PuppiAlgo.hh:1:
> In file included from external/fastjet/PseudoJet.hh:35:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/valarray:345:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/algorithm:643:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/memory:653:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/typeinfo:60:
> In file included from /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/exception:83:
> ./version:1:1: error: expected unqualified-id
> 3.4.2
> ^
> fatal error: too many errors emitted, stopping now [-ferror-limit=]
> 20 errors generated.
> make: *** [tmp/external/PUPPI/PuppiContainer.o] Error 1
> Error detected during the compilation. Please check the compilation error and run make manually.
> save configuration file to /Users/humberto/Desktop/School/Research/Software/MadGraph/input/mg5_configuration.txt
>
>
> And when I attempt to install MadAnalysis5, I get
>
> install MadAnalysis5
> You are installing 'MadAnalysis5', please cite ref(s): arXiv:1206.1599.
> Downloading the HEPToolInstaller at:
> http://madgraph.phys.ucl.ac.be/Downloads/HEPToolsInstaller/HEPToolsInstaller_V132.tar.gz
> Now installing madanalysis5. Be patient...
> Fetching data with command:
> curl -OL http://madanalysis.irmp.ucl.ac.be/raw-attachment/wiki/MA5SandBox/ma5_latest.tgz
> % Total % Received % Xferd Average Speed Time Time Time Current
> Dload Upload Total Spent Left Speed
> 100 772k 100 772k 0 0 274k 0 0:00:02 0:00:02 --:--:-- 274k
> Installing tool 'madanalysis5'...
>> Follow the installation progress by running the command below in a separate terminal)
>> tail -f /Users/humberto/Desktop/School/Research/Software/MadGraph/HEPTools/madanalysis5/madanalysis5_install.log
> Traceback (most recent call last):
> File "/Users/humberto/Desktop/School/Research/Software/MadGraph/HEPTools/HEPToolsInstallers/HEPToolInstaller.py", line 1393, in <module>
> install_with_dependencies(target_tool,is_main_target=True)
> File "/Users/humberto/Desktop/School/Research/Software/MadGraph/HEPTools/HEPToolsInstallers/HEPToolInstaller.py", line 1367, in install_with_dependencies
> exec('install_%s(tmp_path)' % target)
> File "<string>", line 1, in <module>
> File "/Users/humberto/Desktop/School/Research/Software/MadGraph/HEPTools/HEPToolsInstallers/HEPToolInstaller.py", line 850, in install_madanalysis5
> raise Exception('MadAnalysis5 still request Python2')
> Exception: MadAnalysis5 still request Python2
> Default installation of Madanalys5 failed.
> MG5aMC will now attempt to reinstall it with the options '--no_MA5_further_install --no_root_in_MA5'.
> This will however limit MA5 applicability for hadron-level analysis.
> If you would like to prevent MG5aMC to re-attempt MA5 installation, start MG5aMC with './bin/mg5_aMC --debug'.
>
> and the above error repeats until I keyboard interrupt. I have no idea what could be the matter; I have successfully installed these tools on this same machine.
>
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
Humberto Gilmer (hbgilmer2) said :
#2

What could the issue be with g++? I'm using the standard compiler issued with the Apple developer tools; is it incompatible and I need to install a previous version? Here's my set up:

(root_env)humberto@x86_64-apple-darwin13 MadGraph % g++ --version
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/c++/4.2.1
Apple clang version 12.0.0 (clang-1200.0.31.1)
Target: x86_64-apple-darwin19.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

As for MA5, since I'm using a conda env with python 2.7, does that not suffice to force python2 to be used?

(root_env)humberto@x86_64-apple-darwin13 MadGraph % which python
/Users/humberto/opt/anaconda3/envs/root_env/bin/python
(root_env)humberto@x86_64-apple-darwin13 MadGraph % python --version
Python 2.7.15

Thanks for the quick response!

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#3

Hi,

> (root_env)humberto@x86_64-apple-darwin13 MadGraph % g++ --version
> Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/c++/4.2.1
> Apple clang version 12.0.0 (clang-1200.0.31.1)
> Target: x86_64-apple-darwin19.6.0
> Thread model: posix
> InstalledDir: /Library/Developer/CommandLineTools/usr/bin

When I look at the compilation it complains like this:
> /Users/humberto/opt/anaconda3/envs/root_env/bin/../include/c++/v1/exception:83:
So you do not seem to use the apple compiler.

> As for MA5, since I'm using a conda env with python 2.7, does that not
> suffice to force python2 to be used?

Since 2.8.0, madgraph does not call "python" anymore but "python3".
(The main reason is that on redhat8 and scientific linux cern "python" does not exists anymore)
So if you want to use python2.7, you have to specify the version of python that you want to use.
python ./bin/mg5_aMC

Cheers,

Olivier

> On 16 Sep 2020, at 17:05, Humberto Gilmer <email address hidden> wrote:
>
> Question #692940 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/692940
>
> Status: Answered => Open
>
> Humberto Gilmer is still having a problem:
> What could the issue be with g++? I'm using the standard compiler issued
> with the Apple developer tools; is it incompatible and I need to install
> a previous version? Here's my set up:
>
> (root_env)humberto@x86_64-apple-darwin13 MadGraph % g++ --version
> Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/c++/4.2.1
> Apple clang version 12.0.0 (clang-1200.0.31.1)
> Target: x86_64-apple-darwin19.6.0
> Thread model: posix
> InstalledDir: /Library/Developer/CommandLineTools/usr/bin
>
> As for MA5, since I'm using a conda env with python 2.7, does that not
> suffice to force python2 to be used?
>
> (root_env)humberto@x86_64-apple-darwin13 MadGraph % which python
> /Users/humberto/opt/anaconda3/envs/root_env/bin/python
> (root_env)humberto@x86_64-apple-darwin13 MadGraph % python --version
> Python 2.7.15
>
> Thanks for the quick response!
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
Humberto Gilmer (hbgilmer2) said :
#4

Alright, I got the MadAnalysis issue sorted; thanks!

But I'm still having difficulties with Delphes and Pythia8. I stopped using the conda environment so the calls to g++ should be calling on the system compilers seen here:

humberto@humbertos-mbp MG5_aMC_v2_8_0 % g++ --version
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/c++/4.2.1
Apple clang version 12.0.0 (clang-1200.0.31.1)
Target: x86_64-apple-darwin19.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

When attempting to install Delphes, it makes it farther than before, several functions have warnings and then errors, such as:>> Compiling validation/DelphesValidation.cpp
In file included from validation/DelphesValidation.cpp:49:
external/ExRootAnalysis/ExRootTreeWriter.h:32:8: warning:
      'ExRootTreeWriter::Clear' hides overloaded virtual function
      [-Woverloaded-virtual]
  void Clear();
       ^
/usr/local/Cellar/root/6.22.02/include/root/TNamed.h:42:21: note: hidden
      overloaded virtual function 'TNamed::Clear' declared here: different
      number of parameters (1 vs 0)
   virtual void Clear(Option_t *option ="");
                    ^
In file included from validation/DelphesValidation.cpp:49:
external/ExRootAnalysis/ExRootTreeWriter.h:34:8: warning:
      'ExRootTreeWriter::Write' hides overloaded virtual functions
      [-Woverloaded-virtual]
  void Write();
       ^
/usr/local/Cellar/root/6.22.02/include/root/TObject.h:148:24: note: hidden
      overloaded virtual function 'TObject::Write' declared here: different
      number of parameters (3 vs 0)
   virtual Int_t Write(const char *name=0, Int_t option=0, Int_t b...
                       ^
/usr/local/Cellar/root/6.22.02/include/root/TObject.h:149:24: note: hidden
      overloaded virtual function 'TObject::Write' declared here: different
      number of parameters (3 vs 0)
   virtual Int_t Write(const char *name=0, Int_t option=0, Int_t b...
                       ^
validation/DelphesValidation.cpp:193:3: warning: 'delete' applied to a pointer
      that was allocated with 'new[]'; did you mean 'delete[]'?
      [-Wmismatched-new-delete]
  delete new_bins;
  ^
        []
validation/DelphesValidation.cpp:186:22: note: allocated with 'new[]' here
  Axis_t *new_bins = new Axis_t[bins + 1];
                     ^
validation/DelphesValidation.cpp:1196:17: error: allocation of incomplete type
      'TF1'
  TF1 *f1 = new TF1("f1", "gaus", hist->GetMean() - 2 * hist->GetRMS(), ...
                ^~~
/usr/local/Cellar/root/6.22.02/include/root/TGraph.h:36:7: note: forward
      declaration of 'TF1'
class TF1;
      ^
validation/DelphesValidation.cpp:1199:37: error: member access into incomplete
      type 'TF1'
  TF1 *f2 = new TF1("f2", "gaus", f1->GetParameter(1) - 2 * f1->GetParam...
                                    ^
/usr/local/Cellar/root/6.22.02/include/root/TGraph.h:36:7: note: forward
      declaration of 'TF1'
class TF1;
      ^
validation/DelphesValidation.cpp:1199:84: error: member access into incomplete
      type 'TF1'
  ..."gaus", f1->GetParameter(1) - 2 * f1->GetParameter(2), f1->GetParameter(...
                                                              ^
/usr/local/Cellar/root/6.22.02/include/root/TGraph.h:36:7: note: forward
      declaration of 'TF1'
class TF1;
      ^
validation/DelphesValidation.cpp:1202:20: error: member access into incomplete
      type 'TF1'
  Double_t sig = f2->GetParameter(2);
                   ^
/usr/local/Cellar/root/6.22.02/include/root/TGraph.h:36:7: note: forward
      declaration of 'TF1'
class TF1;
      ^
validation/DelphesValidation.cpp:1203:23: error: member access into incomplete
      type 'TF1'
  Double_t sigErr = f2->GetParError(2);
                      ^
/usr/local/Cellar/root/6.22.02/include/root/TGraph.h:36:7: note: forward
      declaration of 'TF1'
class TF1;
      ^
validation/DelphesValidation.cpp:1205:3: warning: deleting pointer to incomplete
      type 'TF1' may cause undefined behavior [-Wdelete-incomplete]
  delete f1;
  ^ ~~
/usr/local/Cellar/root/6.22.02/include/root/TGraph.h:36:7: note: forward
      declaration of 'TF1'
class TF1;
      ^
validation/DelphesValidation.cpp:1206:3: warning: deleting pointer to incomplete
      type 'TF1' may cause undefined behavior [-Wdelete-incomplete]
  delete f2;
  ^ ~~
/usr/local/Cellar/root/6.22.02/include/root/TGraph.h:36:7: note: forward
      declaration of 'TF1'
class TF1;
      ^
validation/DelphesValidation.cpp:1497:17: warning: unused variable
      'branchParticleBJet' [-Wunused-variable]
  TClonesArray *branchParticleBJet = treeReaderBJet->UseBranch("Particle");
                ^
validation/DelphesValidation.cpp:1500:17: warning: unused variable
      'branchParticleCJet' [-Wunused-variable]
  TClonesArray *branchParticleCJet = treeReaderCJet->UseBranch("Particle");
                ^
7 warnings and 5 errors generated.
make: *** [tmp/validation/DelphesValidation.o] Error 1
Error detected during the compilation. Please check the compilation error and run make manually.

When attempting to install Pythia, it still fails when it gets to Boost, as before.

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#5

For Delphes, the best is then to contact Delphes author.
I'm not an expert in C++/Root error.

For boost, I can not comment, but you can also try to install system wide on your machine and then retry to install pythia8

Cheers,

Olivier

> On 17 Sep 2020, at 01:55, Humberto Gilmer <email address hidden> wrote:
>
> Question #692940 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/692940
>
> Status: Answered => Open
>
> Humberto Gilmer is still having a problem:
> Alright, I got the MadAnalysis issue sorted; thanks!
>
> But I'm still having difficulties with Delphes and Pythia8. I stopped
> using the conda environment so the calls to g++ should be calling on the
> system compilers seen here:
>
> humberto@humbertos-mbp MG5_aMC_v2_8_0 % g++ --version
> Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/c++/4.2.1
> Apple clang version 12.0.0 (clang-1200.0.31.1)
> Target: x86_64-apple-darwin19.6.0
> Thread model: posix
> InstalledDir: /Library/Developer/CommandLineTools/usr/bin
>
> When attempting to install Delphes, it makes it farther than before, several functions have warnings and then errors, such as:>> Compiling validation/DelphesValidation.cpp
> In file included from validation/DelphesValidation.cpp:49:
> external/ExRootAnalysis/ExRootTreeWriter.h:32:8: warning:
> 'ExRootTreeWriter::Clear' hides overloaded virtual function
> [-Woverloaded-virtual]
> void Clear();
> ^
> /usr/local/Cellar/root/6.22.02/include/root/TNamed.h:42:21: note: hidden
> overloaded virtual function 'TNamed::Clear' declared here: different
> number of parameters (1 vs 0)
> virtual void Clear(Option_t *option ="");
> ^
> In file included from validation/DelphesValidation.cpp:49:
> external/ExRootAnalysis/ExRootTreeWriter.h:34:8: warning:
> 'ExRootTreeWriter::Write' hides overloaded virtual functions
> [-Woverloaded-virtual]
> void Write();
> ^
> /usr/local/Cellar/root/6.22.02/include/root/TObject.h:148:24: note: hidden
> overloaded virtual function 'TObject::Write' declared here: different
> number of parameters (3 vs 0)
> virtual Int_t Write(const char *name=0, Int_t option=0, Int_t b...
> ^
> /usr/local/Cellar/root/6.22.02/include/root/TObject.h:149:24: note: hidden
> overloaded virtual function 'TObject::Write' declared here: different
> number of parameters (3 vs 0)
> virtual Int_t Write(const char *name=0, Int_t option=0, Int_t b...
> ^
> validation/DelphesValidation.cpp:193:3: warning: 'delete' applied to a pointer
> that was allocated with 'new[]'; did you mean 'delete[]'?
> [-Wmismatched-new-delete]
> delete new_bins;
> ^
> []
> validation/DelphesValidation.cpp:186:22: note: allocated with 'new[]' here
> Axis_t *new_bins = new Axis_t[bins + 1];
> ^
> validation/DelphesValidation.cpp:1196:17: error: allocation of incomplete type
> 'TF1'
> TF1 *f1 = new TF1("f1", "gaus", hist->GetMean() - 2 * hist->GetRMS(), ...
> ^~~
> /usr/local/Cellar/root/6.22.02/include/root/TGraph.h:36:7: note: forward
> declaration of 'TF1'
> class TF1;
> ^
> validation/DelphesValidation.cpp:1199:37: error: member access into incomplete
> type 'TF1'
> TF1 *f2 = new TF1("f2", "gaus", f1->GetParameter(1) - 2 * f1->GetParam...
> ^
> /usr/local/Cellar/root/6.22.02/include/root/TGraph.h:36:7: note: forward
> declaration of 'TF1'
> class TF1;
> ^
> validation/DelphesValidation.cpp:1199:84: error: member access into incomplete
> type 'TF1'
> ..."gaus", f1->GetParameter(1) - 2 * f1->GetParameter(2), f1->GetParameter(...
> ^
> /usr/local/Cellar/root/6.22.02/include/root/TGraph.h:36:7: note: forward
> declaration of 'TF1'
> class TF1;
> ^
> validation/DelphesValidation.cpp:1202:20: error: member access into incomplete
> type 'TF1'
> Double_t sig = f2->GetParameter(2);
> ^
> /usr/local/Cellar/root/6.22.02/include/root/TGraph.h:36:7: note: forward
> declaration of 'TF1'
> class TF1;
> ^
> validation/DelphesValidation.cpp:1203:23: error: member access into incomplete
> type 'TF1'
> Double_t sigErr = f2->GetParError(2);
> ^
> /usr/local/Cellar/root/6.22.02/include/root/TGraph.h:36:7: note: forward
> declaration of 'TF1'
> class TF1;
> ^
> validation/DelphesValidation.cpp:1205:3: warning: deleting pointer to incomplete
> type 'TF1' may cause undefined behavior [-Wdelete-incomplete]
> delete f1;
> ^ ~~
> /usr/local/Cellar/root/6.22.02/include/root/TGraph.h:36:7: note: forward
> declaration of 'TF1'
> class TF1;
> ^
> validation/DelphesValidation.cpp:1206:3: warning: deleting pointer to incomplete
> type 'TF1' may cause undefined behavior [-Wdelete-incomplete]
> delete f2;
> ^ ~~
> /usr/local/Cellar/root/6.22.02/include/root/TGraph.h:36:7: note: forward
> declaration of 'TF1'
> class TF1;
> ^
> validation/DelphesValidation.cpp:1497:17: warning: unused variable
> 'branchParticleBJet' [-Wunused-variable]
> TClonesArray *branchParticleBJet = treeReaderBJet->UseBranch("Particle");
> ^
> validation/DelphesValidation.cpp:1500:17: warning: unused variable
> 'branchParticleCJet' [-Wunused-variable]
> TClonesArray *branchParticleCJet = treeReaderCJet->UseBranch("Particle");
> ^
> 7 warnings and 5 errors generated.
> make: *** [tmp/validation/DelphesValidation.o] Error 1
> Error detected during the compilation. Please check the compilation error and run make manually.
>
>
> When attempting to install Pythia, it still fails when it gets to Boost, as before.
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
fas ase (ases333) said :
#6

Setting the width to 0 simplest for T-channel is however not an ideal ans wer and can nonetheless result in gauge issue (and therefore to unphysical developing of the amplitude). https://talib.pk/
A more accurate answer for that trouble is of route using the complicated-mass scheme which is likewise supported in MG5aMC.

Revision history for this message
lucy lloo (lucylloo) said (last edit ):
#7

This is a detailed elaboration that will surely help everyone regarding this matter. After this thing are much clear. https://he.com.pk/
And also thanks to contributors who further mentioned at things in detail also.

Can you help with this problem?

Provide an answer of your own, or ask Humberto Gilmer for more information if necessary.

To post a message you must log in.