# Trying to set up external RL environment and having trouble

**URL:** <https://discuss.ray.io/t/trying-to-set-up-external-rl-environment-and-having-trouble/3265>\
**Category:** RLlib\
**Created:** [August 16, 2021, 7:07pm UTC](https://discuss.ray.io/t/trying-to-set-up-external-rl-environment-and-having-trouble/3265 "2021-08-16T19:07:42Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![rusu24edward](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/rusu24edward/32/333_2.png) [@rusu24edward](https://discuss.ray.io/u/rusu24edward)\
**Post date:** [September 28, 2021, 6:34pm UTC](https://discuss.ray.io/t/trying-to-set-up-external-rl-environment-and-having-trouble/3265/16 "2021-09-28T18:34:36Z")

</div>

@import-antigravity Take a look at my post [here](https://discuss.ray.io/t/ray-slurm-with-rllib/3073), which includes an example slurm script. You can use the same slurm script to launch the trainer and the worker nodes. Please read the full post because the original slurm script is not correct and I had to make some changes based on the discussion I had with Sven.

---

_[View the full topic](https://discuss.ray.io/t/trying-to-set-up-external-rl-environment-and-having-trouble/3265)._
