r2 - 23 Sep 2014 - 09:07:56 - DavidAcremanYou are here: Astrophysics Wiki >  Zen Web  >  CodeDevelopment > UsingModules

Modules

Much of our software is installed using the GNU module system. This allows us to have several versions of each package installed and the specific version can be requested via the module command. Information on the modules required for compilers and MPI libraries can be found on the compiling and linking page.

You can see what modules are currently loaded by typing:

module list

and which ones are available with:

module avail

"Latest" module version

Where you see a choice of versions such as:

intel-cc-9/9.1.046
intel-cc-9/9.1.049

Then typing: module load intel-fc-9 will get you the latest version (9.1.049) or you can load a specific version with module load intel-fc-9/9.1.046

The module command selects the "latest" module version by a simple alphabetical sort which is a problem for packages such as mkl which reach version 10. In this case we put a " v " in front of the version 10 package name to preserve alphabetical sort. For eaxmple the module file mkl/v10.0.1.014 is just a symbolic link to mkl/10.0.1.014.

If you use some libraries for linking your binary then use the ldd command (ldd mybinary) to see if any of the libraries are dynamically linked. If they are, be sure to put the appropriate module load command at the start of your PBS run file.

-- JohnRowe

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r2 < r1 | More topic actions

key Log In or Register
Information

Main Web Users Groups Index Search Changes Notifications Statistics Preferences


Webs Main Sandbox TWiki Zen Information

Main Web Users Groups Index Search Changes Notifications Statistics Preferences


Webs Main Sandbox TWiki Zen


 
Astrophysics Wiki


Edit Wysiwyg Attach Printable
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Astrophysics Wiki? Send feedback