Indiana University
University Information Technology Services
  
What are archived documents?
Login>>
Login

Login is for authorized groups (e.g., UITS, OVPIT, and TCC) that need access to specialized Knowledge Base documents. Otherwise, simply use the Knowledge Base without logging in.

Close

On Big Red and Quarry at IU, how can I use SoftEnv to customize my software environment?

On this page:


Viewing available software packages

The SoftEnv environment management system is used on the clusters to simplify application and environment configuration for both users and administrators. When you log into Big Red or Quarry at Indiana University for the first time, a ~/.soft file, defining system defaults, will be created for you. These defaults, such as Intel's C/C++ and Fortran compilers and OpenMPI, may suffice, but if they don't, you can add additional packages, such as MPICH.

The softenv command will show you the software available on the system you're using, and the keywords for accessing each software package. At the command prompt, enter:

softenv | less

Keywords and the associated software are listed with a preceding "+" (plus sign). Macros (pre-defined lists of keywords) have a preceding "@" (at sign).

Default ~/.soft file

The default contents of the ~/.soft file are as follows:

  • For IU users on Big Red: @bigred
  • For IU users on Quarry: @quarry
  • For TeraGrid users on Big Red and Quarry: @teragrid-basic @globus-4.0 @teragrid-dev

Changing your environment

You can either temporarily or permanently remove a keyword (used to access a software package) from your environment. For example, you can remove keywords for software you never use, add keywords for software you expect to always use, or make temporary changes for testing.

Temporary changes

To temporarily add a keyword to your environment, enter:

soft add +keyword

To temporarily remove a keyword from your environment, enter:

soft delete +keyword

To restore your environment to the default settings in the ~/.soft file, enter:

resoft

Permanent changes

To permanently change your environment, edit your ~/.soft file. For the changes to take effect, enter resoft , or log out and then back in.

Note: If you wish to prepend @remove lines or other software paths to your environment, place them at the beginning of the file, before any keywords or macros.

More information

See the Using SoftEnv page in the TeraGrid User Support and Documentation, or enter man softenv-intro at the system prompt.

This document was developed with support from the National Science Foundation (NSF) under Grant No. 0503697 to the University of Chicago and subcontracted to Indiana University. Additional support was provided by IU through its participation in the TeraGrid, which is supported by the NSF under Grants No. 0833618, SCI451237, SCI535258, and SCI504075. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the NSF.

This is document avmx in domains all and tgrid-all.
Last modified on December 09, 2008.

Comments/Questions/Corrections

Use this form to offer suggestions, corrections, and additions to the Knowledge Base. We welcome your input!

If you are affiliated with Indiana University and would like assistance with a specific computing problem, please use the Ask a Consultant form, or contact your campus Support Center.

Contact Information

Note: We will reply to your comment at this address. If your message concerns a problem receiving email, please enter an alternate email address.