[Q-e-developers] srvaddress

Paolo Giannozzi paolo.giannozzi at uniud.it
Mon Dec 11 22:04:16 CET 2017


"srvaddress" is read from command line and used by i-Pi, but the logic of
that piece of code is illogic ("who is the idiot...no wait, I wrote it").
The correct logic is something like

   IF ( trim(srvaddress) == ' ' ) THEN
      IF ( use_images ) THEN
          CALL run_manypw ( )
          CALL run_pwscf ( exit_status )
      ELSE
          CALL read_input_file ('PW', input_file_ )
          CALL run_pwscf ( exit_status )
      END IF
   ELSE
      CALL read_input_file ('PW+iPi', input_file_ )
      CALL run_driver ( srvaddress, exit_status )
  END IF

You have the opportunity to make the first "push" !

Paolo

On Mon, Dec 11, 2017 at 4:53 PM, Lorenzo Paulatto <lorenzo.paulatto at upmc.fr>
wrote:

> Hello, what is the meaning of srvaddress in pwscf.f90?
>
>    IF ( trim(srvaddress) == ' ' ) THEN
>       !
>       CALL read_input_file ('PW', input_file_ )
>       CALL run_pwscf ( exit_status )
>       !
>    ELSE IF ( use_images ) THEN
>       !
>       CALL run_manypw ( )
>       CALL run_pwscf ( exit_status )
>       !
>
> On two different systems I'm using it is always empty when calling pw as
> manypw.xx, which causes manypw to not be called.
>
> Any idea on how to fix?
>
>
> --
> Dr. Lorenzo Paulatto
> IdR @ IMPMC -- CNRS & Université Paris 6
> phone: +33 (0)1 442 79822 / skype: paulatz
> www:   http://www-int.impmc.upmc.fr/~paulatto/
> mail:  23-24/423 Boîte courrier 115, 4 place Jussieu 75252 Paris Cédex 05
> _______________________________________________
> Q-e-developers mailing list
> Q-e-developers at qe-forge.org
> http://qe-forge.org/mailman/listinfo/q-e-developers
>



-- 
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/developers/attachments/20171211/636c0912/attachment.html>


More information about the developers mailing list