Difference between revisions of "BlueWaters Etrees"
(One intermediate revision by the same user not shown) | |||
Line 20: | Line 20: | ||
(6) ./ucvm_setup.py | (6) ./ucvm_setup.py | ||
− | (7) | + | (7) configure on scratch directory |
− | / | + | /scratch/sciteam/maechlin/ucvm.15.10.0 |
(8) choose modules cvm-s5, cvm-s4.26, cvm-s4 | (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.