pytorch
pytorch copied to clipboard
install_magma failed when creating the Pytorch base image in CentOS7
🐛 Bug
To Reproduce
Steps to reproduce the behavior:
- Enter .circle/docker folder
- Run ./build.sh pytorch-devtoolset7-centos7.5.1804-rocm3.5.1-py3.6
- The build will failed when running the install_magma function of the install_rocm.sh
sparse_hip/src/magma_zqr_wrapper.cpp sparse_hip/src/magma_zcustomspmv.cpp sparse_hip/src/magma_zcustomprecond.cpp sparse_hip/src/magma_z_precond_wrapper.cpp sparse_hip/src/magma_z_solver_wrapper.cpp sparse_hip/src/zresidual.cpp sparse_hip/src/zresidualvec.cpp sparse_hip/src/zjacobidomainoverlap.cpp >> Makefile.gen
[2021-04-26T15:49:34.473Z] Traceback (most recent call last):
[2021-04-26T15:49:34.473Z] File "./tools/codegen.py", line 360, in
Expected behavior
Two reason cause it failed:
- There are some Non ASCII code in the source code of the magma
- Cannot set LC_ALL="en_US.UTF-8" LC_CTYPE="en_US.UTF-8"
After above two point fixed, install_magma passed.
https://bitbucket.org/icl/magma/pull-requests/10