Theoretical Biochemistry Group

Institute for Theoretical Chemistry

Font size: Increase font size Decrease font size Switch style sheet from default to highcontrast and back

ViennaRNA Package 2 - Documentation

Here, we provide all the documentation necessary to install and use the programs of the ViennaRNA Package. We also provide a reference manual the for RNAlib C library which comes with the package

Installing the ViennaRNA Package

Notes for MacOS X users

Depending on your version of gcc (< 4.4 ?) it might be necessary to deactivate OpenMP support by passing the option

--disable-openmp
to the ./configure script, since the OpenMP support is only partial in earlier versions of gcc shipped for MacOS X.

Additionally, since MacOS X 10.5 the perl installation distributed with MacOS X seems to always include so called fat-binaries, i.e. binaries for multiple architecture types.
Although this may be a nice portability feature of MacOS X it will break compilation of the perl interface to the RNAlib!
To circumvent this problem you have two options

  1. Compile the perl interface without fat-binary support. Do so by setting the global shell variable ARCHFLAGS to include only the target architecture used for compiling RNAlib. E.g. do the following before executing make
    $ export ARCHFLAGS="-arch x86_64"
    
  2. Compile the complete ViennaRNA package with fat-binary support. Therefore, run the ./configure script in the following manner
    $ ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
                CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
                CPP="gcc -E" CXXCPP="g++ -E"
    
The second option is not guaranteed to produce a working result, thus we suggest using the first one to create a single architecture build of the RNAlib perl interface!