Configuring Samba is optional. Moab will send $HOME/dir as the user's working directory to MSMHPC. MSMHPC will look up the user's home directory in Active Directory and translate $HOME to that directory.
MSMHPC will attempt to start the job in the same directory where it was submitted on the Linux head node (usually the user's home directory). If you want, you can specify another directory via msub at job submission time. To run the job correctly, you must export your home directory and other common directories to the HPC cluster.
Alternatively, you can mirror your directory structure on the HPC head node. Note, though, that if you follow this process, files you may need to run jobs might not be available. To mirror the directory structure, create a tree of directories on the HPC head node mirroring your home directory and share the new directory with the name of the root directory.
For example, suppose there is a user named test. In test's home directory there is a directory named jobs that test uses to submit jobs. The full path of the directory must be created on the Windows head node. Create a folder named home at the root, C:\home, for example. Within the home folder, create another folder named test and another folder inside that one named jobs. Doing so yields the full path \home\test\jobs, the same as on Linux. The home directory would then need to be shared as home.
To configure Samba, do the following on the head node:
[home] comment = home path = /home browseable = yes read only = no
An administrator can configure Moab to store STDERR/STDOUT files in a Samba share, instead of on the compute node. To do so, follow these steps:
Copyright © 2011 Adaptive Computing Enterprises, Inc.®