Closed JiaoyanHuang closed 2 years ago
Hi Jiaoyan,
Yes, that command will start 3 worker processes running on the local computer.
Networking multiple computers to perform a MOVES run works the same in MOVES3 as MOVES2014. You'll just need to make sure that MOVES3 is installed on all computers, then set the sharedDistributedFolderPath
directive to be a shared drive location in the following configuration files:
On one computer, launch the run as normal (either via the GUI or the command line). Launch workers on all the other computers with the command you referenced in your message. Note that you'll need to manually terminate the worker processes once the MOVES run completes on the master side.
Daniel,
Thanks for a quick response, I still have few questions:
start cmd /k ant 3workers -Dnoshutdown=1
Thank you!
Joey
Yes, you will want the same minor version installed.
The sharedDistributedFolderPath does not need to be in the MOVES directory, but it could be if MOVES was installed on a shared network drive. It could also be something as simple as \\sharedlocation\MOVESSharedWork
.
MOVES can take advantage of distributed computing resources simply through this shared directory. Essentially, this is what happens during a MOVES run (please excuse the outdated terminology; I'm just using these terms to be consistent with our other documentation):
So all you need to do to get workers running on different computers is to configure them to use the same sharedDistributedFolderPath as your MOVES master is using, and then start them with start cmd /k ant 3workers -Dnoshutdown=1
. You can check to make sure it is working because each worker that you start will create an ID file in the sharedDistributedFolderPath, and the timestamp on this file will update every minute.
Perfect! Thank you!
Hey,
I am reading this document, in the sections related to master and worker run https://github.com/USEPA/EPA_MOVES_Model/blob/master/docs/CommandLineMOVES.md
start cmd /k ant 3workers -Dnoshutdown=1
I am just wonder this will add 3 worker cpus from the same computer using master CPU, right?
I remember in MOVES2014, we can add worker cpus from another computer, is that still allowed in MOVES3, and how to setup the setup.bat to call different computers?
thanks