|
发表于 2024-12-10 22:12:42
|
显示全部楼层
因涉及非公开信息,原贴已删除,下述内容来自spectre用户手册,侵删:
You can use the following command to distribute a job locally using rsh across two hosts, hostA and hostB (with each host using 16 cores):
% spectre +preset=mx +mt=16 +xdp=rsh +hosts "hostA:1 hostB:1" /hm/test/input.scs
Note: The specified path, for example, /hm/test/input.scs, should be network accessible.
If you need to use ssh instead of rsh, you must specify the ssh argument with the +xdp option; however, the +hosts argument may remain unchanged.
% spectre +preset=mx +mt=16 +xdp=ssh +hosts "hostA:1 hostB:1" /hm/test/input.scs
In the LSF use model, it is assumed that Spectre X is started using the LSF job submission command or a user-specific wrapper. Spectre X automatically detects this and queries LSF for a list of hosts allocated to the job by LSF and the number of cores allocated on each host. Add the +xdp command-line option only without +mt to ensure that distributed mode is started.
In the following example, the bsub command is used to request a total of 32 cores, on two machines, with 16 cores on each machine. Spectre X automatically uses the allocated cores and machines supplied by LSF.
% bsub -n 32 -q rnd -P myProject -R "OSREL==EE70 && CPUS>=16 span[ptile=16]" spectre +preset=mx +xdp /hm/test/input.scs
If you want to use SGE instead of LSF, you can use the following equivalent command:
% qsub -l nodes=2,ppn=1,tpp=16 -V -cwd "spectre +preset=mx +xdp /hm/test/input.scs
If you want to use PBS instead of LSF, you can use the following equivalent command:
% qsub -l select=2:ncpus=16 -q rnd -P myProject "spectre +preset=mx +xdp /hm/test/input.scs
|
|