Difference between revisions of "BlueWaters Etrees"
(Created page with '(1) Log in (2) check default environment - module list - module avail - module unload PrgEnv-cray - module load PrgEnv-gnu %which gcc /opt/gcc/4.9.0/bin/gcc') |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
(1) Log in | (1) Log in | ||
− | (2) | + | |
+ | (2) setup gnu environment | ||
- module list | - module list | ||
- module avail | - module avail | ||
- module unload PrgEnv-cray | - module unload PrgEnv-cray | ||
- module load PrgEnv-gnu | - module load PrgEnv-gnu | ||
+ | |||
%which gcc /opt/gcc/4.9.0/bin/gcc | %which gcc /opt/gcc/4.9.0/bin/gcc | ||
+ | |||
+ | (3)tar zxvf ucvm-15.10.0.tar.gz | ||
+ | |||
+ | (33) ./ucvm_setup.py | ||
+ | |||
+ | (4) on blue waters, ucvm return | ||
+ | Please type 'module load iobuf' (without quotes) in the command line. | ||
+ | |||
+ | (5) module load iobuf | ||
+ | |||
+ | (6) ./ucvm_setup.py | ||
+ | |||
+ | (7) configure on scratch directory | ||
+ | /scratch/sciteam/maechlin/ucvm.15.10.0 | ||
+ | |||
+ | (8) choose modules cvm-s5, cvm-s4.26, cvm-s4 | ||
+ | |||
+ | (9) try building on | ||
+ | */scratch/sciteam/maechlin | ||
+ | |||
+ | |||
+ | (9) Configure | ||
+ | The second method is to use two environment variables that do both: | ||
+ | |||
+ | export CRAYPE_LINK_TYPE=dynamic | ||
+ | export CRAY_ADD_RPATH=yes | ||
+ | so that the application is linked dynamically and the paths to the libraries are preserved using the 'rpath' linker option. |
Latest revision as of 04:51, 8 February 2016
(1) Log in
(2) setup gnu environment - module list - module avail - module unload PrgEnv-cray - module load PrgEnv-gnu
%which gcc /opt/gcc/4.9.0/bin/gcc
(3)tar zxvf ucvm-15.10.0.tar.gz
(33) ./ucvm_setup.py
(4) on blue waters, ucvm return Please type 'module load iobuf' (without quotes) in the command line.
(5) module load iobuf
(6) ./ucvm_setup.py
(7) configure on scratch directory /scratch/sciteam/maechlin/ucvm.15.10.0
(8) choose modules cvm-s5, cvm-s4.26, cvm-s4
(9) try building on
- /scratch/sciteam/maechlin
(9) Configure
The second method is to use two environment variables that do both:
export CRAYPE_LINK_TYPE=dynamic export CRAY_ADD_RPATH=yes so that the application is linked dynamically and the paths to the libraries are preserved using the 'rpath' linker option.