Adam Para | 24 Jun 17:45 2016

building root on Mac El Capitan

I am trying to build root-6.06.04 on a Mac and it runs into the following problem about 1/3 of its installation process

 

In file included from input_line_4:1:

/Users/para/etc/cling/lib/clang/3.7.0/include/assert.h:8:15: fatal error:

      'assert.h' file not found

#include_next <assert.h>

              ^

Error: Error loading the default header files.

make[2]: *** [io/io/G__IO.cxx] Error 1

make[1]: *** [io/io/CMakeFiles/G__IO.dir/all] Error 2

make: *** [all] Error

 

What is the remedy?

Thanks

 

Adam

Pere Mato Vila | 22 Jun 18:48 2016
Picon
Picon

ROOT Patch Release v6.04/18

Hi,


We have released ROOT v6.04/18, which is patch release of the OLD v6.04 fixing a few issues. See https://root.cern.ch/content/release-60418
Cheers,

Pere for the ROOT team

Adam Para | 22 Jun 18:17 2016

root on a Mac

I am making a slow transition to Macworld. I have downloaded root_v6.06.04 and it works correctly from the command line. But I cannot drop it into the Launchpad and I cannot  make it start automatically by opening (clicking on)  the root file. Is it  sign of my ignorance of Mac environment? Or is there some missing piece of the installation procedure?

 

Thanks for any enlightenment..

 

Adam

Jonas Rademacker | 21 Jun 07:50 2016
Picon
Picon

Math/Interpolator

Dear Roottalk

I just installed root v 6.06.04 with the following commands:

./configure --prefix=/usr/local --enable-minuit2 --enable-mathmore --enable-soversion
make
sudo make install

When I try to compile my code I get the following
error:

/Users/rademack/MintSource/GenAgain/Mint2/src/Users/Nicole/DebugNicolesMint/../../../../Mint/Model_independent.h:15:10:
fatal error: 
      'Math/Interpolator.h' file not found
#include "Math/Interpolator.h"

All other root headers (TFile, THF1, etc) are found, but this one isn’t. Searching for Interpolator.h on
my system, I find it only in one place - the directory where I downloaded the root source. But I do not find it
in the install directory. What do I need to do to get all header files installed/copied into the install directory?

Best,

Jonas

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Jonas Rademacker, H H Wills Physics Lab, Tyndall Av, Bristol,
 BS8 1TL, UK.     Tel: +44-117-3317904   Fax: +44-117-9255624

Jonas Rademacker | 20 Jun 19:36 2016
Picon
Picon

can't compile root 6.06.04 on El Capitan

Dear Root Talk

I tried to compile root 6.06.04 on my mac and get, after executing

configure --prefix=/usr/local --enable-minuit2 --enable-mathmore --enable-soversion
make

the following error message:

——
make
clang++ -O2 -DNDEBUG -m64 -std=c++11 -stdlib=libc++ -pipe -Wshadow -W -Wall -Woverloaded-virtual
-fsigned-char -fno-common -Iinclude -DR__HAVE_CONFIG     -pthread  -Icore/base/src -DNDEBUG -MMD -MP
-ObjC++ -o core/macosx/src/CocoaUtils.o -c /Users/rademack/downloads/root-6.06.04/core/macosx/src/CocoaUtils.mm
In file included from /Users/rademack/downloads/root-6.06.04/core/macosx/src/CocoaUtils.mm:12:
In file included from include/CocoaUtils.h:18:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:10:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:5:
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:19:21: error: 
      expected a type
- (id)copyWithZone:(nullable NSZone *)zone;
                    ^
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:25:28: error: 
——

with many more like this to follow. 

The operating system is Mac OSX 10.11.5 (“El Capitan”)
I have XCode 7.3.1 and command line tools are installed.
I compile with clang v 3.5:
> clang++ -v
clang version 3.5.0 
Target: x86_64-apple-darwin15.5.0
Thread model: posix

Anybody got any idea what could be going on?

Thanks,

Jonas

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Jonas Rademacker, H H Wills Physics Lab, Tyndall Av, Bristol,
 BS8 1TL, UK.     Tel: +44-117-3317904   Fax: +44-117-9255624

Andrea Colantuono S221003 | 13 Jun 10:03 2016
Picon

histogram of distance

Hi everybody!
I have a problem with root. I have a root file .root which contains a 3D 
histogram of positions. I was able to plot 3 singles 1D histogram for 
the xoordinates x,y,z, but I want to integrate this 3 and plot a 1D 
histogram of distance from origin.

"{
   TFile *f = new TFile("betaS_ecat-Stop.root");

   f.ls();

   hx = (TH3F*)f.Get("histo;100");
   hy = (TH3F*)f.Get("histo;100");
   hz = (TH3F*)f.Get("histo;100");
   hx->Project3D("x");
   hy->Project3D("y");
   hy->Project3D("z")->Draw();

}"

how to continue?

best regards,
Andrea

Brett Viren | 11 Jun 15:19 2016

Re: ROOT packages in Debian need a maintainer

Hi Konstantin,

Konstantin Schubert <schubert.konstantin <at> gmail.com> writes:

> PS: Would it be easier to provide a debian package if just the core of
> ROOT was supported, without TMVA, RooFit and all the other optional
> flags?

Probably not.  The work to turn the full breadth of ROOT5 into the ~100
modular Debian packages is already done.  Reducing that scope would not
buy much reduction in effort and would discard a lot of benefit.

The main efforts needed as I see them are:

 One time:

 - ROOT5/ROOT6 migration and co-existence.

 Ongoing:

 - responding to the steady stream of bugs about the packaging through
   Debian BTS.

 - adapting the current packaging as new "upstream" development is
   released.

These should all be done (imo) using the current Debian build scripts
(and always in a way that preserves the RPM side of these scripts!).
So, there's not a lot of new development needed, but rather a lot of
learning of the current system and then applying incremental fixes.

-Brett.

Brett Viren | 9 Jun 00:04 2016

ROOT packages in Debian need a maintainer

Hi,

On the debian-science <at> lists.debian.org list there is recent
discussion[1] about the production of ROOT packages for Debian being
orphaned.  If there is anyone interested in becoming the maintainer of
these packages please join that list and let it be known.

-Brett.

[1]  https://lists.debian.org/debian-science/2016/05/msg00134.html
Christopher Burr | 5 Jun 21:55 2016
Picon
Picon

Re: how to install precompiled binary ROOT distribution in lxplus

Hi Niladri,

I think you need a newer version of gcc, you either need 4.8 or 4.9 depending upon which binary you downloaded.

In order to get 4.8 on lxplus you can run (changing sh/csh/zsh as appropriate):

source /afs/cern.ch/sw/lcg/contrib/gcc/4.8.4/x86_64-slc6-gcc48-opt/setup.sh

On 5 June 2016 at 08:28, Niladribihari Sahoo <niladribihari.sahoo <at> cern.ch> wrote:
Hi Experts,

I want to install precompiled binary ROOT distribution in lxplus to use the standalone ROOT. I downloaded  SL6 version from https://root.cern.ch/content/release-60414 
and did source bin/thisroot.sh. And when i'm opening a root file

[nsahoo <at> lxplus036 root]$ root wspace_prior_bin4.root 
root: /afs/cern.ch/sw/lcg/contrib/gcc/4.7.2/x86_64-slc6-gcc47-opt/lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by root)
[nsahoo <at> lxplus036 root]$ 

it gives me the above error. Could you tell me what I did wrong ?

cheers,
Niladri


Niladribihari Sahoo | 5 Jun 09:28 2016
Picon
Picon

how to install precompiled binary ROOT distribution in lxplus

Hi Experts,

I want to install precompiled binary ROOT distribution in lxplus to use the standalone ROOT. I downloaded  SL6 version from https://root.cern.ch/content/release-60414 
and did source bin/thisroot.sh. And when i'm opening a root file

[nsahoo <at> lxplus036 root]$ root wspace_prior_bin4.root 
root: /afs/cern.ch/sw/lcg/contrib/gcc/4.7.2/x86_64-slc6-gcc47-opt/lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by root)
[nsahoo <at> lxplus036 root]$ 

it gives me the above error. Could you tell me what I did wrong ?

cheers,
Niladri

Attachment (smime.p7s): application/pkcs7-signature, 4114 bytes
Steve Udriot | 26 May 13:37 2016
Picon
Picon

performance issue with initialisation of unuran distribution

Hello

Did anybody experience issue with the initialisation of unuran distribution? In a nutshell I am simulating a vector of double. The distribution for each element depends on the outcome of the previous one. So I need to initialise the unuran distribution for each. The performance drops significantly. Is there a way to avoid that?

Cheers

Stève


Gmane