lib/libImt.so: undefined reference to `tbb::interface7::internal::isolate_within_arena(tbb::interface7::internal::delegate_base&, long)'

Dear all,
I am trying to compile with Make a routine I had done in the past with root version 6.16.00
Last time I compiled the routine was July and everything worked fine. Since then, I may have install something I have no memory of and now, when I digit Make, I get

mpic++ -std=c++11 -fpermissive -fopenmp -O3 -m32 Minimal.o root-config --cflags root-config --glibs -lm -o Minimal
/local/home/fbelloni/Software/Scientific/ROOT/root-6.16.00_build/lib/libImt.so: undefined reference to `tbb::interface7::internal::isolate_within_arena(tbb::interface7::internal::delegate_base&, long)’
collect2: error: ld returned 1 exit status
Makefile:50: recipe for target ‘Minimal’ failed
make: *** [Minimal] Error 1

I am running the routine on Ubuntu 18.04

mpicc --version
gcc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0
Copyright © 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

In attachment is a minimal version of the routine.Minimal.cc (3.8 KB) Makefile.txt (747 Bytes) csv.h (55.2 KB)

And the file IPM_30_372.txt is in the form (I report the first few lines)
-0.05,-0.05,0.322,-1361420.2381011224,1171054.1811987106,-2007407.941684842
-0.049,-0.05,0.322,-707144.5487325774,1811328.8416685127,-1958477.426685859
-0.048,-0.05,0.322,-297804.37960431026,1921025.8577347514,-1999554.763333845
-0.047,-0.05,0.322,-404215.6366824135,1822536.7734418735,-2695537.5305145234
-0.046,-0.05,0.322,91995.21017553145,1917782.959363666,-1755268.2515345986
-0.045000000000000005,-0.05,0.322,-2771.612311712788,1884013.0923075303,-1703603.4640998784
-0.044000000000000004,-0.05,0.322,-306569.17180030234,2280117.6486054547,-1483680.6227446268
-0.043000000000000003,-0.05,0.322,-34412.22774156742,2223417.550010582,-1353558.220349397
-0.042,-0.05,0.322,80365.74223969178,2274079.9599962053,-1556744.0702228914
-0.041,-0.05,0.322,114893.75259599563,1834211.76345985,-1729727.288088508

Could anyone help me, pls?

Thx,
cheers,
Franciuska

1 Like

Hello.

I have just found the problem. I should have added -ltbb in the Makefile.

Thx,
cheers,
Franciuska

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.