amuse icon indicating copy to clipboard operation
amuse copied to clipboard

[SimpleHash] Python: Command Not Found

Open JPGlaser opened this issue 2 years ago • 1 comments

Describe the bug The make command for simplehash cannot see the python command when system python3 is used, despite alias being set.

To Reproduce Run cd /opt/amuse/ && ./configure --enable-cuda within the attached singularity container. torch.txt

Expected behavior simplehash should be able to see python.

Logs

[10:15:24] building simple_hash-library
error in call, tail output:

make[1]: Entering directory '/opt/amuse/lib/simple_hash'
gcc -g -O2 -fPIC -std=c99 -O2 -fPIC -c -o simple_hash.o simple_hash.c
g++ -O2 -o test_hash test.cpp simple_hash.o


python test.py ./test_hash 123456
make[1]: python: Command not found
make[1]: *** [Makefile:28: test] Error 127
make[1]: Leaving directory '/opt/amuse/lib/simple_hash'

Environment (please complete the following information):

  • OS and version: Rocky Linux 8.6
  • Compiler: gcc11, python3.9

JPGlaser avatar Jul 13 '22 14:07 JPGlaser

thanks, this has to be fixed..work around is to make sure a link or alias from python->python3 exists..

ipelupessy avatar Jul 14 '22 10:07 ipelupessy

fixed

ipelupessy avatar Aug 23 '22 13:08 ipelupessy