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: paulatz http://www.impmc.upmc.fr/~paulatto/ 23-24/4?16 Bo?te courrier 115, 4 place Jussieu 75252 Paris C?dex 05 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://pwscf.org/pipermail/pw_forum/attachments/20140715/5427c224/attachment.html
