> On 18 Jul 2019, at 12:13, Arnau <[email protected]> wrote: > > /apps/prod/easybuild/sl7.x86_64/software/binutils/2.28-GCCcore-6.4.0/bin/ld.gold: > error: > cannot find -l-lm > > /apps/prod/easybuild/sl7.x86_64/software/binutils/2.28-GCCcore-6.4.0/bin/ld.gold: > error: cannot find -l-lpthread
It looks like these two libraries are specified as [‘-lm’, ‘-lpthread’] (i.e. the full linker options) instead of [‘m’, ‘pthread’] (i.e. just the library names) and then the -l option is added twice (so the command line becomes ‘-l-lm -l-lpthread’ instead of ‘-lm -lpthread’). It is probably somewhere else in the Python .eb file that you are using - but I am just guessing here... Best regards Jakob -- Jakob Schiøtz, professor, Ph.D. Department of Physics Technical University of Denmark DK-2800 Kongens Lyngby, Denmark http://www.fysik.dtu.dk/~schiotz/

