Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 15 Jun 2015 22:16:54 +0200
From: magnum <john.magnum@...hmail.com>
To: john-dev@...ts.openwall.com
Subject: Re: PHC: Lyra2 on CPU

On 2015-06-15 21:11, Agnieszka Bielec wrote:
> 2015-06-15 20:29 GMT+02:00 magnum <john.magnum@...hmail.com>:
>> On 2015-06-15 20:15, Agnieszka Bielec wrote:
>>> I need openmp for version b) but when I add in the beginning of
>>> Lyra2_lm_fmt_plug.c #ifdef _OPENMP, make doesn't see
>>> Lyra2_lm_fmt_plug.c
>>
>> Does your configure summary show OpenMP? Eg:
>> ...
>> Fork support ................................ yes
>> OpenMP support .............................. yes (not for fast formats)
>> OpenCL support .............................. yes
>> ...
>
> Of course
> and I did now an experiment. added #ifdfef _OPENMP and after make this
> format was recognized but after make clean; ./configure make doesn't
> work.
> now _OPENMP doesn't work. I removed #ifdef _OPENMP and make still
> doesn't work, after make clean; ./configure; make lyra2-lm is
> recognized
> but this is strange, it is lyra2_lm_fmt_plug.c in makefile

Ah, I see the problem now. I'm sorry, you were absolutely right: The 
problem is indeed in configure. The lines that create fmt_externs.h and 
fmt_registers.h using cpp, lacks whatever variable is holding "-fopenmp".

I will look into this and report back. Having said that though, why 
would you want to completely disable a format when OpenMP is turned off?

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.