-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Evert Jans edited this page Feb 5, 2014
·
2 revisions
Welcome to the wiki explaining the requirements and procedure to use this block
Get gcc-lua, needed for gcc-lua-cdecl:
$ cd ~/
$ sudo apt-get install gcc-4.6-plugin-dev liblua5.1-0-dev
$ git clone http://git.colberg.org/gcc-lua
$ cd gcc-lua
$ YOUR_FAVORITE_EDITOR Makefile
$ PREFIX = /usr/local --> PREFIX = $(HOME)/local
$ make -j4
$ make installGet gcc-lua-cdecl, needed for lua-hdf5:
$ cd ~/
$ git clone http://git.colberg.org/gcc-lua-cdecl
$ cd gcc-lua-cdecl
$ YOUR_FAVORITE_EDITOR Makefile
$ PREFIX = /usr/local --> PREFIX = $(HOME)/local
$ make -j4
$ make installInstall lua-hdf5:
$ cd ~/
$ git clone http://git.colberg.org/lua-hdf5
$ cd lua-hdf5
$ YOUR_FAVORITE_EDITOR Makefile
$ PREFIX = /usr/local --> PREFIX = $(HOME)/localCreate a symbolic link from the local installed mpicc and make:
$ sudo ln /home/User/local/bin/mpicc /usr/bin/mpicc --symbolic
$ CPATH=/home/User/local/include make installGet the logger:
$ cd ~/microblx/std_blocks
$ git clone https://github.com/ejans/hdf5_logging
$ cd ~/microblx
$ makeTry the random luascript:
$ luajt std_blocks/hdf5_logging/BUP/trig_rnd_to_hexdump_hdf5.luaNow we can initialize and start the ptrig1 block trough the webserver:
$ YOUR_FAVORITE_BROWSER localhost:8888See LICENSE.