starpu-runtime / starpu

This is a mirror of https://gitlab.inria.fr/starpu/starpu where our development happens, but contributions are welcome here too!
https://starpu.gitlabpages.inria.fr/
GNU Lesser General Public License v2.1
63 stars 12 forks source link

TCMalloc not found #48

Open devreal opened 6 months ago

devreal commented 6 months ago

Steps to reproduce

Trying to build StarPU 1.4.6 on Frontier fails because TCMalloc is missing:

/opt/cray/pe/cce/16.0.1/binutils/x86_64/x86_64-pc-linux-gnu/bin/ld: cannot find -ltcmalloc_minimal: No such file or directory

Configuration

config.log

Note that there seem to be tests for tcmalloc but they all fail, as far as I can see.

Distribution

StarPU 1.4.6 release tarball.

sthibaul commented 6 months ago

The configuration went fine, what actual build failure log do you get?

Concerning tcmalloc, it seems it's mpifort itself which has troubles: configure merely ran

/opt/cray/pe/mpich/8.1.23/ofi/crayclang/10.0/bin/mpifort -o conftest -gdwarf-2   conftest.f -lrt -lm  -lpthread

on an empty fortran program

program main
end

it's mpifort itself which for its own reasons introduced -ltcmalloc_minimal which apparently is bogus.