栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 系统运维 > 运维 > Linux

远程服务器运行CoppeliaSim

Linux 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

远程服务器运行CoppeliaSim

Run CoppeliaSim on remote server or cluster

For those asynchronous DRL algorithm, ‘PS-Workers’ is one of common framework with TensorFlow implementation, in which each worker often need run on one of GPU of remote server or cluster. Of cause, we can set the num_workers = 1 to run with PC, but in this manner it will greatly slow down the period of overall training, even reach a local maximumn with oscillation. In next, we post how to setup and run CoppeliaSim on remote server (Centos 7 platform).

Download CoppeliaSim v4.2 (Linux version)


Although, CoppeliaSim only release formal package on Ubuntu platform. We have proven that it can also run on Centos7 platform. Therefore, we suggest you download CoppeliaSim (Ubuntu 16.04) and copy it to remote server.

Setup system env

And add following command to ~/.bashrc:

export DISPLAY=:0.0
export COPPELIASIM_ROOT=[The absoulute path of your CoppeliaSim directory in remote server]
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$COPPELIASIM_ROOT
export QT_QPA_PLATFORM_PLUGIN_PATH=$COPPELIASIM_ROOT
Confirm GLIBCXX version

Because CoppeliaSim relies on GLIBCXX 3.4.21, you should first check the GLIBCXX version by following cammand:

$: strings /usr/lib64/libstdc++.so.6 | grep GLIBCXX

If strings results do not include 3.4.21, we suggest you to compile higher version GCC with source code (GCC 7 or 8). And then, copy new libstdc++.so.6.0.* file to /usr/lib64 and create new soft link named as ‘libstdc++.so.6’ that direct to /usr/lib64/libstdc++.so.6.0.*.

once you have updated and setupped GCC, you can run previous command to check GLIBCXX version.

Install VirtualGL

Download virtualgl rpm package and install it.

Run CoppeliaSim with Headless mode
$: cd CoppeliaSim_PATH
$: ./coppeliaSim -h &
转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/323555.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号