Mutiple GSI-systems

From LWP-Wiki
Revision as of 13:21, 21 April 2015 by Chris (talk | contribs) (Created page with "Category:software-faq == Configuration of multiple GSI-systems == Once you have used the '''root-setup''' script for either fair, r3b, panda or cbm, you can run the comman...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Configuration of multiple GSI-systems

Once you have used the root-setup script for either fair, r3b, panda or cbm, you can run the command root-setup <other environment> again and it will set up the other environment in your home directory. The easiest way to enable the environment settings for any of the fair environments you have set up, is to cat your .bashrc file and run the appropriate source command (without the #):

 cat ~/.bashrc

This will give you output similar to this:

 #!/bin/bash
 <other stuff>
 source /opt/netapps/fair_install/cbmroot/buildcbm/config.sh &> /dev/null
 #source /opt/netapps/fair_install/pandaroot/buildpanda/config.sh &> /dev/null
 #source /opt/netapps/fair_install/r3broot/buildr3b/config.sh &> /dev/null
 #source ~/fair_install/fairroot/buildfair/config.sh &> /dev/null

Now run this command to set up the environment settings of your current terminal for CBMroot:

 source /opt/netapps/fair_install/cbmroot/buildcbm/config.sh &> /dev/null

You can open a different terminal and run a different source command to set up that terminal for a different *root environment.

Remove the # sign in your .bashrc file for the environment you want to automatically set up when you open a terminal and add a # for those environments you don't.