Module CreateModuleFile
source code
Application-class that implements pyFoamCreateModuleFile.py
Generate a Modules modulefile for OpenFOAM using differences in environment
variables before and after sourcing the main OpenFOAM configuration file
For more information on Modules, visit the Environment Modules Project:
http://modules.sourceforge.net
Usage : pyFoamCreateModuleFile.py OpenFOAM_CfgFile moduleFile
For example: pyFoamCreateModuleFile.py ./bashrc /tmp/module
Warning #1: This command will not work if your OpenFOAM environment variabales are already
initialized.
Warning #2: This command will not work if you are using the superuser account (aka: root)
Author:
Martin Beaudoin, Hydro-Quebec, 2012. All rights reserved