1. Configure IBM Spectrum LSF for DCV for Windows
Add the resource dcv to the $LSF_ENVDIR/lsf.shared and $LSF_ENVDIR/lsf.cluster files.
Procedure
- Log on to the LSF® management host as the LSF administrator.
- Set your LSF environment.
For csh or tcsh:
% source LSF_TOP/conf/cshrc.lsf
For sh, ksh, or bash:
$ . LSF_TOP/conf/profile.lsf
- Edit the file $LSF_ENVDIR/lsf.shared and add the resource
dcv:
Begin Resource RESOURCENAME TYPE INTERVAL INCREASING DESCRIPTION # Keywords dcv Boolean () () (dcv resource type) End Resource
- Edit the file $LSF_ENVDIR/lsf.cluster and add the
dcv resource to each LSF server host
(application host).
For example, your application hosts are dcv_vm1 and dcv_vm2:
Begin Host HOSTNAME model type server r1m mem swp RESOURCES #Keywords dcv_vm1 ! ! 1 3.5 () () (dcv) dcv_vm2 ! ! 1 3.5 () () (dcv) End Host
- Configure LSF so that each LSF server host (application host) only has 1 job slot. Complete this step
only if LSF server hosts (application hosts) have more than 1
CPU.
This is required so that only one application can run at the same time on the host and DCV works properly.
Edit the file $LSF_ENVDIR/lsb.hosts and set the MXJ parameter to 1 for each LSF server host.
- Edit the file $LSF_ENVDIR/lsf.conf and define the
LSF_USER_DOMAIN parameter.
- If LSF server hosts are configured as a Windows Workgroup, set
LSF_USER_DOMAIN=.
as the user domain. - If LSF server hosts are configured in a domain, set
LSF_USER_DOMAIN=domain_name
as the user domain.For example, if your domain name is mydomain, set
LSF_USER_DOMAIN=mydomain
as the user domain.
- If LSF server hosts are configured as a Windows Workgroup, set
- Run the lsadmin reconfig and badmin reconfig commands to make your changes take effect.