Date: Mon, 23 Sep 2013 01:11:31 +0200 From: Lukas Odzioba <lukas.odzioba@...il.com> To: john-users@...ts.openwall.com Subject: Re: problem with john-cuda and osx 2013/9/23 luka <mrfsrf@...il.com>: > Device 1: GeForce 8800 GT > Build log: <program source>:9:10: fatal error: 'opencl_device_info.h' file not found > #include "opencl_device_info.h" > ^ > > Error -11 building kernel. DEVICE_INFO=130 > OpenCL error (CL_BUILD_PROGRAM_FAILURE) in file (common-opencl.c) at line (616) - (clBuildProgram failed.) I'll quote magnum: The "header file not found" error is an Apple bug, described in doc/BUGS: "OS X also has a problem with run-time compile of kernels that include header files. A workaround is to cd to the src directory and run each OpenCL format once. After that, the kernel binary is cached so you can move away from the src directory." from: http://www.openwall.com/lists/john-users/2013/06/02/8 > Regading mpicc, I commented out: > > CC = mpicc -DHAVE_MPI > > and run make clean macosx-x86-64-gpu > > gets me: > ... > mpicc -DHAVE_MPI -c -Wall -Wdeclaration-after-statement -O2 -fomit-frame-pointer -I/usr/local/include -DHAVE_KRB5 -m64 -I/usr/local/cuda/include -I/usr/local/cuda/include -DBSD -DHAVE_CRYPT -DHAVE_OPENCL -DHAVE_CUDA -Wno-deprecated-declarations -funroll-loops john-mpi.c -o john-mpi.o > make: mpicc: No such file or directory > make: *** [john-mpi.o] Error 1 > make: *** [macosx-x86-64-gpu] Error 2 It seems that you don't have properly configured mpi. Instead you can just comment out in Makefile: OMPFLAGS = and uncomment this line:
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.