Automated Quick Start
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:
> /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/bluto/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/bluto/install_linux drwxrwsr-x 2 yourid graphics 4096 Apr 29 15:07 /map/gfx0/users/bluto/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 $USER/.cshrc and add this line:
source /map/gfx0/install_linux/bin/setup/g.login.csh
If you are running bash then add this line instead:
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 lots of variables, but you should see that these variables are set:
CVSROOT GARCH G GTO GROOT G_IMPORT G_COMPILER