[Pw_forum] workaround: add preprocessing option -Dzdotc=zdotc wrapper to DFLAGS

Jiantuo Gan jiantuo.gan.691 at gmail.com
Wed Nov 30 14:04:30 CET 2016


thanks very much, Paolo!
Should I add like in the text below? Thanks!

"# MANUAL_DFLAGS  = additional precompilation option(s), if desired

#                  BEWARE: it does not work for IBM xlf! Manually edit
FDFLAGS

MANUAL_DFLAGS  =

DFLAGS         =  -D__GFORTRAN -D__STD_F95 -D__FFTW -D__MPI
-Dzdotc=zdotc_wrapper
FDFLAGS        = $(DFLAGS) $(MANUAL_DFLAGS)"

/Jiantuo





On 30 November 2016 at 20:56, Paolo Giannozzi <p.giannozzi at gmail.com> wrote:

> Add "-Dzdotc=zdotc_wrapper" to DFLAGS in make.inc
> "make clean"
> recompile
>
> Paolo
>
> On Wed, Nov 30, 2016 at 1:44 PM, Jiantuo Gan <jiantuo.gan.691 at gmail.com>
> wrote:
>
>> Hi Filippo,
>>
>> No worry, I am using MAC, I used gcc and I am not sure about BLAS
>> library, from make.inc I think it is set external.
>>
>>
>> /Jiantuo
>>
>> On 30 November 2016 at 20:40, Filippo SPIGA <
>> filippo.spiga at quantum-espresso.org> wrote:
>>
>>> Sorry Jiantuo,
>>>
>>> which machine are you using? Which compilers? Which BLAS library?
>>>
>>> On Nov 30, 2016, at 12:12 PM, Jiantuo Gan <jiantuo.gan.691 at gmail.com>
>>> wrote:
>>> > Dear all,
>>> >
>>> > I have a problem with running pw2wannier90.x, which I understand is
>>> from bugging from calling function zdotc.
>>> > However, I am not quite sure how I can do this workaround:
>>> > workaround: add preprocessing option -Dzdotc=zdotc wrapper to DFLAGS
>>> >
>>> > Can anyone please give me any hints, I am fresh on this, thanks a lot!
>>> > --
>>> > Yours sincerely,
>>> > J. Gan
>>> >
>>> > PhD Thin Film Solar Cells, University of Oslo 2012-2015
>>> > MSc Nanoscience, Lund University 2010-2012
>>> > BSc Materials Physics Hebei University of Technology 2006-2010
>>> > Tel: +47 96855568
>>> > Linked in:http://se.linkedin.com/pub/jiantuo-gan/31/960/454
>>> >
>>> >
>>> >
>>> >
>>> >
>>> > --
>>> > Yours sincerely,
>>> > J. Gan
>>> >
>>> > PhD Thin Film Solar Cells, University of Oslo 2012-2015
>>> > MSc Nanoscience, Lund University 2010-2012
>>> > BSc Materials Physics Hebei University of Technology 2006-2010
>>> > Tel: +47 96855568
>>> > Linked in:http://se.linkedin.com/pub/jiantuo-gan/31/960/454
>>> >
>>> >
>>> > _______________________________________________
>>> > Pw_forum mailing list
>>> > Pw_forum at pwscf.org
>>> > http://pwscf.org/mailman/listinfo/pw_forum
>>>
>>> --
>>> Filippo SPIGA ~ Quantum ESPRESSO Foundation ~
>>> http://www.quantum-espresso.org
>>>
>>>
>>> _______________________________________________
>>> Pw_forum mailing list
>>> Pw_forum at pwscf.org
>>> http://pwscf.org/mailman/listinfo/pw_forum
>>>
>>
>>
>>
>> --
>> Yours sincerely,
>> J. Gan
>>
>> PhD Thin Film Solar Cells, University of Oslo 2012-2015
>> MSc Nanoscience, Lund University 2010-2012
>> BSc Materials Physics Hebei University of Technology 2006-2010
>> Tel: +47 96855568 <+47%20968%2055%20568>
>> Linked in:http://se.linkedin.com/pub/jiantuo-gan/31/960/454
>>
>>
>>
>> _______________________________________________
>> Pw_forum mailing list
>> Pw_forum at pwscf.org
>> http://pwscf.org/mailman/listinfo/pw_forum
>>
>
>
>
> --
> Paolo Giannozzi, Dip. Scienze Matematiche Informatiche e Fisiche,
> Univ. Udine, via delle Scienze 208, 33100 Udine, Italy
> Phone +39-0432-558216 <+39%200432%20558216>, fax +39-0432-558222
> <+39%200432%20558222>
>
>
> _______________________________________________
> Pw_forum mailing list
> Pw_forum at pwscf.org
> http://pwscf.org/mailman/listinfo/pw_forum
>



-- 
Yours sincerely,
J. Gan

PhD Thin Film Solar Cells, University of Oslo 2012-2015
MSc Nanoscience, Lund University 2010-2012
BSc Materials Physics Hebei University of Technology 2006-2010
Tel: +47 96855568
Linked in:http://se.linkedin.com/pub/jiantuo-gan/31/960/454
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/users/attachments/20161130/cc9829b3/attachment.html>


More information about the users mailing list