Page 1 of 1

Compilation error with "codegen.py: Command not found"

PostPosted: Tue Jul 19, 2016 5:35 pm
by davidmoises
Hello all,

I am new using MAGMA-MIC.

During the compilation I get the following error:

======================================== testing
( cd testing && make )
make[1]: Entering directory `/home/dfernand/workspace/MAGMA_MIC/testing'
../tools/codegen.py -p d --file testing_zutil.cpp
make[1]: ../tools/codegen.py: Command not found


Before running the make command at the root of the MAGMA directory I sourced the compiler and MKL scripts as followed:
> source [Path to intel instal-dir]/intel/composerxe_mic.0.022/bin/compilervars.sh intel64
> source [Path to intel instal-dir]/intel/composerxe_mic.0.022/mkl/bin/mklvars.sh intel64


I then copied the "make.inc.mkl" to "make.inc"

The compilation generates the library apparently in the lib directory but the testing drivers are not generated.
I would appreciate any help solving this problem.

Also the "codegen.py" file that generates the error is not found in the distribution tarball and neither is the "tools" directory mentioned in the error reported above.
The python version used is: 2.6.6
The intel compiler version is 16.0.3