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

2016-11-30 Thread Jiantuo Gan
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  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 
> 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.sp...@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 
>>> 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@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@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@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@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
___
Pw_forum mailing list
Pw_forum@pwscf.org
http://pwscf.org/mailman/listinfo/pw_forum

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

2016-11-30 Thread Paolo Giannozzi
 Add "-Dzdotc=zdotc_wrapper" to DFLAGS in make.inc
"make clean"
recompile

Paolo

On Wed, Nov 30, 2016 at 1:44 PM, Jiantuo Gan 
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  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 
>> 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@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@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@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, fax +39-0432-558222
___
Pw_forum mailing list
Pw_forum@pwscf.org
http://pwscf.org/mailman/listinfo/pw_forum

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

2016-11-30 Thread Jiantuo Gan
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.sp...@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 
> 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@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@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
___
Pw_forum mailing list
Pw_forum@pwscf.org
http://pwscf.org/mailman/listinfo/pw_forum

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

2016-11-30 Thread Filippo SPIGA
Sorry Jiantuo,

which machine are you using? Which compilers? Which BLAS library?

On Nov 30, 2016, at 12:12 PM, Jiantuo Gan  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@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@pwscf.org
http://pwscf.org/mailman/listinfo/pw_forum