[Dune] DUNE on Tiny Core Linux

Bernd Flemisch bernd at iws.uni-stuttgart.de
Fri Dec 2 10:58:27 CET 2011


Dear DUNE,

sorry, I made some mistakes plus forgot an important step. For 
completeness, here again are the steps to get DUNE 2.1 onto Tiny Core 
Linux (TCL). But the Virtual Machine thing definitely is more 
interesting, so you can really skip this.

1. Install TCL on your (virtual) HDD or USB stick following 
http://distro.ibiblio.org/tinycorelinux/install.html.

2. Install the following packages (TCEs) via the AppBrowser (available 
as an icon on the desktop): gcc, compiletc, gfortran.

3. If you are using a non-US keyboard, also install the kmaps TCE, and 
add your desired keymap to /opt/bootlocal.sh, e.g. for German:
loadkmap < /usr/share/kmap/qwertz/de-latin1.kmap
Reboot.

4. Obtain the DUNE tarballs. There is no browser (you can of course 
install one, but even Midori uses 40MB on the VM by having to install 
several other packages), but there is wget:
wget http://www.dune-project.org/download/2.1/dune-common-2.1.0.tar.gz
and so on.

5. In dune-common-2.1.0/lib/dunemodules.lib, line 440, i.e. the routine 
fix_variable_name: Erase the "*]" in columns 36,37.

6. Create a file tcl.opts containing
CONFIGURE_FLAGS=" \
   CXXCPP=/usr/local/bin/cpp \
   FC='gfortran -fno-use-linker-plugin' \
   CXXFLAGS='-DHAVE_NULLPTR=1' "

7. Run
sh ./dune-common-2.1.0/bin/dunecontrol --opts=tcl.opts all

8. Cross your fingers.

-- 
_____________________________________________________________________

Bernd Flemisch                               phone: +49 711 685 69162
IWS, Universität Stuttgart                   fax:   +49 711 685 60430
Pfaffenwaldring 61                  email: bernd at iws.uni-stuttgart.de
D-70569 Stuttgart                  url: www.hydrosys.uni-stuttgart.de
_____________________________________________________________________





More information about the Dune mailing list