Hi Ramon,
My response below assumes that you wish to run WESTPA using multiple computing nodes. If you wish to run WESTPA on a single compute node of a supercomputing facility (less likely), you can continue to use the processes work manager.
To run a single WESTPA job that uses multiple computing nodes, I suggest using the ZeroMQ work manager (zmq). The basic idea is that your Slurm submission script will start WESTPA as a master ZMQ server. Using srun, you will then launch a WESTPA process on each compute node; these WESTPA processes will be ZMQ clients ("--zmq-mode=node") which do the actual processing for the trajectory segments. WESTPA ZMQ internals will handle the allocation of trajectory segments among the nodes and handle data collection.
There are a few additional considerations when running WESTPA on a compute cluster/supercomputer. First, since you will be running the job on multiple machines, there is additional room for errors with environment variable inheritance. On newer systems I have not had much of an issue, but you may find it helpful to print environment variables (e.g., by running env) at the beginning of your runseg.sh or other scripts, at least until you have the simulation working. Second, since you will be running many processes at the same time, it is possible to overwhelm your computing facility's global storage arrays and network. For this reason, I suggest writing to local scratch space whenever performing a calculation (e.g., when running gmx mdrun), and then copying any desired files to global storage using rsync, after the calculations for a segment complete. You may also find it helpful to set an environment variable to the absolute path of each executable you commonly use (e.g., GMX=$(which gmx)) when starting the WESTPA server on each compute node; this decreases the number of times that your shell needs to resolve paths to executables.
In the attached tarball, I adapted one of my Slurm/WESTPA configurations into the gmx_nacl tutorial. This is intended to provide an example of how you might use the ZeroMQ work manager on a Slurm system. While I have tested the Slurm+ZMQ configuration and Gromacs tutorial separately, note that I have not tested the two together, as Gromacs 2016 is not installed on the clusters I use. For this reason, and because computing clusters differ, it is quite possible that the attached example will not work "out of the box". However it should provide a good starting place, and if you encounter errors, I would be happy to assist further.
Best,
Alex