...
First a little "warning":
By default, the "prompt" (beginning of a command line) on clusters of the Alliance looks like this:
node n%
You first have the name of the login node, followed by the number of you command (which increases by 1 with each command you type), followed by the sign(!) '%'.
For example on narval1 (one of the login nodes on Narval) you might get:
narval1 1%
The '%' here is not a 'percent of setup done' but just a sign to mark the end of the prompt!
1) Rename old bash-profiles
If one or both of the following two files exist remove them or change their name, for example to:
Volet |
---|
mv ~/.bash_profile ~/.bash_profile- mv ~/.bashrc ~/.bashrc- |
2) Use old cluster environment
On Beluga, to use the old Beluga environment, create the file ~/.modulerc:
Volet |
---|
cat > ~/.modulerc <<+ module-version StdEnv/2018.3 default + |
On Narval, to use the old Narval environment, create the following file ~/.modulerc:
Volet |
---|
cat > ~/.modulerc <<+ |
There is nothing to be done for this on Rorqual.
3) Create or link ~/.profile
Then create the file ~/.profile:
On Beluga :
Volet |
---|
cat > ~/.profile <<+ umask 022 type module 2>/dev/null 1>/dev/null || . /etc/profile taskset -cp 0-128 \$\$ module swap intel/2018.3 gcc/7.3.0 2>/dev/null . /home/armnssm/ssm-domains-base/ssm_10.151/etc/ssm.d/profile . env-setup.dot module list 2>&1 | grep '[()]' + |
...
Volet | ||
---|---|---|
First you need to define a space which will get used as the default temporary disk space, ${TMPDIR}: 1) Create a directory which you would like to make your default temporary directory. I suggest you use the default directory of your PI, for example: 2) Create a directory in your home called 'tmp':
|
On Rorqual:
Volet |
---|
cd ln -s /home/armnssm/envi/Profile/bin/.profile |
Log out and back in.
4) Link to .group_profile
Then I suggest you create a link to our common '.group_profile'.
This will give you some basic aliases I find quite useful. I suggest you have a look at them to see which ones are available.
I will keep adding aliases and exports to this file.
On Beluga and Narval:
Volet |
---|
ln -s ~winger/.published_profile.d/.group_profile ~/.profile.d/.group_profile |
On Rorqual:
Volet |
---|
ln -s /home/armnssm/envi/Profile/bin/.group_profile ~/.profile.d/.group_profile |
5) Your own personal aliases, exports, etc.
Your own personal aliases, exports, s.ssmuse.dot etc. for interactive use will go into the file
Volet |
---|
~/.profile.d/.interactive_profile |
which you will have to create.
Then you either log out and back in again or source the new .profiles.