Grads environment variable settings

Source: Internet
Author: User

Decompress the grads binary package to the/usr/local/grads Folder:

 

1. Unix/Linux:
In. cshrc:
Setenv gasdir/usr/local/grads/dat
Setenv gascrp/usr/local/grads/lib
Setenv path/usr/local/grads/bin: $ {path}

In. bashrc or. bash_profile:
Add the following command:
Export gasdir =/usr/local/grads/Data
Export gascrp =/usr/local/grads/lib
Alias grads =/usr/local/grads/bin/gradsc
Save [garly @ HYG-G ~] $ Source. bashrc

2. Windows:
Taking win32e grads (version 1.8sl11) installed in WINXP as an example, this version does not require X server.
1. Download grads-1.8sl11-win32e.exe;
2. Double-click and install it as prompted. install it in D:/pcgrads;
3. Set the environment: desktop-> right-click my computer and choose Properties-> advanced-> environment variable"
-> Select "path" in "system variables" and click "edit" to add D:/pcgrads/win32e.
-> Click "new" in "system variables"-> set the variable name "gaddir" with the variable value "D:/pcgrads/dat"
-> Click "new" in "system variables"-> set the variable name "gascrp" and the variable value "D:/pcgrads/lib"
4. Complete the settings and restart the system.
 
Note:
① The installation directory name should not contain spaces.
② The installation directory and working directory should be in the same drive letter; otherwise, errors may occur.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.