Install SEPlib on ubuntu 10.10 x86 running on virtualbox

If you are running centos, this post could be all you need:

I am runnning ubuntu in virtualbox which was installed on my window 7 home premier.  I followed the above mentioned post but got SEPlib installed in a slightly different way. Hopefully this experience will be of any help to others.

Step 1: Install intel fortran 90 compiler. gfortran had no success. To download, click “Tools&Downloads” and then “Free Non-Commercial”. Download links and series number will be provided. Use it.

Step 2: Add the Intel Fortran Bin directory to the home path. Edit /home/your_user/.bashrc, add this text at bottom of this file : export PATH=$PATH:/your_Intel_Fortran_Compiler_installed/bin.

Step 3: Extract your seplib source. Use command : tar zxvf seplib-7.0.4.tar.gz

Step 4: Open your seplib extracted directory. Use command : cd seplib-7.0.4

Step 5: Export your fortran variable. Use command : export FC=ifort

Step 6: Install fftw3 packages: On GHOME desktop, System->Administration->Synaptic Package Manager, search for fftw3. I installed cl-fftw3, libfftw3-doc and root-plugin-fftw3

Step 7: Install qt3 packages: On terminal type sudo apt-get install qt3-dev-tools. Note qt4 with compatibility support for qt3 does not work.

Step 8: Add FFTW_FCLD linking flags. Use Command (example: in my computer, libfftw3 library installed at location /usr/lib) : export FFTW_FCLD=”-L/usr/lib -lfftw3f”.

Step 9: type in order: (1) ./configure –prefix=/opt/seplib –with-su=/home/toto/ProgramFiles/ –with-fftw   (2) make  (3) make install. Note installing seplib under folders other than your home folder requires root administration.

Step 10: Add your seplib bin directory to your user path. Edit /home/your_user/.bashrc, add this text at bottom of this file : export PATH=$PATH:/your_seplib_installation/bin.

Step 11: Finally, export DATAPATH=/home/your_username/name_of_sep_datapath. name_of_sep_datapath will be the folder holding all output data files regardless of your working folder.


4 thoughts on “Install SEPlib on ubuntu 10.10 x86 running on virtualbox

  1. I am using Ubuntu but not in virtualbox. I installed Intel® Fortran Composer XE for Linux at step1. I tried installing seplib-6.5.3 following your blog but I got the error at the step9(2) :

    Making all in sat
    make[4]: entrant dans le répertoire « /home/jean-michel/seplib-6.5.3/seplib_base/tools/autowriters/sat »
    make[5]: entrant dans le répertoire « /home/jean-michel/seplib-6.5.3/seplib_base/tools/autowriters/sat »
    /bin/bash ../../../libtool –mode=link –tag=CC gcc -g -O2 -lrt -o sat.fort sat.o -lm -lrt
    gcc -g -O2 -o sat.fort sat.o -lm -lrt
    /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crt1.o: In function `_start’:
    (.text+0x20): undefined reference to `main’
    sat.o: In function `yylex’:
    /home/jean-michel/seplib-6.5.3/seplib_base/tools/autowriters/sat/lex.yy.c:969: undefined reference to `yywrap’
    collect2: error: ld returned 1 exit status
    make[5]: *** [sat.fort] Erreur 1
    make[5]: quittant le répertoire « /home/jean-michel/seplib-6.5.3/seplib_base/tools/autowriters/sat »

    Do you have any solution?

    • Not quit sure about the exact cause. One think I noticed is that I used seplib-7.0.4 and yours is sep1ib-6.5.3. Have you tried version 7?

Leave a Reply

Your email address will not be published. Required fields are marked *