I am using ROOT::Math::IntegratorMultiDim for multi-dimensional integration, it is the GSLMCIntegrator. There is memory leak and it crashes after few run. My integration is like this:
fun1
double fun1(const double *k, const double *para)
{
const double s = para[0];
double z = k[0];
double r = sqrt(s*s + z*z);
double it =1/(1.0 + exp(((r - 7.0)/0.5)));
return it;
}
I am having trouble to run root, 6.06.06. when I run try to write some program I get the following error.
Can any one help me to solve this problem. I looked over the posts but did not get the clear idea, about what is going on.
Thanks in advance.
IncrementalExecutor::executeFunction: symbol ‘_ZN5cling10printValueEPKi’ unresolved while linking [cling interface function]!
You are probably missing the definition of cling::printValue(int const*)
Maybe you need to load the corresponding shared library?
(int) Error in ValuePrinter: missing output string.
I am using root 6.06. I was using 5.34 before and now I did dual boot on my computer and I am trying to reinstall root and all other data analysis tool. But I am having this problem.
Thanks again.
I am using Ubuntu 16.04. and trying to install root 6.06 .06 on it. it shows my root build successfully but when I try to do some work even simple addition I got above error.
Thanks again.
Did you configure ROOT 6.06/06 using “proper” flags for Ubuntu 16.04 with gcc 5.x? cmake -DCMAKE_CXX_FLAGS="-D_GLIBCXX_USE_CXX11_ABI=0" -Dcxx14="ON" -Dall="ON" -Ddavix="OFF" -Dr="OFF" -Dpythia8="OFF" -Dgeocad="ON" -Dbuiltin_ftgl="OFF" -Dbuiltin_glew="OFF" -Dsoversion="ON" ...Another...Flags...You...May...Need... In particular, for the time being, -DCMAKE_CXX_FLAGS="-D_GLIBCXX_USE_CXX11_ABI=0" is mandatory for ROOT 6.06/06 with gcc 5.x.
Yes I did all the necessary installation, I follow youtube.com/watch?v=LfSFGkkBT-k this video and it happens exactly up to the build and it says successfully build, and when I type root it shows the root display and goes to root also. Then If I try to do even 2+2 that shows the error.
I saw similar problems on some other pages but not the exact solution for root 6.06.
Thanks again.
I will try the idea you gave me .
Thanks Pepe.
I spend too much time on installing this 6.06 version, but I am unable to do it. Would you mind to suggest me the best way or any links to get done this.
I need it ASAP.
Thank you again.
Last, but not least … you will NOT be able to install ROOT 6, if your gcc compiler comes from the RedHat “Software Collections” / “Developer Toolset” (e.g. on Scientific Linux / CentOS 5, 6 and 7 platforms).
BTW. Before you begin, make sure that nothing in your setup points to any existing ROOT installation. In particular, on Ubuntu execute “sudo apt-get purge root-system* root-plugin* libroot*” and then check that the “/usr/lib/i386-linux-gnu/root5.34” and the “/usr/lib/x86_64-linux-gnu/root5.34” subdirectories disappeared completely.
Thanks Pepe,
I did all the process up to cd…/ and then type the command the next one you wrote. When I type root after i run the command it says no such a file or directory. here I have attached the output I got .
…
– Installing: /home/hemanta/ROOT/v6-06-06/include/RooStats/ToyMCStudy.h
hemanta@hemanta:/tmp/root-build$ cd …/
hemanta@hemanta:/tmp$ rm -rf root-build root-6.06.06 root_v6.06.06.source.tar.gz*
hemanta@hemanta:/tmp$ root
bash: /usr/bin/root: No such file or directory
Homanta, I suggest to not reply to things comply not relevant to a post. Open a new issue in case you have something.
Coming back to the original post. "Memory leak in ROOT::Math::IntegrationMultiDim: posted by monoj.
The code does not run directly, some variable are undefined. I have tried to define putting some dummy values and it runs fine for me.
Please post in case you still have this problem, a full running macro.
Just try to compile your code. For example cross and fun are not defined.
I am happy to look at this problem, but please post a full running program or macro