Microsoft Linux Cluster User Notes: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
== Using the Linux Cluster == | |||
=== Get in touch === | |||
This is still a bit experimental, so mail Wes to get started. | |||
=== Sort out your shares === | |||
* On linux, the <code>~</code> symbol refers to something that is '''probably not what you want''' - it's your local linux home directory, on the particular node that your job happens to get run on. So different jobs might have a different local linux home directory, because they might be run on different nodes. | |||
* Instead, use <code>~/dide/home</code> - which will be mapped to your DIDE home directory. | |||
* If you want to have other shares mapped, then, edit or create a file in your '''DIDE home directory''', called <code>.pam_mount.conf.xml</code> which contains something like this. | |||
<pre> | <pre> | ||
Line 11: | Line 19: | ||
</pam_mount> | </pam_mount> | ||
</pre> | </pre> | ||
* Obviously, replace <code><dide-username></code> with your username. So note here that <code>/homes/<dide-username></code> is what Linux refers to when you use <code>~</code>. | |||
* The full path to your dide home directory, from a linux job, will therefore be: <code>/homes/<dide-username>/dide/home</code>. |
Revision as of 11:48, 10 October 2017
Using the Linux Cluster
Get in touch
This is still a bit experimental, so mail Wes to get started.
- On linux, the
~
symbol refers to something that is probably not what you want - it's your local linux home directory, on the particular node that your job happens to get run on. So different jobs might have a different local linux home directory, because they might be run on different nodes. - Instead, use
~/dide/home
- which will be mapped to your DIDE home directory. - If you want to have other shares mapped, then, edit or create a file in your DIDE home directory, called
.pam_mount.conf.xml
which contains something like this.
<?xml version="1.0" encoding="utf-8" ?> <pam_mount> <volume options="vers=2.1,nodev,nosuid" user="*" mountpoint="/homes/<dide-username>/dide/tmp" path="Tmp" server="fi--didef2.dide.ic.ac.uk" fstype="cifs" /> <volume options="vers=2.1,nodev,nosuid" user="*" mountpoint="/homes/<dide-username>/dide/f2gsim" path="GlobalSim" server="fi--didef2.dide.ic.ac.uk" fstype="cifs" /> <volume options="vers=2.1,nodev,nosuid" user="*" mountpoint="/homes/<dide-username>/dide/nas1gsim" path="Test" server="fi--didenas1.dide.ic.ac.uk" fstype="cifs" /> </pam_mount>
- Obviously, replace
<dide-username>
with your username. So note here that/homes/<dide-username>
is what Linux refers to when you use~
. - The full path to your dide home directory, from a linux job, will therefore be:
/homes/<dide-username>/dide/home
.