当前位置:首页>Linux>Rocky Linux / RHEL / CentOS + NVIDIA GPU + ANSYS Fluent 2025 集群并行计算完整配置指南

Rocky Linux / RHEL / CentOS + NVIDIA GPU + ANSYS Fluent 2025 集群并行计算完整配置指南

  • 2026-07-02 08:50:53
Rocky Linux / RHEL / CentOS + NVIDIA GPU + ANSYS Fluent 2025 集群并行计算完整配置指南

ANSYS Fluent 2025 集群并行计算完整配置指南

自己的安装过程以及遇到的问题整理,又有问题,还请他家批评指正

适用环境:Rocky Linux / RHEL / CentOS + NVIDIA GPU + ANSYS 2025 R2
整理日期:2026-05-21
作者:小痴 & 二毛


目录

  1. #NVIDIA显卡驱动重装
  2. 图形化界面恢复
  3. ANSYS License Server 配置
  4. systemd 开机自启(终极方案)
  5. 多节点 License Server 部署方案
  6. Fluent 并行计算系统限制问题解决方案
  7. Fluent 集群并行计算配置
  8. 常见问题速查表

一、NVIDIA 显卡驱动重装

问题现象

安装新驱动时提示旧模块残留,或图形程序无法启动:

WARNING: An NVIDIA kernel module 'nvidia-drm' appears to be already loaded in your kernel.qt.qpa.xcb: could not connect to display localhost:10.0

完整卸载步骤

第1步:停掉图形服务

systemctl stop display-manager

第2步:查看当前加载的 nvidia 模块

lsmod | grep nvidia

第3步:用 rmmod 从内存卸载(注意顺序!)

rmmod nvidia_drmrmmod nvidia_modesetrmmod nvidia_uvmrmmod nvidia

第4步:如果 rmmod 报 "module is busy",先杀占用进程

fuser -v /dev/nvidia* 2>/dev/null

第5步:如果驱动文件已被删但内存模块清不掉 → 直接重启

reboot

清理 RPM 包和 DKMS 残留(重启后)

# 检查 RPM 包残留rpm -qa | grep -i nvidia# 如有输出,全部删除:rpm -e --nodeps $(rpm -qa | grep -i nvidia)# 检查 DKMS 注册dkms status# 移除残留:dkms remove nvidia/<版本号> --allrm -rf /var/lib/dkms/nvidia*

安装新驱动

# 确认环境干净后安装lsmod | grep nvidia    # 应无输出nvidia-smi             # 应报 command not found./NVIDIA-Linux-x86_64-<版本号>.run --silent --dkms --no-x-check --no-nouveau-check# 验证nvidia-smi

⚠️ 关键经验modprobe -r 依赖磁盘上的 .ko 文件,如果驱动已删但模块还在内存里,必须用 rmmod 或直接 reboot


二、图形化界面恢复

启动 GDM 图形服务

# Rocky Linux / RHEL 默认用 GDMsystemctl start gdm# 或者通用方式systemctl start display-manager# 设为默认开机进入图形界面systemctl set-default graphical.target

常见问题排查

现象1:闪退回登录页

  • 原因:~/.Xauthority 权限不对
  • 解决:chmod 644 ~/.Xauthority

现象2:闪退回登录页

  • 原因:dconf 锁死
  • 解决:rm -f ~/.config/dconf/user

现象3:闪退回登录页

  • 原因:GNOME 配置损坏
  • 解决:mv ~/.config/gnome-session ~/.config/gnome-session.bak

现象4:闪退回登录页

  • 原因:SELinux 阻止
  • 解决:setenforce 0 测试确认

快速诊断命令

# 一条命令看所有关键信息
su - username -c "echo '=== home space ==='; df -h .; echo '=== Xauth ==='; ls -la .Xauthority .ICEauthority 2>/dev/null; echo '=== xsession errors (last 30) ==='; tail -30 .xsession-errors 2>/dev/null"

三、ANSYS License Server 配置

问题现象

Fluent 启动时报错:

Connected License Server List: <Shared_Web_License_Server>Unexpected license problem; exiting.Error in the fluent process : fatal error (disconnected)

或 License Manager 网页显示 "The license manager is stopped"

架构理解

ANSYS License Manager 有两个独立组件:

组件
作用
端口
Tomcat
网页管理界面
1084
FlexNet lmgrd
许可证核心服务
1055 / 2325

⚠️ 重要:Tomcat 能跑 ≠ FlexNet 在跑!两者是独立组件,需要分别启动。

手动启动方法

# 先清理残留进程pkill -9 lmgrd; pkill -9 ansyslmd; pkill -9 tomcatsleep 1# 启动 FlexNet 核心服务(这是真正提供 license 的)/opt/software/ansys_inc/shared_files/licensing/linx64/lmgrd -c /license.txt  -l /opt/software/ansys_inc/shared_files/licensing/logs/license.log# 验证ps aux | grep lmgrd | grep -v grepss -tlnp | grep -E "1055|2325|1084"

断网能否使用?

可以! ANSYS FlexNet 是离线授权模式,完全不需要外网。

条件
要求
外网
❌ 不需要
内网连通性
✅ 计算节点能访问 License Server 内网 IP 即可
License 文件
✅ 存储在本地 /license.txt
MAC 地址变更
⚠️ 换网卡会导致失效(hostid 绑定)

验证内网连通:

nc -zv <LicenseServer_IP> 2325 && echo"可达"

四、systemd 开机自启(终极方案)

为什么 rc.local 和 nohup 不够好?

方面
rc.local + nohup
systemd 服务
启动顺序
不确定
After=network-online.target
 保证网络就绪
进程挂了
不会自动重启
Restart=on-failure
 自动拉起
日志管理
分散各处
journalctl -u ansys-license
 统一查看
停止管理
手动 kill
systemctl stop
 干净停止
残留清理
ExecStartPre 自动清理旧进程

最终可用配置

创建 /etc/systemd/system/ansys-license.service

# 在 主节点 上执行cat > /etc/systemd/system/ansys-license.service << 'EOF'[Unit]Description=ANSYS License Server (LMCenter + FlexNet)After=network-online.target remote-fs.target nfs-client.targetWants=network-online.target[Service]Type=oneshotRemainAfterExit=yes# 1. 清理残留进程(不用 -f 参数,避免误杀自己)ExecStartPre=/bin/bash -c "pkill -9 lmgrd; pkill -9 ansyslmd; pkill -9 tomcat; sleep 2; exit 0"# 2. 等待 license 文件就绪(防止开机时文件还没挂载好)ExecStartPre=/bin/bash -c "for i in $(seq 1 15); do test -f /license.txt && exit 0; sleep 2; done; exit 1"# 3. 启动 LMCenter(Tomcat 管理界面,端口 1084)ExecStartPre=/bin/bash -c "nohup /opt/software/ansys_inc/shared_files/licensing/start_lmcenter >/dev/null 2>&1 & sleep 5; exit 0"# 4. 启动 FlexNet lmgrd(端口 1055/2325)ExecStart=/bin/bash -c "nohup /opt/software/ansys_inc/shared_files/licensing/linx64/lmgrd -c /license.txt -l /opt/software/ansys_inc/shared_files/licensing/logs/license.log >/dev/null 2>&1 & exit 0"# 5. 停止时清理所有进程ExecStop=/bin/bash -c "pkill -9 lmgrd; pkill -9 ansyslmd; pkill -9 tomcat; exit 0"User=rootTimeoutStartSec=120[Install]WantedBy=multi-user.targetEOFsystemctl daemon-reloadsystemctl enable ansys-license.servicesystemctl start ansys-license.service

关键参数解释

参数
为什么这样设
Type
oneshot
执行完启动命令就算成功,不等待 pid 文件
RemainAfterExit
yes
进程 fork 到后台退出后,服务仍保持 active 状态
After
network-online.target remote-fs.target nfs-client.target
确保网络+NFS 完全就绪后再启动
ExecStartPre
三步清理+等待
清残留进程、等/license.txt、启动 LMCenter
TimeoutStartSec
120
给 NFS 等待 + LMCenter 启动留足时间

⚠️ 踩坑记录(2026-05-22 更新)

  • Type=forking
     → 需要 .pid 文件但 lmgrd 不生成 → timeout 失败
  • Type=simple
     → lmgrd fork 后父进程退出 → systemd 认为服务 dead
  • ExecStartPre
     内嵌复杂 shell → systemd 解析引号报错 → status=203/EXEC
  • pkill -9 -f lmgrd
     → -f 匹配命令行,把 systemd 自己的 bash 进程也杀了 → 自伤退出
  • /licensing/
     目录在 NFS 上 → 开机时脚本不存在 → status=203/EXEC
  • 最终方案:Type=oneshot + RemainAfterExit=yes + 去掉 -f + 等 NFS 就绪
     ✅

启用和管理

# 加载并启用开机自启systemctl daemon-reloadsystemctl enable ansys-license.service# 启动systemctl start ansys-license.service# 查看状态systemctl status ansys-license.service# 重启(改了 license 后)systemctl restart ansys-license.service# 停止systemctl stop ansys-license.service# 查看实时日志journalctl -u ansys-license -f

五、多节点 License Server 部署方案(node01(主) + node02)

适用场景:双节点集群,node01(10.0.0.1)为主节点 + License Server,node02(10.0.0.2)为计算节点。
两台机器通过 IB 交换机互联,/home 和 /opt/software 通过 NFS 共享。

两种部署方案对比

方案A:只让 node01 跑 License Server(✅ 推荐)

对比项
说明
维护成本
低(只需维护一份 license 文件)
可用性
依赖 node01,node01 挂了全集群不可用
License 文件
只需一份(HostID = node01 的 MAC)
Fluent 连接
所有节点连 10.0.0.1
适用场景
集群统一管理

方案B:两台都跑 License Server(双机独立)

对比项
说明
维护成本
高(两台机器各自维护独立 license)
可用性
高(两台独立,可分别使用)
License 文件
需要两份(各自用自己的 MAC 作为 HostID)
Fluent 连接
可分别连 10.0.0.1 或 10.0.0.2
适用场景
两台机器可能独立运行、不在同一地点

方案A(推荐):只让 node01 跑 License Server

架构说明

节点
IP
角色
License Server
Fluent 连接地址
node01
10.0.0.1
主节点 + 计算节点
✅ 运行
10.0.0.1
node02
10.0.0.2
纯计算节点
❌ 不运行
10.0.0.1

node01 配置(已在第四章完成):

  • ansys-license.service
     已启用并开机自启
  • /license.txt
     的 HostID = node01 的 MAC 地址(建议用板载网卡 MAC,比 IB 卡更稳定)

node02 配置

  • ✅ 不需要ansys-license.service
  • ✅ 只需要确保以下两项:
    1. /home
       和 /opt/software NFS 挂载正常(df -h 确认)
    2. ~/.ssh/rc
       已正确设置(第六章已完成,解决 SSH 非交互式 libmpi.so.12 找不到的问题)
  • Fluent 图形界面里 Select IP Interface / License Server 填 10.0.0.1

验证 node02 能访问 node01 的 License Server

# 在 node02 上验证nc -zv 10.0.0.1 2325 && echo "✅ License Server 可达"# 或用 lmutil 查验 license/opt/software/ansys_inc/shared_files/licensing/linx64/lmutil lmstat -a -c 2325@10.0.0.1

方案B:两台都跑 License Server(双机独立)

前提条件

  1. 每台机器有独立的 /license.txt,HostID 分别对应各自的 MAC 地址
  2. 两台机器的 license 文件不能相同!
    (从其他目录随意拷贝的 license 文件大概率不能用,需要向 ANSYS 申请对应 HostID 的有效 license)

node02 的 ansys-license.service

内容与 node01 完全相同(因为 /opt/software 是 NFS 共享的,ANSYS 程序路径一致,直接复制即可):

# 在 node02 上执行cat > /etc/systemd/system/ansys-license.service << 'EOF'[Unit]Description=ANSYS License Server (LMCenter + FlexNet)After=network-online.target remote-fs.target nfs-client.targetWants=network-online.target[Service]Type=oneshotRemainAfterExit=yes# 1. 清理残留进程(不用 -f 参数,避免误杀自己)ExecStartPre=/bin/bash -c "pkill -9 lmgrd; pkill -9 ansyslmd; pkill -9 tomcat; sleep 2; exit 0"# 2. 等待 license 文件就绪(防止开机时文件还没挂载好)ExecStartPre=/bin/bash -c "for i in $(seq 1 15) ; do test -f /license.txt && exit 0; sleep 2; done; exit 1"# 3. 启动 LMCenter(Tomcat 管理界面,端口 1084)ExecStartPre=/bin/bash -c "nohup /opt/software/ansys_inc/shared_files/licensing/start_lmcenter >/dev/null 2>&1 & sleep 5; exit 0"# 4. 启动 FlexNet lmgrd(端口 1055/2325)ExecStart=/bin/bash -c "nohup /opt/software/ansys_inc/shared_files/licensing/linx64/lmgrd -c /license.txt -l /opt/software/ansys_inc/shared_files/licensing/logs/license.log >/dev/null 2>&1 & exit 0"# 5. 停止时清理所有进程ExecStop=/bin/bash -c "pkill -9 lmgrd; pkill -9 ansyslmd; pkill -9 tomcat; exit 0"User=rootTimeoutStartSec=120[Install]WantedBy=multi-user.targetEOFsystemctl daemon-reloadsystemctl enable ansys-license.servicesystemctl start ansys-license.service

⚠️ 重要注意事项

项目
说明
license 文件
每台机器必须有自己独立的 license 文件,HostID 分别对应各自的 MAC
端口冲突
两台机器独立运行,各自监听 1055/2325,不冲突(冲突只发生在同一台机器启动多个 lmgrd)
logs 目录冲突/opt/software/.../logs/
 是 NFS 共享的,两台机器的 log 会写同一个文件 → 建议改成本地路径
Fluent 连接谁
Fluent 的 License Preferences 里可以填 10.0.0.1 或 10.0.0.2,分别连不同的 License Server

建议:修改 log 路径避免冲突(两台机器各自写本地 log):

# node01 的 service 文件中 -l 参数改为:-l /var/log/ansys-license-node01.log# node02 的 service 文件中 -l 参数改为:-l /var/log/ansys-license-node02.log

修改后 reload 并重启:

systemctl daemon-reloadsystemctl restart ansys-license.service

如何选择?

  • 集群统一管理的场景
    (node01 和 node02 永远在一起)→ 选方案A(简单,维护成本低)
    注:本人使用的是这个方案,只有主节点(node01)设置开机自启,node02未设置开机自启,已测试可以调用node02的核心数
  • 两台机器可能独立运行
    (比如在不同地点,或分别给不同团队使用)→ 选方案B(各自独立,互不影响)

💡 实际建议:对于你目前的 2 节点集群(node01 + node02 在同一机房,通过 IB 交换机互联),方案A 更简单实用。只需要在 node01 上维护一份 license 文件,node02 开机后直接连 node01 的 License Server 即可。

六、Fluent 并行计算系统限制问题解决方案

2026-05-27 新增:解决多节点并行启动时 Too many open files 和 Out of memory (ulimit -l) 报错。

问题现象

多节点并行启动时(Fluent 通过 SSH 在 node02 上启动进程),报以下错误:

Too many open files

和/或:

Please set max locked memory (ulimit -l) to 'unlimited' (current64 kbytes)Out of memory

以及:

error while loading shared libraries: libmpi.so.12: cannot open shared object file

根本原因

限制项
默认值
并行需要
影响
ulimit -n
(open files)
1024
≥ 65536
进程数多时文件描述符不够
ulimit -l
(max locked memory)
64 KB
unlimited
IB 卡需要锁定内存,否则 Out of memory
LD_LIBRARY_PATH
未设置
需要 MPI 库路径
SSH 非交互式启动进程时不加载 .bashrc,找不到 libmpi.so.12

完整解决方案(所有节点都要执行)

步骤 1:修改 /etc/security/limits.conf

# 备份cp /etc/security/limits.conf /etc/security/limits.conf.bak.$(date+%F)# 修改 * 通配符(所有用户生效)sed -i 's/^\*\s*soft\s*nofile.*/\*    soft    nofile    1048576/' /etc/security/limits.confsed -i 's/^\*\s*hard\s*nofile.*/\*    hard    nofile    1048576/' /etc/security/limits.confsed -i 's/^\*\s*soft\s*memlock.*/\*    soft    memlock    unlimited/' /etc/security/limits.confsed -i 's/^\*\s*hard\s*memlock.*/\*    hard    memlock    unlimited/' /etc/security/limits.conf# 验证tail -10 /etc/security/limits.conf

⚠️ 如果 limits.conf 里已有 * soft nofile 1024 之类的配置,会被后面的 * 行覆盖,确保最终值是 1048576

步骤 2:修改 systemd 配置(关键!图形登录用户会话会覆盖 PAM limits)

# system.conf(系统级)sed -i 's/^#DefaultLimitNOFILE=.*/DefaultLimitNOFILE=1048576:1048576/' /etc/systemd/system.confsed -i 's/^#DefaultLimitMEMLOCK=.*/DefaultLimitMEMLOCK=infinity:infinity/' /etc/systemd/system.confgrep -q '^DefaultLimitNOFILE=' /etc/systemd/system.conf || echo 'DefaultLimitNOFILE=1048576:1048576' >> /etc/systemd/system.confgrep -q '^DefaultLimitMEMLOCK=' /etc/systemd/system.conf || echo 'DefaultLimitMEMLOCK=infinity:infinity' >> /etc/systemd/system.conf# user.conf(用户级)sed -i 's/^#DefaultLimitNOFILE=.*/DefaultLimitNOFILE=1048576:1048576/' /etc/systemd/user.confsed -i 's/^#DefaultLimitMEMLOCK=.*/DefaultLimitMEMLOCK=infinity:infinity/' /etc/systemd/user.confgrep -q '^DefaultLimitNOFILE=' /etc/systemd/user.conf || echo 'DefaultLimitNOFILE=1048576:1048576' >> /etc/systemd/user.confgrep -q '^DefaultLimitMEMLOCK=' /etc/systemd/user.conf || echo 'DefaultLimitMEMLOCK=infinity:infinity' >> /etc/systemd/user.conf# user slice(systemd 用户会话 slice)mkdir -p /etc/systemd/user/user.slice.dcat > /etc/systemd/user/user.slice.d/limits.conf << 'EOF'[Slice]LimitNOFILE=1048576LimitMEMLOCK=infinityEOF# 重载 systemdsystemctl daemon-reexecsystemctl daemon-reload

步骤 3:确保 PAM limits 在图形登录时加载

# GDM 密码登录grep -q 'pam_limits.so' /etc/pam.d/gdm-password || echo 'session required pam_limits.so' >> /etc/pam.d/gdm-password# GDM 自动登录(如有)[ -f /etc/pam.d/gdm-autologin ] && grep -q 'pam_limits.so' /etc/pam.d/gdm-autologin || ( [ -f /etc/pam.d/gdm-autologin ] && echo 'session required pam_limits.so' >> /etc/pam.d/gdm-autologin )# 字符终端登录grep -q 'pam_limits.so' /etc/pam.d/login || echo 'session required pam_limits.so' >> /etc/pam.d/login# SSH 登录grep -q 'pam_limits.so' /etc/pam.d/sshd || echo 'session required pam_limits.so' >> /etc/pam.d/sshdsystemctl restart sshd

步骤 4:创建 ~/.ssh/rc(解决 SSH 远程启动时 libmpi.so.12 找不到的问题)

所有节点的 普通 用户(username)都要做!

cat > /home/username/.ssh/rc << 'EOF'#!/bin/bashexport LD_LIBRARY_PATH=/opt/software/ansys_inc/v252/fluent/fluent25.2.0/multiport/mpi/lnamd64/intel/lib:$LD_LIBRARY_PATHulimit -n 65536 2>/dev/nullulimit -l unlimited 2>/dev/nullEOFchmod 755 /home/username/.ssh/rc

原理~/.ssh/rc 在每次 SSH 连接时执行(包括 Fluent 远程启动进程的非交互式 SSH),确保 LD_LIBRARY_PATH 被正确设置。

步骤 5:验证配置生效

必须完全注销图形会话后重新登录!

# 注销当前用户(图形界面点注销,或执行:)loginctl terminate-user username# 重新登录后验证ulimit -n    # 应显示 1048576ulimit -l    # 应显示 unlimited

⚠️ 注意:修改 limits.conf 和 systemd 配置后,关闭终端窗口不够,必须完全注销并重新登录(图形界面)才能生效。

各节点配置检查清单

检查项
node01
node02
命令
limits.conf
 已修改
✅ 必须
✅ 必须
tail -5 /etc/security/limits.conf
systemd/system.conf
 已修改
✅ 必须
✅ 必须
grep DefaultLimit /etc/systemd/system.conf
systemd/user.conf
 已修改
✅ 必须
✅ 必须
grep DefaultLimit /etc/systemd/user.conf
user.slice.d/limits.conf
 已创建
✅ 必须
✅ 必须
cat /etc/systemd/user/user.slice.d/limits.conf
PAM pam_limits.so 已添加
✅ 必须
✅ 必须
grep pam_limits /etc/pam.d/gdm-password
~/.ssh/rc
 已创建
✅ 必须
✅ 必须
cat ~/.ssh/rc
重新登录后 ulimit -n = 1048576
✅ 必须验证
✅ 必须验证
ulimit -n
重新登录后 ulimit -l = unlimited
✅ 必须验证
✅ 必须验证
ulimit -l

临时方案(不想改系统文件时用)

每次启动 Fluent 前,在终端里手动设置:

ulimit -n 65536ulimit -l unlimitedfluent -g -t4 -cnf="node01:4,node02:4" -ipc=ib

⚠️ 临时方案关闭终端后就失效,下次启动 Fluent 需要重新设置。生产环境请用上面的永久方案。

七、Fluent 集群并行计算配置

前提:已完成本章「六、Fluent 并行计算系统限制问题解决方案」的所有配置!

前提条件清单

项目
状态
验证命令
软件目录 NFS 共享
✅ 已挂载
所有节点 ls /opt/software/ansys_inc
SSH 免密互通
⚠️ 需确认
ssh node01 hostname
License Server 运行中
✅ 已配好
ss -tlnp | grep 2325
计算节点可访问 License
⚠️ 需确认
ssh node01 "nc -zv <LS_IP> 2325"
MPI 已安装
⚠️ 需确认
which mpirun

步骤 1:配置 SSH 免密登录

# 主节点生成密钥(如果没有)ssh-keygen (回车,一直按回车自动生成密钥)# 分发公钥到所有计算节点ssh-copy-id user@node01ssh-copy-id user@node02ssh-copy-id user@node03# 验证免密ssh node01 "hostname && date"

步骤 2:创建机器文件(hostfile)

cat > ~/fluent_hosts << 'EOF'node01:4node02:4node03:4EOF

格式说明:

主机名:核数    # 每个 IP 后跟该节点使用的 CPU 核数

步骤 3:设置 License 环境变量

# 写入全局 profile(所有用户生效)cat >> /etc/profile.d/ansys2025.sh << 'EOF'export ANSYSLMD_LICENSE_FILE="2325@<LicenseServer_IP>"EOFsource /etc/profile.d/ansys2025.sh

步骤 4:Fluent Launcher 图形界面配置

  1. 打开 Fluent Launcher:fluent25r2
  2. 左侧选择 Parallel Settings
  3. 填写参数:
参数
填写内容
Parallel Type
Distributed Memory (MPI)
Number of Processes
总核数(如 12)
Machine File
/home/user/fluent_hosts
MPI Types
intel / openmpi(根据实际安装)
  1. 点击 Start

步骤 5:命令行启动(推荐用于生产)

# 单机多核测试fluent25r2 3ddp -g -t8 < /dev/null# 集群多节点并行fluent25r2 3ddp \  -g \                    # batch 模式(无 GUI)  -t8 \                   # 总进程数  -cnf=~/fluent_hosts \   # 机器文件  -mpi=intel \            # MPI 类型  -i input.jou            # 输入脚本# 交互式 GUI + 并行fluent25r2 3ddp -t8 -cnf=~/fluent_hosts

单机 vs 集群的 License 差异

模式
License 消耗
说明
单机少核(1-4)
1 个任务许可
通常没问题 ✅
集群并行(多核/多节点)1个任务 + N个HPC并行许可
⚠️ 可能不够!

如果并行时报 license 错误但单机能用,大概率是 HPC 并行许可证数量不足。检查方法:

# 查看 license 使用情况<lmutil路径>/lmstat -a -c 2325@localhost# 或在 License Manager 网页查看# 左侧菜单 → View FlexNet Licenses# 关注 hpc / aaR_hpc 特征的 total / used / available

步骤 6:防火墙放行(如果开了防火墙)

# MPI 通信需要开放端口范围firewall-cmd --permanent --add-port={7890-7900}/tcpfirewall-cmd --reload# 或者在 fluent 中指定端口fluent25r2 3ddp -t8 -cnf=~/fluent_hosts -mpioptions="-mca btl_tcp_port_include 7890:7900"

八、常见问题速查表

NVIDIA 驱动相关

错误信息
原因
解决方法
kernel module 'nvidia-drm' already loaded
旧模块残留
rmmod
 或 reboot
could not connect to display
无 X11 显示
加 -g 参数或配 X11 转发
modprobe: FATAL
 找不到模块
驱动文件已删
用 rmmod 替代,或 reboot
nvidia-smi
 command not found
驱动未安装
重装驱动包

License 相关

错误信息
原因
解决方法
Unexpected license problem
连不上 License Server
检查 lmgrd 是否运行
license manager is stopped
只有 Tomcat 跑了
手动启动 lmgrd
port 1084 already in use
上次残留没清理
pkill -9 tomcat
 再启动
systemctl status=203/EXEC
systemd 解析 ExecStartPre 引号失败
简化命令,避免复杂 shell 内嵌
pkill 自伤退出pkill -9 -f lmgrd
 匹配到自身
去掉 -f,只匹配进程名
开机自启失败
/license.txt
 在 NFS 上,开机时未挂载
After=nfs-client.target
 + 脚本内等文件就绪
Tomcat 正常但证书不可用
LMCenter 和 lmgrd 是独立组件
两个都要启动,不只启 Tomcat

Fluent 并行相关

错误信息
原因
解决方法
单机能行,并行报错
HPC license 不够
减少核数或增加 license
connection refused
SSH 免密没通
配 ssh-keygen + ssh-copy-id
计算节点连不上 license
网络不通
确保 nc -zv LS_IP 2325 通
NFS 目录找不到
未正确挂载
检查 /etc/fstab 和 mount

系统运维相关

操作
命令
查看 nvidia 模块
lsmod | grep nvidia
卸载 nvidia 模块
rmmod nvidia_drm nvidia_modeset nvidia_uvm nvidia
查看端口占用
ss -tlnp | grep 端口号
查看谁占用了设备
fuser -v /dev/nvidia*
查看 X 授权
xauth list
注入 X 授权(su 后)
xauth merge /tmp/xauth_tmp
查看 SELinux 状态
sestatus
 或 getenforce
临时关闭 SELinux
setenforce 0

附录:完整一键部署参考

以下命令按顺序执行,可在全新环境中快速搭建:

#!/bin/bash# ===== ANSYS Fluent 集群环境一键配置参考 =====# 请根据实际情况修改路径和 IP 地址!# ---- 1. 变量定义 ----LICENSE_SERVER_IP="你的License服务器IP"LICENSE_FILE="/license.txt"LMGRD_PATH="/opt/software/ansys_inc/shared_files/licensing/linx64/lmgrd"LOG_PATH="/opt/software/ansys_inc/shared_files/licensing/logs/license.log"# ---- 2. 配置 License Server 开机自启 ----cat > /etc/systemd/system/ansys-license.service << EOF[Unit]Description=ANSYS License Server (LMCenter + FlexNet)After=network-online.target remote-fs.target nfs-client.target[Service]Type=oneshotRemainAfterExit=yes# 1. 清残留进程(去掉 -f,避免自伤)ExecStartPre=/bin/bash -c "pkill -9 lmgrd; pkill -9 ansyslmd; pkill -9 tomcat; sleep 2; exit 0"# 2. 等 NFS 就绪,/license.txt 可访问ExecStartPre=/bin/bash -c "for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15; do test -f /license.txt && exit 0; sleep 2; done; exit 1"# 3. 启动 LMCenter (Tomcat 管理界面,端口 1084)ExecStartPre=/bin/bash -c "nohup /opt/software/ansys_inc/shared_files/licensing/start_lmcenter >/dev/null 2>&1 & sleep 5; exit 0"# 4. 启动 FlexNet lmgrd (核心证书服务,端口 1055/2325)ExecStart=/bin/bash -c "nohup \$LMGRD_PATH -c \$LICENSE_FILE -l \$LOG_PATH >/dev/null 2>&1 & exit 0"# 5. 停止时清理所有进程ExecStop=/bin/bash -c "pkill -9 lmgrd; pkill -9 ansyslmd; pkill -9 tomcat; exit 0"User=rootTimeoutStartSec=120[Install]WantedBy=multi-user.targetEOF# ---- 3. 设置 License 环境变量 ----cat > /etc/profile.d/ansys2025.sh << EOFexport ANSYSLMD_LICENSE_FILE="2325@\$LICENSE_SERVER_IP"EOF# ---- 4. 启用并启动 ----systemctl daemon-reloadsystemctl enable ansys-license.servicesystemctl start ansys-license.serviceecho"✅ ANSYS License Server 配置完成!"echo"   验证: systemctl status ansys-license.service"echo"   验证: ss -tlnp | grep 2325"

本文档基于 #Rocky #Linux  + #ANSYS2025R2 #fluent2025#NVIDIA 580.105.08 实际操作整理。如有问题欢迎交流讨论。

最新文章

随机文章

基本 文件 流程 错误 SQL 调试
  1. 请求信息 : 2026-07-03 00:54:39 HTTP/2.0 GET : https://f.mffb.com.cn/a/496147.html
  2. 运行时间 : 0.224149s [ 吞吐率:4.46req/s ] 内存消耗:4,792.07kb 文件加载:140
  3. 缓存信息 : 0 reads,0 writes
  4. 会话信息 : SESSION_ID=1fcf10d976a1d9c20f180a50c0bc7a5f
  1. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/public/index.php ( 0.79 KB )
  2. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/autoload.php ( 0.17 KB )
  3. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/composer/autoload_real.php ( 2.49 KB )
  4. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/composer/platform_check.php ( 0.90 KB )
  5. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/composer/ClassLoader.php ( 14.03 KB )
  6. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/composer/autoload_static.php ( 4.90 KB )
  7. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/helper.php ( 8.34 KB )
  8. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-validate/src/helper.php ( 2.19 KB )
  9. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/helper.php ( 1.47 KB )
  10. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/stubs/load_stubs.php ( 0.16 KB )
  11. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Exception.php ( 1.69 KB )
  12. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-container/src/Facade.php ( 2.71 KB )
  13. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/symfony/deprecation-contracts/function.php ( 0.99 KB )
  14. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/symfony/polyfill-mbstring/bootstrap.php ( 8.26 KB )
  15. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/symfony/polyfill-mbstring/bootstrap80.php ( 9.78 KB )
  16. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/symfony/var-dumper/Resources/functions/dump.php ( 1.49 KB )
  17. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-dumper/src/helper.php ( 0.18 KB )
  18. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/symfony/var-dumper/VarDumper.php ( 4.30 KB )
  19. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/App.php ( 15.30 KB )
  20. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-container/src/Container.php ( 15.76 KB )
  21. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/psr/container/src/ContainerInterface.php ( 1.02 KB )
  22. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/provider.php ( 0.19 KB )
  23. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Http.php ( 6.04 KB )
  24. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/helper/Str.php ( 7.29 KB )
  25. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Env.php ( 4.68 KB )
  26. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/common.php ( 0.03 KB )
  27. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/helper.php ( 18.78 KB )
  28. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Config.php ( 5.54 KB )
  29. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/app.php ( 0.95 KB )
  30. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/cache.php ( 0.78 KB )
  31. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/console.php ( 0.23 KB )
  32. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/cookie.php ( 0.56 KB )
  33. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/database.php ( 2.48 KB )
  34. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/facade/Env.php ( 1.67 KB )
  35. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/filesystem.php ( 0.61 KB )
  36. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/lang.php ( 0.91 KB )
  37. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/log.php ( 1.35 KB )
  38. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/middleware.php ( 0.19 KB )
  39. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/route.php ( 1.89 KB )
  40. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/session.php ( 0.57 KB )
  41. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/trace.php ( 0.34 KB )
  42. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/view.php ( 0.82 KB )
  43. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/event.php ( 0.25 KB )
  44. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Event.php ( 7.67 KB )
  45. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/service.php ( 0.13 KB )
  46. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/AppService.php ( 0.26 KB )
  47. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Service.php ( 1.64 KB )
  48. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Lang.php ( 7.35 KB )
  49. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/lang/zh-cn.php ( 13.70 KB )
  50. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/initializer/Error.php ( 3.31 KB )
  51. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/initializer/RegisterService.php ( 1.33 KB )
  52. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/services.php ( 0.14 KB )
  53. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/service/PaginatorService.php ( 1.52 KB )
  54. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/service/ValidateService.php ( 0.99 KB )
  55. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/service/ModelService.php ( 2.04 KB )
  56. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-trace/src/Service.php ( 0.77 KB )
  57. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Middleware.php ( 6.72 KB )
  58. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/initializer/BootService.php ( 0.77 KB )
  59. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/Paginator.php ( 11.86 KB )
  60. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-validate/src/Validate.php ( 63.20 KB )
  61. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/Model.php ( 23.55 KB )
  62. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/Attribute.php ( 21.05 KB )
  63. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/AutoWriteData.php ( 4.21 KB )
  64. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/Conversion.php ( 6.44 KB )
  65. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/DbConnect.php ( 5.16 KB )
  66. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/ModelEvent.php ( 2.33 KB )
  67. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/RelationShip.php ( 28.29 KB )
  68. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/contract/Arrayable.php ( 0.09 KB )
  69. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/contract/Jsonable.php ( 0.13 KB )
  70. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/contract/Modelable.php ( 0.09 KB )
  71. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Db.php ( 2.88 KB )
  72. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/DbManager.php ( 8.52 KB )
  73. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Log.php ( 6.28 KB )
  74. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Manager.php ( 3.92 KB )
  75. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/psr/log/src/LoggerTrait.php ( 2.69 KB )
  76. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/psr/log/src/LoggerInterface.php ( 2.71 KB )
  77. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Cache.php ( 4.92 KB )
  78. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/psr/simple-cache/src/CacheInterface.php ( 4.71 KB )
  79. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/helper/Arr.php ( 16.63 KB )
  80. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/cache/driver/File.php ( 7.84 KB )
  81. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/cache/Driver.php ( 9.03 KB )
  82. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/contract/CacheHandlerInterface.php ( 1.99 KB )
  83. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/Request.php ( 0.09 KB )
  84. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Request.php ( 55.78 KB )
  85. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/middleware.php ( 0.25 KB )
  86. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Pipeline.php ( 2.61 KB )
  87. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-trace/src/TraceDebug.php ( 3.40 KB )
  88. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/middleware/SessionInit.php ( 1.94 KB )
  89. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Session.php ( 1.80 KB )
  90. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/session/driver/File.php ( 6.27 KB )
  91. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/contract/SessionHandlerInterface.php ( 0.87 KB )
  92. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/session/Store.php ( 7.12 KB )
  93. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Route.php ( 23.73 KB )
  94. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/RuleName.php ( 5.75 KB )
  95. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/Domain.php ( 2.53 KB )
  96. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/RuleGroup.php ( 22.43 KB )
  97. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/Rule.php ( 26.95 KB )
  98. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/RuleItem.php ( 9.78 KB )
  99. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/route/app.php ( 1.72 KB )
  100. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/facade/Route.php ( 4.70 KB )
  101. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/dispatch/Controller.php ( 4.74 KB )
  102. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/Dispatch.php ( 10.44 KB )
  103. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/controller/Index.php ( 4.81 KB )
  104. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/BaseController.php ( 2.05 KB )
  105. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/facade/Db.php ( 0.93 KB )
  106. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/connector/Mysql.php ( 5.44 KB )
  107. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/PDOConnection.php ( 52.47 KB )
  108. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/Connection.php ( 8.39 KB )
  109. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/ConnectionInterface.php ( 4.57 KB )
  110. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/builder/Mysql.php ( 16.58 KB )
  111. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/Builder.php ( 24.06 KB )
  112. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/BaseBuilder.php ( 27.50 KB )
  113. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/Query.php ( 15.71 KB )
  114. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/BaseQuery.php ( 45.13 KB )
  115. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/TimeFieldQuery.php ( 7.43 KB )
  116. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/AggregateQuery.php ( 3.26 KB )
  117. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/ModelRelationQuery.php ( 20.07 KB )
  118. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/ParamsBind.php ( 3.66 KB )
  119. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/ResultOperation.php ( 7.01 KB )
  120. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/WhereQuery.php ( 19.37 KB )
  121. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/JoinAndViewQuery.php ( 7.11 KB )
  122. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/TableFieldInfo.php ( 2.63 KB )
  123. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/Transaction.php ( 2.77 KB )
  124. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/log/driver/File.php ( 5.96 KB )
  125. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/contract/LogHandlerInterface.php ( 0.86 KB )
  126. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/log/Channel.php ( 3.89 KB )
  127. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/event/LogRecord.php ( 1.02 KB )
  128. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/Collection.php ( 16.47 KB )
  129. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/facade/View.php ( 1.70 KB )
  130. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/View.php ( 4.39 KB )
  131. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Response.php ( 8.81 KB )
  132. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/response/View.php ( 3.29 KB )
  133. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Cookie.php ( 6.06 KB )
  134. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-view/src/Think.php ( 8.38 KB )
  135. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/contract/TemplateHandlerInterface.php ( 1.60 KB )
  136. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-template/src/Template.php ( 46.61 KB )
  137. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-template/src/template/driver/File.php ( 2.41 KB )
  138. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-template/src/template/contract/DriverInterface.php ( 0.86 KB )
  139. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/runtime/temp/067d451b9a0c665040f3f1bdd3293d68.php ( 11.98 KB )
  140. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-trace/src/Html.php ( 4.42 KB )
  1. CONNECT:[ UseTime:0.000515s ] mysql:host=127.0.0.1;port=3306;dbname=f_mffb;charset=utf8mb4
  2. SHOW FULL COLUMNS FROM `fenlei` [ RunTime:0.000682s ]
  3. SELECT * FROM `fenlei` WHERE `fid` = 0 [ RunTime:0.000303s ]
  4. SELECT * FROM `fenlei` WHERE `fid` = 63 [ RunTime:0.000256s ]
  5. SHOW FULL COLUMNS FROM `set` [ RunTime:0.000570s ]
  6. SELECT * FROM `set` [ RunTime:0.000239s ]
  7. SHOW FULL COLUMNS FROM `article` [ RunTime:0.000659s ]
  8. SELECT * FROM `article` WHERE `id` = 496147 LIMIT 1 [ RunTime:0.006879s ]
  9. UPDATE `article` SET `lasttime` = 1783011279 WHERE `id` = 496147 [ RunTime:0.006986s ]
  10. SELECT * FROM `fenlei` WHERE `id` = 67 LIMIT 1 [ RunTime:0.000294s ]
  11. SELECT * FROM `article` WHERE `id` < 496147 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000464s ]
  12. SELECT * FROM `article` WHERE `id` > 496147 ORDER BY `id` ASC LIMIT 1 [ RunTime:0.008959s ]
  13. SELECT * FROM `article` WHERE `id` < 496147 ORDER BY `id` DESC LIMIT 10 [ RunTime:0.044602s ]
  14. SELECT * FROM `article` WHERE `id` < 496147 ORDER BY `id` DESC LIMIT 10,10 [ RunTime:0.013015s ]
  15. SELECT * FROM `article` WHERE `id` < 496147 ORDER BY `id` DESC LIMIT 20,10 [ RunTime:0.071140s ]
0.225689s