About the Center for Nanoscale Systems (CNS) at Harvard University- Overview - Harvard Nanoscale, Nanotechnology, HU, fabrication and construction of nanoscale systems. About the Center for Nanoscale Systems (CNS) at Harvard University- What are Nanoscale Systems? - Harvard Nanoscale, Nanotechnology, HU, fabrication and construction of nanoscale systems. About the Center for Nanoscale Systems (CNS) at Harvard University- Origins of CNS - Harvard Nanoscale, Nanotechnology, HU, fabrication and construction of nanoscale systems. About the Center for Nanoscale Systems (CNS) at Harvard University- Mission and Goals - Harvard Nanoscale, Nanotechnology, HU, fabrication and construction of nanoscale systems. About the Center for Nanoscale Systems (CNS) at Harvard University- CNS Management - Harvard Nanoscale, Nanotechnology, HU, fabrication and construction of nanoscale systems. About the Center for Nanoscale Systems (CNS) at Harvard University- CNS Support - Harvard Nanoscale, Nanotechnology, HU, fabrication and construction of nanoscale systems. About the Center for Nanoscale Systems (CNS) at Harvard University- Visitor’s Info - Harvard Nanoscale, Nanotechnology, HU, fabrication and construction of nanoscale systems. About the Center for Nanoscale Systems (CNS) at Harvard University- Administrative Office - Harvard Nanoscale, Nanotechnology, HU, fabrication and construction of nanoscale systems. About the Center for Nanoscale Systems (CNS) at Harvard University- Employment at CNS - Harvard Nanoscale, Nanotechnology, HU, fabrication and construction of nanoscale systems. About the Center for Nanoscale Systems (CNS) at Harvard University- Links - Harvard Nanoscale, Nanotechnology, HU, fabrication and construction of nanoscale systems. About the Center for Nanoscale Systems (CNS) at Harvard University- News and Events - Harvard Nanoscale, Nanotechnology, HU, fabrication and construction of nanoscale systems. About the Center for Nanoscale Systems (CNS) at Harvard University- CNS NanoWire - Harvard Nanoscale, Nanotechnology, HU, fabrication and construction of nanoscale systems. CNS/NNIN users - Overview - Harvard Nanoscale, Nanotechnology, HU, fabrication and construction of nanoscale systems. CNS/NNIN users - How do I become a CNS/NNIN user? - Harvard Nanoscale, Nanotechnology, HU, fabrication and construction of nanoscale systems. CNS/NNIN users - Acknowledgement - Harvard Nanoscale, Nanotechnology, HU, fabrication and construction of nanoscale systems. CNS/NNIN users - Nanofabrication Facility Use - Harvard Nanoscale, Nanotechnology, HU, fabrication and construction of nanoscale systems. CNS/NNIN users - Imaging Facility Use - Harvard Nanoscale, Nanotechnology, HU, fabrication and construction of nanoscale systems. CNS/NNIN users - Material Synthesis Facility Use - Harvard Nanoscale, Nanotechnology, HU, fabrication and construction of nanoscale systems. CNS/NNIN users - Computation Facilities Use - Harvard Nanoscale, Nanotechnology, HU, fabrication and construction of nanoscale systems. CNS/NNIN users - Forms - Harvard Nanoscale, Nanotechnology, HU, fabrication and construction of nanoscale systems. CNS/NNIN users - CNS User Fees - Harvard Nanoscale, Nanotechnology, HU, fabrication and construction of nanoscale systems. CNS/NNIN users - General User Information and Policy - Harvard Nanoscale, Nanotechnology, HU, fabrication and construction of nanoscale systems. CNS/NNIN users - CNS Special Training Sign-up Page - Harvard Nanoscale, Nanotechnology, HU, fabrication and construction of nanoscale systems. CNS/NNIN users - OLD Scheduling Tool - Harvard Nanoscale, Nanotechnology, HU, fabrication and construction of nanoscale systems. CNS/NNIN - Overview - Harvard Nanoscale, Nanotechnology, HU, fabrication and construction of nanoscale systems. CNS/NNIN - Social and Ethical Issues in Nanotechnology - Harvard Nanoscale, Nanotechnology, HU, fabrication and construction of nanoscale systems. CNS/NNIN - NNIN Computation Project - Harvard Nanoscale, Nanotechnology, HU, fabrication and construction of nanoscale systems. CNS/NNIN - Computation Facilities Use - Harvard Nanoscale, Nanotechnology, HU, fabrication and construction of nanoscale systems. CNS/NNIN Research - Overview - Harvard Nanoscale, Nanotechnology, HU, fabrication and construction of nanoscale systems. CNS/NNIN Research - CNS Associated Faculty - Harvard Nanoscale, Nanotechnology, HU, fabrication and construction of nanoscale systems. CNS/NNIN Research - CNS Seed Money Projects - Harvard Nanoscale, Nanotechnology, HU, fabrication and construction of nanoscale systems. CNS/NNIN Research - CNS Visiting Scientist Program - Harvard Nanoscale, Nanotechnology, HU, fabrication and construction of nanoscale systems. CNS/NNIN Research - CNS Research Highlights - Harvard Nanoscale, Nanotechnology, HU, fabrication and construction of nanoscale systems. CNS/NNIN Research - CNS/NNIN REU Research - Harvard Nanoscale, Nanotechnology, HU, fabrication and construction of nanoscale systems. CNS/NNIN Research - Research Experience for Teachers (RET) - Harvard Nanoscale, Nanotechnology, HU, fabrication and construction of nanoscale systems. CNS/NNIN Research - CNS Educational Activities - Harvard Nanoscale, Nanotechnology, HU, fabrication and construction of nanoscale systems. CNS/NNIN Research - CNS Videos - Harvard Nanoscale, Nanotechnology, HU, fabrication and construction of nanoscale systems. CNS/NNIN Research - CNS Publications - Harvard Nanoscale, Nanotechnology, HU, fabrication and construction of nanoscale systems. CNS/NNIN Research - User Stats - Harvard Nanoscale, Nanotechnology, HU, fabrication and construction of nanoscale systems. CNS/NNIN Research - CNS in the News - Harvard Nanoscale, Nanotechnology, HU, fabrication and construction of nanoscale systems. CNS/NNIN Research - Scientific News from the World - Harvard Nanoscale, Nanotechnology, HU, fabrication and construction of nanoscale systems. CNS/NNIN Research - \"Synergy\" Conference website - Harvard Nanoscale, Nanotechnology, HU, fabrication and construction of nanoscale systems.
   
 
CNS & NNIN
» Overview
» Social and Ethical Issues in Nanotechnology
» NNIN Computation Project
  Migration to the new AMD Opteron cluster
  Using modules on NNIN/C cluster
  Login Instructions
  Build and Run VASP
  Condor
  Changing login shell to bash
  DL_POLY
  ion.x
  Beware Of Semaphores!
  NNIN/C Announcements
» Computation Facilities Use
   
   
   
   

Using modules on NNIN/C cluster

HOWTO for modules | Interactive module loading
Modifying your default environment | Other Options
 

HOWTO for modules:

When you login, you will find a minimal environment setup, with  the  default compilers and libraries set to the system installed  GCC and  Open-MPI for GCC. This is by design so that users can  choose sets of  configuration as needed for their apps.

To setup a sane environment for your needs, you can use "modules",  a  common utility for managing paths as sets of environment variables.  This  package allows the user to activate or disable entire sets  of  environment variables and paths needed for a package using a  single  command, and greatly simplfies managing your shell environment, particularly when using multiple types and versions of compilers and  libraries.

top

Interactive module loading

To begin, you can list the available modules by executing the command

   > module avail

The available modules are listed, some with a format like directories (for example "compilers/intel/9.1" activates the  Intel v9.1 compilers.)

__ Runtime Usage ___

To enable a particular module in your current shell environment,  you  can use the "load" subcommand:

   > module load [a module name]

Note that all of the current module names begin with /etc/modulefiles, hence, for example, to load the Intel v9.1 compilers, you would type:
  > module load /etc/modulefiles/compilers/intel/9.1

This will overlay the environment for this module on the current environment, often prepending paths to PATH environent variables such as PATH and LD_LIBRARY_PATH.

To remove this module, use the "unload" subcommand:

   > module load [a module name]

This will cleanly remove those added PATHs and environment  variables,  returning to the original environment.

 To list your _current_ environment, use the "list" subcommand:

   > module list

this will list the currently loaded modules.

__Usage for Init Scripts__

The previous changes will allow you to manage your environment in  the current shell, but will not affect other shells, or new shells. Thus running mpirun may not capture these settings, since the new shells may not get the same environment.

top

Modifying your default environment

To manage your default environment through module, begin by adding to the end of your ~/.bashrc or ~/.cshrc startup script the line

   module load null

This line is a place holder for loading other modules; the "null" module actually does nothing in and of itself to your environment.

Next, to add a module to your default environment, use the command

  > module initadd [module name]

This will alter the line at the end of your startup script to  include this module as well. In this way you can manage your default environment through modules without editing your startup  scripts.

To disable a default module, use "initrm"

    > module initrm [module name]

This removes that module from the module line in your startup script.

top

Other Options

To learn more about the module command, run

   > module --help

or

   > man module

You can also create your own modules to manage personal paths and environments. Modules are simply snippets of TCL code placed in a certain directory. For more information, look to the system  modules  installed in /etc/modulefiles and the module file man page

   > man modulefile

top

Call for Papers (Due July 14!) MOEMS-MEMS 2009, part of SPIE Photonics West. Click for more info

The RIKEN Institute in Japan has research opportunities open for foreign postdoctoral researchers

CNS in the News: "Pioneer in Spritronics Celebrates Birthday," Physicists gather for talks, party in honor of Emmanuel I. Rashba - Harvard Gazette Online

For more News & Events click here!