[xcrysden] cannot start XCRYSDEN

Elie Albert Moujaes emoujaes at fisica.ufmg.br
Sat Mar 3 17:09:29 CET 2012


Dear Tone,

in fact I have Cygwin so I downloaded the tarred source xc-1.5.18-cygwin-
shared.tar.gz and I have untarred, entered the XCrSDen-1.5.18-bin-shared and 
did ./xcConfigure  and the following were assigned:

XCRYSDEN_TOPDIR=/XCrSDen-1.5.18-bin-shared
XCRYSDEN_SCRATCH=/home/User/xcrys_tmp

then I executed ./xcrysden and I got the error:

./xcrysden: line 160: /XCrySDen-1.5.24-scr/scripts/xcLib.sh :no such file or 
directory

I have typed unset XCRYSDEN_TOPDIR
and then ./xcrysden again and I got:

XCRYSDEN_TOPDIR=/XCrySDen-1.5.18-bin-shared
XCRYSDEN_SCRATCH=/home/User/xcrys_tmp

Application initialization failed: no display name and no $DISPLAY envir
ariable
Error in startup script: no display name and no $DISPLAY environment var
    while executing
"load /usr/lib/tk8.5/../../bin/libtk8.5.dll Tk"
    ("package ifneeded Tk 8.5.11" script)
    invoked from within
"load $system(TOPDIR)/bin/xcrys.dll"
    invoked from within
"if { [file exists $system(TOPDIR)/bin/xcrys.dll] } {
    load $system(TOPDIR)/bin/xcrys.dll}"
    (file "/XCrySDen-1.5.18-bin-shared/Tcl/xcInit.tcl" line 426)

Please can you guide me on how to correct this...Many thanks


Elie





On Sat, 03 Mar 2012 10:17:05 +0100, Tone Kokalj wrote
> On Fri, 2012-03-02 at 18:58 -0300, Elie Albert Moujaes wrote:
> > Dear Tone,
> > 
> > I have tried what you have suggested but I am still getting the same error 
> > which basically suggests that I need TOPDIR_XCRYSDEN to point to the right 
> > place.
> 
> This cannot be. There a few possibilities:
> 
> 1) you mistyped something when unsetting (i.e., unset 
> XCRYSDEN_TOPDIR) 2) you are not using the 1.5* version
> 
> new versions xcrysden prints the XCRYSDEN_TOPDIR duing startup, e.g.,
> 
>   TERMS OF USE:
>   -------------
>   XCRYSDEN is released under the GNU General Public License.
> 
>   Whenever graphics generated by XCRYSDEN are used in scientific
>   publications, it shall be greatly appreciated to include an 
> explicit  reference. The preferred form is the following:
> 
>   [ref] A. Kokalj, Comp. Mater. Sci., Vol. 28, p. 155, 2003.
>         Code available from http://www.xcrysden.org/.
> 
> XCRYSDEN_TOPDIR=/home/tone/prog/XCrySDen-1.x
> XCRYSDEN_SCRATCH=/temp/tone/xcrys_tmp
> 
> what is your printed XCRYSDEN_TOPDIR line?
> 
> Regards, Tone
> -- 
> Anton Kokalj
> J. Stefan Institute, Jamova 39, 1000 Ljubljana, Slovenia 
> (tel: +386-1-477-3523 // fax:+386-1-477-3822)
> 
> Please, if possible, avoid sending me Word or PowerPoint attachments.
> See:  http://www.gnu.org/philosophy/no-word-attachments.html
> 
> _______________________________________________
> XCrySDen mailing list
> XCrySDen at democritos.it
> http://www.democritos.it/mailman/listinfo/xcrysden


--
Departamento de Fisica - UFMG/ICEx


More information about the XCrySDen mailing list