ROOT TF1 missing


I received the following error when trying to run a program which depends on ROOT.

/opt/ebsofts/GCCcore/11.2.0/include/c++/11.2.0/bits/TF1.h: No such file or directory 

(loaded through “module load ROOT/6.24.06”).

Did you install ROOT without the TF1 library?


Hi @Johannes.Hulsman ,

It working for me;

(baobab)-[alberta@login2 ~]$ module load GCC/11.2.0  OpenMPI/4.1.1 ROOT/6.24.06
root [0] (baobab)-[alberta@login2 ~]$ salloc
salloc: Pending job allocation 5428726
salloc: job 5428726 queued and waiting for resources
salloc: job 5428726 has been allocated resources
salloc: Granted job allocation 5428726
salloc: Nodes cpu001 are ready for job
(baobab)-[alberta@cpu001 ~]$ which root
(baobab)-[alberta@cpu001 ~]$ root
  | Welcome to ROOT 6.24/06               |
  | (c) 1995-2021, The ROOT Team; conception: R. Brun, F. Rademakers |
  | Built for linuxx8664gcc on Sep 02 2021, 14:20:23                 |
  | From tags/v6-24-06@v6-24-06                                      |
  | With g++ (GCC) 11.2.0                                            |
  | Try '.help', '.demo', '.license', '.credits', '.quit'/'.q'       |

root [0]

Could you please give me more informations about this, how to reproduce ?

@Johannes.Hulsman file TF1.h is located here:


you are looking for it at the wrong place.