<div>Dear all,</div><div>&nbsp; &nbsp; I am new to xcrysden and I try to open a Pwscf input file but failed.&nbsp;</div><div><div>[root@localhost asesma]# xcrysden --pwi Po.example.in</div><div><br></div><div><br></div><div>+----------------------------------------------------------------+</div><div><br></div><div>|****************************************************************|</div><div><br></div><div>|*<span class="Apple-tab-span" style="white-space:pre">                                                                </span>*|</div><div><br></div><div>|* &nbsp;XCrySDen - (X-Window) CRYstalline Structures and DENsities &nbsp;*|</div><div><br></div><div>|*<span class="Apple-tab-span" style="white-space:pre">                </span>= &nbsp; &nbsp; &nbsp; &nbsp; === &nbsp; &nbsp; &nbsp; &nbsp; = &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;=== &nbsp; &nbsp; &nbsp; &nbsp;*|</div><div><br></div><div>|*--------------------------------------------------------------*|</div><div><br></div><div>|*<span class="Apple-tab-span" style="white-space:pre">                                                                </span>*|</div><div><br></div><div>|* &nbsp; &nbsp;Anton Kokalj (Tone.Kokalj@ijs.si) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; *|</div><div><br></div><div>|* &nbsp; &nbsp;Jozef Stefan Institute, Ljubljana, Slovenia &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; *|</div><div><br></div><div>|*<span class="Apple-tab-span" style="white-space:pre">                                                                </span>*|</div><div><br></div><div>|* &nbsp; &nbsp;Copyright (c) 1996--2009 by Anton Kokalj &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;*|</div><div><br></div><div>|* &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;*|</div><div><br></div><div><br></div><div>|****************************************************************|</div><div><br></div><div>+----------------------------------------------------------------+</div><div><br></div><div>&nbsp;</div><div>&nbsp;Version: 1.5.25</div><div><br></div><div>&nbsp;</div><div>&nbsp;Please report bugs to: Tone.Kokalj@ijs.si</div><div><br></div><div><br></div><div>&nbsp;</div><div><br></div><div>&nbsp;TERMS OF USE:</div><div>&nbsp;</div><div>&nbsp;-------------</div><div>&nbsp;</div><div>&nbsp;XCRYSDEN is released under the GNU General Public License.</div><div><br></div><div>&nbsp;</div><div><br></div><div>&nbsp;Whenever graphics generated by XCRYSDEN are used in scientific</div><div>&nbsp;&nbsp;</div><div>&nbsp;publications, it shall be greatly appreciated to include an explicit</div><div>&nbsp;</div><div>&nbsp;reference. The preferred form is the following:</div><div><br></div><div>&nbsp;</div><div><br></div><div>&nbsp;[ref] A. Kokalj, Comp. Mater. Sci., Vol. 28, p. 155, 2003.</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp;Code available from http://www.xcrysden.org/.</div><div><br></div><div><br></div><div><br></div><div>TCL_LIBRARY=/hexin/XCrySDen-1.5.25-bin-semishared/external/lib/tcl8.5</div><div><br></div><div>XCRYSDEN_TOPDIR=/hexin/XCrySDen-1.5.25-bin-semishared</div><div><br></div><div>XCRYSDEN_SCRATCH=/hexin/xcrys_tmp</div><div><br></div><div><br></div><div><br></div><div>Running on platform : unix</div><div>&nbsp;</div><div>&nbsp; Operating system : Linux</div><div><br></div><div>CRYSTAL VERSION: 09</div><div><br></div><div>Executing: /hexin/XCrySDen-1.5.25-bin-semishared/bin/ftnunit</div><div><br></div><div>Error in startup script: wrong # args: should be "pwInputPreset file"</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; while executing</div><div><br></div><div>"pwInputPreset /hexin/ASESMA 2010/asesma/Po.example.in"</div><div>&nbsp;</div><div>&nbsp; &nbsp; ("eval" body line 1)</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; invoked from within</div><div><br></div><div>"eval $preset $file"</div><div><br></div><div>&nbsp; &nbsp; (procedure "openExtStruct" line 106)</div><div><br></div><div>&nbsp; &nbsp; invoked from within</div><div><br></div><div>"openExtStruct 3 crystal external &nbsp;[list sh $system(TOPDIR)/scripts/pwi2xsf.sh] &nbsp;</div><div>pwi2xsf.xsf_out &nbsp;{PWSCF Input File} ANGS &nbsp;-file $filedir &nbsp;-preset pwIn..."</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp;invoked from within</div><div>"</div><div>if [file exists $filedir] {</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">                        </span># pop-up Viewer</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>ViewMol .</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>openExtStruct 3 crystal external &nbsp;[list sh $system(TOPDI</div><div>R)/scripts/pwi2xsf.sh] &nbsp;pwi2xsf..."</div><div>&nbsp;</div><div>&nbsp; &nbsp;("--pwi" arm line 2)</div><div><br></div><div>&nbsp; &nbsp; invoked from within</div><div><br></div><div>"switch -glob -- $tag {</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">                </span>"-a" -</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">                </span>"--attrib*" {</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">                </span> &nbsp; &nbsp;set load_attributes 1</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">                </span> &nbsp; &nbsp;set file_attributes $filedir</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">                </span>}</div><div><br></div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "--xsf" -</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">                </span>"--xcr..."</div><div><br></div><div>&nbsp; &nbsp; (procedure "parseComLinArg" line 44)</div><div><br></div><div>&nbsp; &nbsp; invoked from within</div><div><br></div><div>"parseComLinArg [lrange $argv 2 end]"</div><div><br></div><div>&nbsp; &nbsp; invoked from within</div><div><br></div><div>"if { [llength $argv] &gt; 2 } {</div><div>&nbsp;</div><div>&nbsp; &nbsp; parseComLinArg [lrange $argv 2 end]</div><div><br></div><div>} else {</div><div>&nbsp;</div><div>&nbsp; &nbsp;ViewMol .</div><div><br></div><div>}"</div><div><br></div><div>&nbsp; &nbsp; (file "/hexin/XCrySDen-1.5.25-bin-semishared/Tcl/xcInit.tcl" line 550)</div><div><br></div><div>/hexin/XCrySDen-1.5.25-bin-semishared/xcrysden: line 277: test: /hexin/ASESMA: binary operator expected</div><div><br></div></div><div>&nbsp; &nbsp; I would be very appreciated if you can help me to solve this problem.</div><div><br></div><div>Best regards,</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Xin</div><div><br></div><div><br></div>