Dear Ernesto,
On 11/12/2019 18:24, Ernesto Eduardo Diaz Conde wrote:
Hello good, I'm almost a month trying to install Pytorch, I've tried
several variants even changing the toolchain but I always get error in
the testing process before installing.
File "test/run_test.py", line 400, in main
raise RuntimeError(message)
RuntimeError: test_torch failed! Received signal: SIGILL
(at
easybuild/software/EasyBuild/4.0.1/lib/python2.7/site-packages/easybuild/tools/run.py:529
in parse_cmd_output)
== 2019-12-11 11:34:06,221 easyblock.py:3082 WARNING build failed (first
300 chars): cmd " export
PYTHONPATH=/opt/apps/easybuild/build/PyTorch/1.2.0/foss-2019b-Python-3.7.2/pytorch-1.2.0/build/lib.linux-x86_64-3.7:$PYTHONPATH
&& export
LD_LIBRARY_PATH=/opt/apps/easybuild/build/PyTorch/1.2.0/foss-2019b-Python-3.7.2/pytorch-1.2.0/torch/lib64:$LD_LIBRARY_PATH
&& python test/run_test.p
== 2019-12-11 11:34:06,226 easyblock.py:294 INFO Closing log for
application name PyTorch version 1.2.0
It's hard to tell based on the provided information, but it seems like
the cause may be that the PyTorch test is failing because of resource
limits, for example because of insufficient available memory?
It's possible this problem is fixed in a more recent version of PyTorch,
see https://github.com/pytorch/pytorch/issues/15311 for example.
So, I'd recommend trying PyTorch-1.3.1-foss-2019b-Python-3.7.4.eb instead?
regards,
Kenneth