Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revisionBoth sides next revision | ||
public:install_lofar_centos6.5 [2017-01-04 16:05] – Frank Breitling | public:install_lofar_centos6.5 [2017-01-09 17:18] – [1. Setup of build environment] added /opt/gcc-4.8.3/lib64 to LD_LIBRARY_PATH Frank Breitling | ||
---|---|---|---|
Line 25: | Line 25: | ||
The cluster also provides a //module system// to load newer versions of the installed software. \\ | The cluster also provides a //module system// to load newer versions of the installed software. \\ | ||
- | We will activate it and replace the default version of gcc 4.4.7 with gcc 4.8.3 for C++11 support. | + | Its used below to replace the default version of gcc 4.4.7 with gcc 4.8.3 for C++11 support. |
=== 1.1 Paths === | === 1.1 Paths === | ||
- | This instruction will install all packages in $HOME/local/. \\ | + | The following changes are required: |
- | And for the installation of Pyrap (python-casacore) we need a Python path with write access. \\ | + | |
- | So I added the following lines to $HOME/ | + | * A more recent version of GCC with C++11 required by Casacore is activated through the module system. |
< | < | ||
- | source | + | File "/home/fkbreitl/local/lib64/python2.6/ |
- | module | + | from ._tables import Table |
+ | ImportError: | ||
+ | </ | ||
+ | * The packages will be installed in $HOME/ | ||
+ | * Pyrap (python-casacore) needs a writable Python path. \\ | ||
+ | |||
+ | This adds the following lines to $HOME/ | ||
+ | < | ||
+ | source / | ||
+ | module load gcc/ | ||
+ | export LD_LIBRARY_PATH=/ | ||
export PYTHONPATH=$HOME/ | export PYTHONPATH=$HOME/ | ||
- | export LD_LIBRARY_PATH=$HOME/ | ||
export PATH=$HOME/ | export PATH=$HOME/ | ||
</ | </ |