[Pw_forum] Problem in running sumpdos.x

Giovanni Cantele giovanni.cantele at spin.cnr.it
Fri Apr 22 10:08:18 CEST 2016


this is not a QE issue, but a bash/Linux issue.

Try the two following commands, in your terminal:

ls *(

ls *\(


The first will report the same issue as that you experienced, the second one properly works. When you input a command in
a terminal, the operating system interprets “(“ or “)” as special characters. If a file name contains a “(“ or a “)” you should escape
those characters with a “\”.

So the command 

~/Downloads/espresso-5.2.0/bin/sumpdos.x ~/FAPIis.pdos.pdos_atm#2\(I\)_wfc#1\(s\) ~/FAPIis.pdos.pdos_atm#3\(I\)_wfc#1\(s\) ~/FAPIis.pdos.pdos_atm#4\(I\)_wfc#1\(s\) > FAPIis.pdos.I_1\(s\).txt

should properly work or at least should not issue the error message you have reported.

Giovanni

> On 22 Apr 2016, at 07:31, efi dwi indari <efidwiindari at gmail.com> wrote:
> 
> Dear QE Users,
> 
> I would like to sum up my pdos results contributed by different Iodine ions. FYI, I am using quantum espresso-5.2.0 in Ubuntu 14.04
> 
> As what I have learned from previous discussion, I typed down this command on the terminal: 
> 
> ~/Downloads/espresso-5.2.0/bin/sumpdos.x ~/FAPIis.pdos.pdos_atm#2(I)_wfc#1(s) ~/FAPIis.pdos.pdos_atm#3(I)_wfc#1(s) ~/FAPIis.pdos.pdos_atm#4(I)_wfc#1(s) > FAPIis.pdos.I_1(s).txt
> 
> I also have tried to use the '-f' and '-h' in the beginning. However, I kept getting this error notification : bash: syntax error near unexpected token `('
> 
> Could any body please comment on this issue? I would really appreciate it. 
> 
> Thank you very much in advance. 
> 
> Best Regards,
> 
> Efi Dwi Indari
> Research Assistant at Institut Teknologi Bandung
> _______________________________________________
> Pw_forum mailing list
> Pw_forum at pwscf.org
> http://pwscf.org/mailman/listinfo/pw_forum

-- 

Giovanni Cantele, PhD
CNR-SPIN
c/o Dipartimento di Fisica
Universita' di Napoli "Federico II"
Complesso Universitario M. S. Angelo - Ed. 6
Via Cintia, I-80126, Napoli, Italy
e-mail: giovanni.cantele at spin.cnr.it
Phone: +39 081 676910
Skype contact: giocan74

ResearcherID: http://www.researcherid.com/rid/A-1951-2009
Web page: http://people.na.infn.it/~cantele






More information about the users mailing list