Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 23 Sep 2013 01:55:25 +0200
From: magnum <john.magnum@...hmail.com>
To: john-users@...ts.openwall.com
Subject: Re: problem with john-cuda and osx

On 23 sep 2013, at 01:20, magnum <john.magnum@...hmail.com> wrote:
> On 23 sep 2013, at 01:11, Lukas Odzioba <lukas.odzioba@...il.com> wrote:
>>> 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[1]: mpicc: No such file or directory
>>> make[1]: *** [john-mpi.o] Error 1
>>> make: *** [macosx-x86-64-gpu] Error 2
> 
> You can't build for MPI without having some MPI library (with tools) installed. A simple way to install OpenMPI on OSX is to use Homebrew (http://brew.sh). After Homebrew itself is installed, install MPI using "brew install openmpi". I think that is all you need.

BTW if you are just looking into using all cores on your local machine, you'd better use the -fork option of bleeding-jumbo - MPI is not needed at all!

magnum

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.