Commit f41ad082 authored by Martin Claus's avatar Martin Claus

Added zlib 1.2.11

parent ffae6790
# Installation instructions for zlib-1.2.11
## Download Source
First download the source into directory `$DIR` (placeholder for the directory of your choice).
```bash
cd $DIR
wget https://zlib.net/zlib-1.2.11.tar.gz
tar -xzf zlib-1.2.11.tar.gz
```
## Build and install
On the front-end, we can cross-compile. Remember to replace `$PREFIX` with your installation directory.
```bash
cd $DIR/zlib-1.2.11
# configure the package
CC=ncc CXX=nc++ FC=nfort F90=nfort LD=nld AR=nar RANLIB=nranlib \
CFLAGS=-O1 \
./configure --static --prefix=$PREFIX
# build
make
# test
qlogin -q veinteractive -l elapstim_req=1800
cd $PBS_O_WORKDIR
make check
exit
# install
make install
```
Note: At the moment (ncc 1.3.0) only `-O1` optimization is working.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment