If there are two hosts are availeble for NQS.
Add .rhosts under home directory of user for hosts identification.
<hostname1> <username1>
<hostname2> <username1>
NFS is needed for Parallel EGSnrc.
There are three batch processing options in BEAMnrc, short 20 min, medium 2 hours, and long 40 days. Here is the configuration for short. Host host1 runs as server and also as processing node. Its configuraion is,
# for short, run limit is 2 because only 2 processors on each host
qmgr create batch short-dest pipeonly run_limit=2 user_limit=2
qmgr set per_process cpu_limit = \( 0:20:0 \) short-dest
# highest priority for short-dest
qmgr set priority = 40 short-dest
########running part of nqs ##########
###### gate of short #######
qmgr create pipe short-in pipeonly run_limit=2 destination=short-dest
qmgr set lb_in short-in
###### end of gate ########
qmgr set scheduler host1
qmgr create pipe short destination=short-scheduler@host1
####### pipe of short #########
####### server side ########
# under Mgr As Server, add two destinations
create pipe short-scheduler run_limit=20 destination=(short-in@host1,short-in@host2)
qmgr set lb_out short-scheduler
For host2, which runs a processing node, it does not need to have the server side configuration. For medium and long, just change the name and parameters.
2 comments:
I am very interesting in EGSnrc,and want to run it on a mutlti core computer to parallel.Do u Hnow how to do it?
my email:myching@163.com
Post a Comment