客户端/服务器模式下,pvpython操作完数据后,paraview客户端未响应

In client / server mode, the paraview client does not respond after pvpython completes data operation

windows休眠后,paraview未响应,可能与opengl驱动程序有关。
Github全面详解-22 为开源项目提bug

1.Paraview client crashes while loading data

Paraview客户端在加载数据时崩溃

我已安装服务器-客户端模式下的paraview。客户端已成功连接到服务器。但当我试图从GUI将数据加载到paraview时,它崩溃了,并且在服务器端显示以下错误。

客户端已连接
错误:在/ParaView/VTK/Parallel/Core/vtkSocketCommunicator中。cxx,第809行vtkSocketCommunicator(0x1f634f0):无法接收标记。1.
错误:在/ParaView/VTK/Common/System/vtkSocket中。cxx,第572行vtkClientSocket(0x1f95d50):要发送的调用中出现套接字错误。管子断了。
错误:在/ParaView/VTK/Common/System/vtkSocket中。cxx,第572行vtkClientSocket(0x1f95d50):要发送的调用中出现套接字错误。管子断了。
错误:在/ParaView/VTK/Common/System/vtkSocket中。cxx,第572行,但是相同的数据文件在本地系统上工作正常。

您是构建ParaView还是使用二进制版本?您能否通过调试器运行客户端,并在其崩溃时提供堆栈跟踪?这将有助于了解可能发生的情况。

我构建了服务器。它在ubuntu上,有2K40 GPU。客户端是windows7上的预构建二进制文件。您能告诉我如何使用调试器启动客户端吗?事实上,在我最近重建服务器之前,我一直工作得很好,这个问题突然出现了

Sounds like a mismatch between the code from which the client and server were built. You need to compile the server code with the same code with which the client was built. If your binary is version 5.2.0, then on the server side make sure you are using the 5.2.0 source code, either downloaded from [1] or check out the v5.2.0 tag in the git repository. If you are building from the git repository, make sure you run ‘git submodule update’ after checking out the v5.2.0 tag and before you compile – that is a common source of problems with client/server communication.
听起来像是构建客户端和服务器的代码不匹配。您需要使用构建客户机时使用的相同代码编译服务器代码。如果二进制文件是5.2版。0,然后在服务器端确保您正在使用5.2。0源代码,从[1]下载或查看v5。git存储库中的2.0标记。如果您是从git存储库进行构建,请确保在签出v5后运行“git子模块更新”。2.0标记和编译之前-这是客户机/服务器通信常见问题的根源。

这确实是问题所在。客户满意度为5.2。0 RC3,而服务器为RC4。我将服务器降级为RC3,现在工作正常。谢谢

2.paraview|high performance computing

3. C/S mode+MPI Paraview

paraview使用GUI连接服务器,为什么paraview需要下载带mpi版本的?

  • 尝试使用MPI版本的paraview,或许就不会卡死==>问题并没有解决
  • 或者安装paraview 5.10.0,即升级paraview,问题也可以解决==》升级为Paraview5.10.0之后,问题也没有解决
  • That said, what you could also do instead of relying on the –multi-clients feature is transfer the script to the ParaView GUI yourself through some custom sockets and execute the script directly within the GUI python shell (View -> Python Shell within the GUI). That is :
  • Create a ParaView plugin that listen to a specific port and can access the Python shell
    Create a program that sends a python file to a specific IP:port
    Launch the ParaView GUI you want to control with the ParaView plugin you created loaded
    Launch the program you created to transfer the python script to your ParaView plugin

mpiexec是什么

mpiexec是运行MPI并行程序的指令,基本格式为
mpiexec -n N ./xxxxxx
其中N是并行进程数,xxxxxx是并行程序名称。

进入服务器的paraview目录后输入以下指令:

 mpiexec -n 6 ./pvserver #在当前设备中创建6个进程,执行pvserver

MVAPICH2——mpiexec使用教程

mpiexec -n与-np的区别

MPI标准没有指定如何启动MPI列组,而是将其留给特定的实现来提供一种机制。它仅建议(有关详细信息,请参见MPI 3.1标准的第8.8节)提供名为mpiexec的启动器(如有必要),并且-n#procs是指定MPI进程初始数量的公认方法之一。因此,除非您确切地指定您正在使用的MPI实现,否则所提出的问题毫无意义。正如我在评论中已经说过的,对于大多数实现来说,这两个选项是同义的。

请注意,一些MPI实现可以与批处理调度系统(如Slurm、Torque等)集成,这些系统可能提供自己的机制来启动MPI作业。例如,OpenMPI提供了orterun进程启动器,符号链接为mpirun和mpiexec,它同时理解-n和-np选项。但是,在Slurm作业中运行时,使用srun,它只理解-n(实际上它有一组完全不同的选项)。
Mpiexec difference between -n and -np?
mpirun mpd mpiexec

为什么T3D不会卡死,G3D和S3D却要卡死,python脚本代码有什么不同?

  • 因为pvserver在本地启动时,不会卡死,所以说明python脚本代码应该没有问题

The SM Tools are a set of tools developed to create and edit streaming movie files (sm). SM工具是一组用于创建和编辑流媒体电影文件(SM)的工具。

Threading building blocks
TBB并行编程
https://jobs.kitware.com/.

© 版权声明
THE END
喜欢就支持一下吧
点赞0 分享
评论 抢沙发
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称表情代码图片

    暂无评论内容