I’m trying to build pytorch from source. From the instructions, it seems we have to use anaconda. But anaconda gives me this error:
anaconda2/compiler_compat/ld: cannot find -lcuda
anaconda2/compiler_compat/ld: cannot find -lc

If I use sudo python setup.py install , there’s no such problem, but when importing it gives me this error:
ImportError: libmkl_gf_lp64.so: cannot open shared object file: No such file or directory
I assume there’s some issues relating sudo, is there way to install MAGMA without building pytorch from source? Thanks.