ARCHIVED: On Libra, how can I run a job that requires more than 2GB of memory?
Note: UITS will retire Libra in spring 2009. Accounts are available on Quarry, a general-purpose Unix computing environment. For more, see ARCHIVED: About the Libra retirement.
To run a program that requires more than 2GB of memory on the Libra Cluster, you need to compile the program in 64-bit mode to go over the 2GB virtual memory limit. Use the following compiler flag with xlc or xlf compilers:
-b64 -q64 -qwarn64
The flag -b64 is a linker flag, while the
-q* options are compiler flags.
Note: If the library that your program references does not have 64-bit support, this won't work.
Last modified on June 30, 2009.







