Automated Quick Start: Difference between revisions
No edit summary |
No edit summary |
||
| Line 11: | Line 11: | ||
These directories were added: | These directories were added: | ||
drwxrwsr-x 13 YourId graphics 4096 Apr 29 15:08 /map/gfx0/users/YourId/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/YourId/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/YourId/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/YourId/install_WIN32 | drwxrwsr-x 2 YourId graphics 4096 Apr 29 15:07 /map/gfx0/users/YourId/install_WIN32 | ||
Revision as of 12:52, 15 September 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 at the end:
source /map/gfx0/tools/linux/install_linux/bin/setup/g.login.csh
If you are running bash then instead edit $HOME/.bashrc and add this line at the end:
source /map/gfx0/tools/linux/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