Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

patch: **** Only garbage was found in the patch input. #5

Open
jinhoonbang opened this issue Feb 17, 2016 · 2 comments
Open

patch: **** Only garbage was found in the patch input. #5

jinhoonbang opened this issue Feb 17, 2016 · 2 comments

Comments

@jinhoonbang
Copy link

I'm trying to compile Numpy and Scipy on Xeon Phi. While running the Makefile, I got an error saying patch: **** Only garbage was found in the patch input.

From reading the log, the error occurs when patch is applied by the command : "cd /home/dkl524/jbang/mic/python && patch -p1 < ../xcompile.patch"

Does anyone know solution to this?

@jinhoonbang
Copy link
Author

Realized that the website (randomsplat), from which the patch is downloaded, wasn't working correctly. Trying to run make file using a different patch file now.

@jinhoonbang
Copy link
Author

I get following error when running the command: cd numpy && PYTHONXCPREFIX=$(MIC_PY_HOME) python numpyxc.py build"

icc -mmic -mkl -fPIC -fp-model strict -g -I/home/dkl524/jbang/mic/python/_install/include -L/home/dkl524/jbang/mic/python/_install/lib -L/home/dkl524/jbang/mic/python/_install/lib/python2.7 -L/home/dkl524/jbang/mic/python/_install/lib/python2.7/site-packages/numpy/core/lib -shared build/temp.linux-x86_64-2.6/numpy/core/src/dummymodule.o -L/usr/lib64 -Lbuild/temp.linux-x86_64-2.6 -lpython2.6 -o build/lib.linux-x86_64-2.6/numpy/core/_dummy.so
icc: command line remark #10364: Using '-fp-model strict' forces the compiler to generate legacy floating-point instructions instead of KNC for most floating-point operations, which may impact performance. Consider using a floating-point model that allows the compiler to assume the default floating-point environment.
x86_64-k1om-linux-ld: skipping incompatible /usr/lib64/libpython2.6.so when searching for -lpython2.6
x86_64-k1om-linux-ld: cannot find -lpython2.6
icc: command line remark #10364: Using '-fp-model strict' forces the compiler to generate legacy floating-point instructions instead of KNC for most floating-point operations, which may impact performance. Consider using a floating-point model that allows the compiler to assume the default floating-point environment.
x86_64-k1om-linux-ld: skipping incompatible /usr/lib64/libpython2.6.so when searching for -lpython2.6
x86_64-k1om-linux-ld: cannot find -lpython2.6
error: Command "icc -mmic -mkl -fPIC -fp-model strict -g -I/home/dkl524/jbang/mic/python/_install/include -L/home/dkl524/jbang/mic/python/_install/lib -L/home/dkl524/jbang/mic/python/_install/lib/python2.7 -L/home/dkl524/jbang/mic/python/_install/lib/python2.7/site-packages/numpy/core/lib -shared build/temp.linux-x86_64-2.6/numpy/core/src/dummymodule.o -L/usr/lib64 -Lbuild/temp.linux-x86_64-2.6 -lpython2.6 -o build/lib.linux-x86_64-2.6/numpy/core/_dummy.so" failed with exit status 1
make: *** [numpyxc] Error 1

Why is it looking for python 2.6 all of a sudden. I thought the makefile is supposed to install 2.7.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant