计算化学公社

 找回密码 Forget password
 注册 Register
Views: 13370|回复 Reply: 5
打印 Print 上一主题 Last thread 下一主题 Next thread

[综合讨论] Xcrysden安装一直不成功,请求帮忙

[复制链接 Copy URL]

21

帖子

0

威望

405

eV
积分
426

Level 3 能力者

跳转到指定楼层 Go to specific reply
楼主
最近想用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
我实在不知道怎么办,请大牛帮忙?

729

帖子

21

威望

5233

eV
积分
6382

Level 6 (一方通行)

2#
发表于 Post on 2017-11-29 10:32:21 | 只看该作者 Only view this author
cygwin下编译即便成功了,运行起来也有很多毛病,而且cygwin庞大...

最简单的办法是装ubuntu,然后在软件仓库里选择编译好的xcrysden进行安装

21

帖子

0

威望

405

eV
积分
426

Level 3 能力者

3#
 楼主 Author| 发表于 Post on 2017-11-29 23:59:44 | 只看该作者 Only view this author
beefly 发表于 2017-11-29 10:32
cygwin下编译即便成功了,运行起来也有很多毛病,而且cygwin庞大...

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

不会弄啊,能否给个详细一点的教程,多谢了!!!

2

帖子

0

威望

36

eV
积分
38

Level 2 能力者

4#
发表于 Post on 2018-3-22 17:46:06 | 只看该作者 Only view this author
你的windows是win10吗,我也是手里没有linux,如果是只做后处理的话,可以用wsl。
参考如何在Windows Subsystem for Linux (WSL) 上运行 Linux GUI 软件 我这边已经配置成功,安装简单。

471

帖子

0

威望

1795

eV
积分
2266

Level 5 (御坂)

5#
发表于 Post on 2018-3-24 12:13:01 | 只看该作者 Only view this author
specter119 发表于 2018-3-22 17:46
你的windows是win10吗,我也是手里没有linux,如果是只做后处理的话,可以用wsl。
参考如何在Windows Subs ...

曾经鼓捣过一次没成功,说说这个Windows Subsystem for Linux (WSL) 上运行 Linux GUI 怎么玩呗

11

帖子

0

威望

63

eV
积分
74

Level 2 能力者

6#
发表于 Post on 2018-3-26 16:01:31 | 只看该作者 Only view this author
我用的是workstation,然后装了个Ubuntu Kylin15.1的虚拟机 ,直接Terminal 执行sudo apt-get install xcrysden  就可以下载,下载完直接可以用。

本版积分规则 Credits rule

手机版 Mobile version|北京科音自然科学研究中心 Beijing Kein Research Center for Natural Sciences|京公网安备 11010502035419号|计算化学公社 — 北京科音旗下高水平计算化学交流论坛 ( 京ICP备14038949号-1 )|网站地图

GMT+8, 2025-8-15 20:03 , Processed in 0.576700 second(s), 20 queries , Gzip On.

快速回复 返回顶部 返回列表 Return to list