Automated Quick Start: Difference between revisions

From VrlWiki
Jump to navigation Jump to search
New page: These are instructions using a script to set up a typical sandbox at Brown using Linux. Even if you intend to develop on a different platform such as Windows you should initially get set u...
 
No edit summary
Line 1: Line 1:
These are instructions using a script to set up a typical sandbox at Brown using Linux. Even if you intend to develop on a different platform such as Windows you should initially get set up on Linux. If you need more explicit instructions or you want a more complex setup then revert back to the full instructions.
These are instructions using a script to set up a typical sandbox at Brown using Linux. Even if you intend to develop on a different platform such as Windows you should initially get set up on Linux. If you need more explicit instructions or you want a more complex setup then revert back to the full instructions.


* To create your sandbox run:
* To create your sandbox run this command form any directory:


  > /map/gfx0/tools/linux/install_linux/bin/setup/new.g.user.sh
  > /map/gfx0/tools/linux/install_linux/bin/setup/new.g.user.sh
Line 8: Line 8:
     NOTE:  Building the common/utility/ directory ...
     NOTE:  Building the common/utility/ directory ...
     NOTE:  ... The common/utility/ directory succefully built.
     NOTE:  ... The common/utility/ directory succefully built.
   Your new sandbox was successfully created in:  /map/gfx0/users/yourid/
   Your new sandbox was successfully created in:  /map/gfx0/users/YourId/
   These directories were added:
   These directories were added:
  drwxrwsr-x 13 yourid graphics 4096 Apr 29 15:08 /map/gfx0/users/bluto/common
  drwxrwsr-x 13 YourId graphics 4096 Apr 29 15:08 /map/gfx0/users/YourId/common
  drwxrwsr-x 2 yourid graphics 4096 Apr 29 15:07 /map/gfx0/users/bluto/project
  drwxrwsr-x 2 YourId graphics 4096 Apr 29 15:07 /map/gfx0/users/YourId/project
  drwxrwsr-x 2 yourid graphics 4096 Apr 29 15:07 /map/gfx0/users/bluto/install_linux
  drwxrwsr-x 2 YourId graphics 4096 Apr 29 15:07 /map/gfx0/users/YourId/install_linux
  drwxrwsr-x 2 yourid graphics 4096 Apr 29 15:07 /map/gfx0/users/bluto/install_WIN32
  drwxrwsr-x 2 YourId graphics 4096 Apr 29 15:07 /map/gfx0/users/YourId/install_WIN32




Line 20: Line 20:
   > finger  $USER
   > finger  $USER


The '''Shell:''' field in the output will be either '''/bin/tcsh''' or '''/bin/bash'''.  If you are running '''tcsh''' then edit '''$USER/.cshrc''' and add this line:
The '''"Shell:"''' field in the output will be either '''/bin/tcsh''' or '''/bin/bash'''.  If you are running '''tcsh''' then edit '''$HOME/.cshrc''' and add this line:


  source  /map/gfx0/install_linux/bin/setup/g.login.csh
  source  /map/gfx0/install_linux/bin/setup/g.login.csh


If you are running '''bash''' then add this line instead:
 
If you are running '''bash''' then instead edit '''$HOME/.bashrc'''add this line:


  source  /map/gfx0/install_linux/bin/setup/g.login.sh
  source  /map/gfx0/install_linux/bin/setup/g.login.sh
Line 33: Line 34:
  > printenv
  > printenv


It will list lots of variables, but you should see that these variables are set:<br>
It will list all your variables, but you should see that these variables are set:<br>
   '''CVSROOT'''  '''GARCH'''  '''G'''  '''GTO''' '''GROOT'''  '''G_IMPORT'''  '''G_COMPILER'''
   '''CVSROOT'''  '''GARCH'''  '''G'''  '''GTO''' '''GROOT'''  '''G_IMPORT'''  '''G_COMPILER'''

Revision as of 19:28, 29 April 2010

These are instructions using a script to set up a typical sandbox at Brown using Linux. Even if you intend to develop on a different platform such as Windows you should initially get set up on Linux. If you need more explicit instructions or you want a more complex setup then revert back to the full instructions.

  • To create your sandbox run this command form any directory:
> /map/gfx0/tools/linux/install_linux/bin/setup/new.g.user.sh
   NOTE:  Checking out the common/ directory from CVS ...
   NOTE:  ... The common/ directory was succefully checked out from CVS.
   NOTE:  Building the common/utility/ directory ...
   NOTE:  ... The common/utility/ directory succefully built.
 Your new sandbox was successfully created in:  /map/gfx0/users/YourId/
 These directories were added:
drwxrwsr-x 13 YourId graphics 4096 Apr 29 15:08 /map/gfx0/users/YourId/common
drwxrwsr-x 2 YourId graphics 4096 Apr 29 15:07 /map/gfx0/users/YourId/project
drwxrwsr-x 2 YourId graphics 4096 Apr 29 15:07 /map/gfx0/users/YourId/install_linux
drwxrwsr-x 2 YourId graphics 4096 Apr 29 15:07 /map/gfx0/users/YourId/install_WIN32


  • To setup your envionment each time you login modify your default login script. First you need to know if you are running the tcsh or bash shell.
 > finger  $USER

The "Shell:" field in the output will be either /bin/tcsh or /bin/bash. If you are running tcsh then edit $HOME/.cshrc and add this line:

source  /map/gfx0/install_linux/bin/setup/g.login.csh


If you are running bash then instead edit $HOME/.bashrcadd this line:

source  /map/gfx0/install_linux/bin/setup/g.login.sh


You can check your results by logging out and then logging in again. This command will list your environment variables.

> printenv

It will list all your variables, but you should see that these variables are set:

 CVSROOT  GARCH  G  GTO GROOT  G_IMPORT  G_COMPILER