计算化学公社

标题: Xcrysden安装一直不成功,请求帮忙 [打印本页]

作者
Author:
gaussian08    时间: 2017-11-29 10:00
标题: Xcrysden安装一直不成功,请求帮忙
最近想用QE计算材料的结构,用xcrysden显示结果,本人没有linux电脑只能用windown10和cygwin做Linux虚拟环境,我装了cygwin包括安装xcrysden所需的包,X11等,但是一直不能运行xcrysden,我下载了cygwin版本的  xcrysden-1.5.53-bin-shared ,和linux版本的  xcrysden-1.5.53-bin-semishared
运行cygwin版本的  xcrysden-1.5.53-bin-shared没有任何错误提示,就是不显示图形界面:
$ ./xcrysden

+-----------------------------------------------------------------+
|*****************************************************************|
|*                                                               *|
|*  XCrySDen -- (X-Window) CRYstalline Structures and DENsities  *|
|*               =         ===         =              ===        *|
|*---------------------------------------------------------------*|
|*                                                               *|
|*    Anton Kokalj (tone.kokalj@ijs.si)                          *|
|*    Jozef Stefan Institute, Ljubljana, Slovenia                *|
|*                                                               *|
|*    Copyright (c) 1996--2014 by Anton Kokalj                   *|
|*                                                               *|
|*****************************************************************|
+-----------------------------------------------------------------+

  Version: 1.5.60

  Please report bugs to: tone.kokalj@ijs.si


  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, J. Mol. Graph. Model., Vol. 17, pp. 176-179, 1999.
        Code available from http://www.xcrysden.org/.

XCRYSDEN_TOPDIR=/home/xcrysden-1.5.60-bin-shared
XCRYSDEN_SCRATCH=/tmp

运行linux版本的 xcrysden-1.5.53-bin-semishared 显示如下错误:
  Version: 1.5.53

  Please report bugs to: tone.kokalj@ijs.si


  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/.

TCL_LIBRARY=/home/xcrysden-1.5.53-bin-semishared/external/lib/tcl8.5
XCRYSDEN_TOPDIR=/home/xcrysden-1.5.53-bin-semishared
XCRYSDEN_SCRATCH=/tmp

./xcrysden: line 230: /home/xcrysden-1.5.53-bin-semishared/bin/xcrys: cannot execute binary file: Exec format error
我实在不知道怎么办,请大牛帮忙?

作者
Author:
beefly    时间: 2017-11-29 10:32
cygwin下编译即便成功了,运行起来也有很多毛病,而且cygwin庞大...

最简单的办法是装ubuntu,然后在软件仓库里选择编译好的xcrysden进行安装
作者
Author:
gaussian08    时间: 2017-11-29 23:59
beefly 发表于 2017-11-29 10:32
cygwin下编译即便成功了,运行起来也有很多毛病,而且cygwin庞大...

最简单的办法是装ubuntu,然后在软 ...

不会弄啊,能否给个详细一点的教程,多谢了!!!
作者
Author:
specter119    时间: 2018-3-22 17:46
你的windows是win10吗,我也是手里没有linux,如果是只做后处理的话,可以用wsl。
参考如何在Windows Subsystem for Linux (WSL) 上运行 Linux GUI 软件 我这边已经配置成功,安装简单。
作者
Author:
hakuna    时间: 2018-3-24 12:13
specter119 发表于 2018-3-22 17:46
你的windows是win10吗,我也是手里没有linux,如果是只做后处理的话,可以用wsl。
参考如何在Windows Subs ...

曾经鼓捣过一次没成功,说说这个Windows Subsystem for Linux (WSL) 上运行 Linux GUI 怎么玩呗
作者
Author:
DCchen    时间: 2018-3-26 16:01
我用的是workstation,然后装了个Ubuntu Kylin15.1的虚拟机 ,直接Terminal 执行sudo apt-get install xcrysden  就可以下载,下载完直接可以用。




欢迎光临 计算化学公社 (http://ccc.keinsci.com/) Powered by Discuz! X3.3