Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
>  ssh -Y [unix-username]@pslogin.slac.stanford.edu

...

Having the offlineami function defined in your .bashrc file

From a remote console (psnxserv or pslogin), make sure you are in your home directory:

...

Use a text editor to open your .bash_profile file, for example:

Code Block
collapselanguagetruebash
>  gedit .bash_profile

We recommend the following definitions:


Code Block
# .bash_profile

...



# Get the aliases and functions

...



if [ -f ~/.bashrc ]; then

...



        . ~/.bashrc

...



fi

...



# User specific environment and startup programs

...



export PATH=$PATH:$HOME/bin

You can now save the file and close the text editor.

To avoid restarting the connection, you can use the following command that will apply the latest modification (once you have applied the procedure in this section, you do not need to apply it again):

>  source .bashrc

Launching offlineami

Accessing the psana server

From a remote console (psnxserv or pslogin), start a connection to the psana server:

Code Block
languagebash
 ssh psana

Launching offlineami

Launch the offlineami tool:

...