[Pw_forum] PW.X WORKS ONCE AND NEXT TIME DOESN'T.. FOR THE SAME INPUT FILE..

siddheshwar chopra sidhusai at gmail.com
Tue Jul 15 11:52:20 CEST 2014


Dear Sir,
the script is working perfectly fine now. I had to just change "ecutrho" to
"$ecutrho".
So now it becomes $ecutrho= $ecut*8

Regards,


On Tue, Jul 15, 2014 at 2:39 PM, Lorenzo Paulatto <
lorenzo.paulatto at impmc.upmc.fr> wrote:

>  On 07/15/2014 10:15 AM, Giovanni Cantele wrote:
>
> the shell script is not able to make mathematical operations, so if you
> write
> ecutrho=$ecut*8
>
>
>
> Actually, the bash shell can do some integer arithmetic. This would work:
>   ecutrho = $[$ecut*8]
>
> hth
>
> --
> Dr. Lorenzo Paulatto
> IdR @ IMPMC -- CNRS & Université Paris 6
> +33 (0)1 44 275 084 / skype: paulatzhttp://www.impmc.upmc.fr/~paulatto/
> 23-24/4é16 Boîte courrier 115, 4 place Jussieu 75252 Paris Cédex 05
>
>
> _______________________________________________
> Pw_forum mailing list
> Pw_forum at pwscf.org
> http://pwscf.org/mailman/listinfo/pw_forum
>



-- 
*Dr. Siddheshwar chopra,*


*M.Sc., Ph.D (Physics)Assistant Professor (Physics),*
*Amity University, Noida, India.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/users/attachments/20140715/19316615/attachment.html>


More information about the users mailing list