The HPC System Directories, which include /home, /data, and /scratch, can be mounted to your local workstation if you are on the NIH network or VPN, allowing you to easily drag and drop files between the two places. Note that this is most suitable for transferring small file. Users transferring large amounts of data to and from the HPC systems should continue to use scp/sftp/globus.
Mounting your HPC directories to your local system is particularly userful for viewing HTML reports generated in the course of your analyses on the HPC systems. For these cases, you should be able to navigate to and select the desired html file to open them in your local system's web browser.
Windows: Mapped Network Drive
In the search box (lower left), type 'this pc':
Click on the 'Open' link in the right panel:
Click the 'Map network drive' icon from the top menu bar, and expand select list:
Enter the directory you want to mount as follows:
Directory | SMB path
Your home directory | /home/[user] \\hpcdrive.nih.gov\[user]
| Your data directory | /data/[user] \\hpcdrive.nih.gov\data
| /scratch area | \\hpcdrive.nih.gov\scratch
| Your own /scratch/[user] directory | \\hpcdrive.nih.gov\scratch\[user]
| Shared group area | (e.g./data/PQRlab where you are a member of group PQRlab) \\hpcdrive.nih.gov\name_of_shared_area | (e.g. \\hpcdrive.nih.gov\\PQRlab) |
---|
Make sure to replace [user] with your NIH login!!!
Because the NIH HPC systems are authenticated using NIH Login, you should not have to enter your user or password.
Select 'Reconnect at sign-in' if you wish the directory mount to automatically reconnect every time you restart.
Click the 'Finish' button.
Please note that if you are trying to map hpcdrive from a lab computer on an institute local domain you may have to adjust the login credentials from the institute domain (e.g., NCBT_NT\username) to the global NIH domain (NIH\username) for it to work. You will know this is needed if you are presented with an additional popup saying that the credentials for the drive are invalid and to please provide different credentials.
You should see a listing of your directory in the File Explorer panel.
You have successfully mapped your HPC directory to your desktop machine! You should see a network icon in the My Computer folder. You can create a shortcut to this drive on your desktop.
Please note that the disk usage information is not correct for your /home directory, but it is correct for your /data directory.
Windows: Add Network Location
This method is ALWAYS ACCESSIBLE unless there are network issues or you get a new machine.
On your desktop machine, right-click the 'Computer' tab and click the 'Add Network Location' menu item to start the wizard. Click 'Next' when the following window pops up
Enter the shared drive you want to mount as follows:
Directory | SMB path
Your home directory | /home/[user] \\hpcdrive.nih.gov\[user]
| Your data directory | /data/[user] \\hpcdrive.nih.gov\data
| /scratch area | \\hpcdrive.nih.gov\scratch
| Your own /scratch/[user] directory | \\hpcdrive.nih.gov\scratch\[user]
| Shared group area | (e.g./data/PQRlab where you are a member of group PQRlab) \\hpcdrive.nih.gov\name_of_shared_area | (e.g. \\hpcdrive.nih.gov\PQRlab) |
---|
Make sure to replace [user] with your NIH login!!!
Click the 'Next' button.
Please note that if you are trying to map hpcdrive from a lab computer on an institute local domain you may have to adjust the login credentials from the institute domain (e.g., NCBT_NT\username) to the global NIH domain (NIH\username) for it to work. You will know this is needed if you are presented with an additional popup saying that the credentials for the drive are invalid and to please provide different credentials.
You can name the location, although, the default name is fine.
Click the 'Finish' button
To see larger image, right-click &arr; View Image
Macs: Mapped Network Drive
Directory | SMB path
Your home directory | /home/[user] smb://hpcdrive.nih.gov/user
| Your data directory | /data/[user] smb://hpcdrive.nih.gov/data
| /scratch area | smb://hpcdrive.nih.gov/scratch
| Your own /scratch/[user] directory | smb://hpcdrive.nih.gov/scratch/user
| Shared group area | (e.g./data/PQRlab where you are a member of group PQRlab) smb://hpcdrive.nih.gov/PQRlab
| |
---|
Linux: Mapped Network Drive
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y krb5-user krb5-config keyutils
sudo yum install krb5-workstation krb5-libs keyutils
[logging] default = FILE:/var/log/krb5libs.log kdc = FILE:/var/log/krb5kdc.log admin_server = FILE:/var/log/kadmind.log [libdefaults] default_realm = NIH.GOV dns_lookup_realm = false dns_lookup_kdc = false ticket_lifetime = 24h renew_lifetime = 7d forwardable = true [realms] NIH.GOV = { kdc = nihdcadhub.nih.gov kdc = nihdcadhub2.nih.gov kdc = nihdcadhub3.nih.gov admin_server = nihdcadhub.nih.gov } [domain_realm] .nih.gov = NIH.GOV nih.gov = NIH.GOV .cit.nih.gov = NIH.GOV cit.nih.gov = NIH.GOV
Since your uid/gid is likely to be different on your desktop than
on biowulf you may also need to include the uid
and
gid
options. For example, if you local uid and gid are
3245, you would add uid=3245,gid=3245
to the mount option
string. Some users on Ubuntu systems have reported the need to use
the username
option instead of uid
, e.g.
if your local Linux user name is auser, the correct option would be
username=auser
.
You will need to have the cifs-utils package installed in order for this to work.
Typical mount commands for accessing a CIFS file system:
To mount your Biowulf /home/[user]:
To mount your Biowulf /data/[user]:
To mount Biowulf /scratch:
To mount a shared group area: (e.g. /data/PQRlab)
Note that the path of the local directory used as mount points may have to be adapted to your situation and [user]
replaced with your Biowulf username.