计算化学公社

 找回密码 Forget password
 注册 Register

让Windows和Linux下的Multiwfn图形界面初步支持鼠标拖拽旋转分子

查看数: 2006 | 评论数: 13 | 收藏 Add to favorites 12
关灯 | 提示:支持键盘翻页<-左 右->
    组图打开中,请稍候......
发布时间: 2025-4-13 23:06

正文摘要:

本帖最后由 liuyuje714 于 2025-5-23 02:10 编辑 更新(2025.05.23):已经支持Linux系统下的鼠标拖拽分子,尝鲜版本点击下载:Multiwfn_3.8_dev_Linux_x64_2025.05.22 (依靠Centos 8静态编译,应该适用于 ...

回复 Reply

sobereva 发表于 Post on 2025-6-4 00:20:45
Linux版对鼠标旋转操作的支持今日也纳入Multiwfn官方版了
为了能让noGUI版顺利编译,对Makefile做了很多调整

评分 Rate

参与人数
Participants 1
eV +5 收起 理由
Reason
Novice + 5 赞!

查看全部评分 View all ratings

sobereva 发表于 Post on 2025-5-24 06:43:38
liuyuje714 发表于 2025-5-23 13:11
比如drawmol子程序中的:
改成:

成功了。下次更新时会引入
liuyuje714 发表于 Post on 2025-5-23 13:11:34
sobereva 发表于 2025-5-23 08:54
我有时间把linux的补丁也弄到官方版里

“开发寄语:是不是可以把`isys`判定系统类型并call的也用于Linux ...

比如drawmol子程序中的:
  1. call swgtyp("HORI","SCALE") !Reset the default mode for list widget
  2. idrawisosur=0 !Don't draw the cubmat in memory at first time go into the GUI
  3. if (isys==1) call drawmol !Directly show image in Windows GUI
  4. !However, in linux, "draw" widget is available only after WGFIN subroutine so we need a mouse event to active it, before this, the draw widget cannot be used, this is why "if (isys==1)"
  5. CALL WGFIN
复制代码
改成:
  1. call swgtyp("HORI","SCALE") !Reset the default mode for list widget
  2. idrawisosur=0 !Don't draw the cubmat in memory at first time go into the GUI
  3. call reawgt
  4. call drawmol !Directly show image in Windows GUI
  5. !However, in linux, "draw" widget is available only after WGFIN subroutine so we need a mouse event to active it, before this, the draw widget cannot be used, this is why "if (isys==1)"
  6. CALL WGFIN
复制代码


sobereva 发表于 Post on 2025-5-23 08:54:18
我有时间把linux的补丁也弄到官方版里

“开发寄语:是不是可以把`isys`判定系统类型并call的也用于Linux系统呢,好像在此之前添加一个call reawgt就可以了,不需要每次都要点击任意按钮来显示出图形。”  我不清楚意思,我试了没成功
liuyuje714 发表于 Post on 2025-5-23 02:11:57
update 2025.5.23,初步支持Linux系统,见一楼更新日志。

评分 Rate

参与人数
Participants 1
eV +8 收起 理由
Reason
sobereva + 8 GJ!

查看全部评分 View all ratings

sobereva 发表于 Post on 2025-4-26 21:48:00
我已将此代码植入了Multiwfn官方版,详见
http://bbs.keinsci.com/thread-53146-1-1.html
snljty2 发表于 Post on 2025-4-15 08:58:13
liuyuje714 发表于 2025-4-14 20:51
现在可以了,测试了amd的U

收到,谢谢老师!
liuyuje714 发表于 Post on 2025-4-14 20:51:27
snljty2 发表于 2025-4-14 16:54
您好,还是一样的报错诶

现在可以了,测试了amd的U
snljty2 发表于 Post on 2025-4-14 16:54:18
liuyuje714 发表于 2025-4-14 09:09
我这个开了avx2,估计是QxCORE-AVX2导致的。我更新了一下,用了SSE4.2,你试试看行不行

您好,还是一样的报错诶
liuyuje714 发表于 Post on 2025-4-14 09:09:18
本帖最后由 liuyuje714 于 2025-4-14 12:30 编辑
snljty2 发表于 2025-4-14 09:07
您好,我这边在AMD的Zen2 CPU上运行有个报错,请问是不是跟编译时候的优化指令有关呢?谢谢!

我这个开了avx2,估计是QxCORE-AVX2导致的。我更新了一下,用了SSE4.2,你试试看行不行
snljty2 发表于 Post on 2025-4-14 09:07:54
您好,我这边在AMD的Zen2 CPU上运行有个报错
  1. Please verify that both the operating system and the processor support Intel(R) X87, CMOV, MMX, FXSAVE, SSE, SSE2, SSE3, SSSE3, SSE4_1, SSE4_2, MOVBE, POPCNT, AVX, F16C, FMA, BMI, LZCNT and AVX2 instructions.
复制代码
,请问是不是跟编译时候的优化指令有关呢?谢谢!
yygong 发表于 Post on 2025-4-14 08:37:10
效果真不错,赞!
sobereva 发表于 Post on 2025-4-14 01:49:51

效果非常好!可以说是解决了一个大问题

最近我刚好在DISLIN的邮件列表里看到有人讨论这个问题https://groups.google.com/g/dislin-users/c/LVCqRtpJ-_Y,也正考虑能不能弄到Multiwfn里

你的这个patch我近期等有时间的时候会弄到官方版里。

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

GMT+8, 2025-8-13 06:34 , Processed in 0.245690 second(s), 27 queries , Gzip On.

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