Hello all.  I am interested in creating intra day time series data with
the tools and Matlab/Octave and possibly Julia.

I noticed an earlier thread suggesting that a mex file was possible. 
However, if I can use the Java interface, it might be as simple as pointing
matlab to the Java:

http://www.mathworks.co.uk/help/matlab/matlab_external/bringing-java-classes-and-methods-into-matlab-workspace.html
http://undocumentedmatlab.com/blog/explicit-multi-threading-in-matlab-part1
http://undocumentedmatlab.com/blog/explicit-multi-threading-in-matlab-part2

For Octave, there is this: http://octave.sourceforge.net/java/
Although I suspect mex would be easier to maintain, once the work of
writing the interface is accomplished.

Julia (I am a novice here) would be cool and it easily talks to C, maybe to
C++

http://docs.julialang.org/en/release-0.1/stdlib/cpp/

http://julia.readthedocs.org/en/latest/manual/calling-c-and-fortran-code/

Threadsafety is an issue, handled carefully with callbacks:
http://julialang.org/blog/2013/05/callback/

Two things I noted.

1) to reinstall FB, make --always-make did not work.  Specifically it
thought I needed automake 1.14.1 not my automake 1.13.3 and do not mess
with the m4.  Instead I see in ltmain.sh that uninstall is a make option.

# MODE must be one of the following:
#
#         clean              remove files from the
build directory
#         compile            compile a source file into
a libtool object
#         execute            automatically set library
path, then run a program
#         finish             complete the installation
of libtool libraries
#         install            install libraries or
executables
#         link               create a library or an
executable
#         uninstall          remove libraries from an
installed directory

make uninstall and you are good to go.

2) checkinstall will not work as the version number is not all numeric:

dpkg-deb: error: parsing file
'/var/tmp/tmp.rfJDyCIso3/package/DEBIAN/control' near line 7 package
'fastbit':
error in Version string 'ibis1.3.9-1': version number does not start with a
digit

All the best, Louis

My install script, work in progress:

#!/bin/bash
# https://codeforge.lbl.gov/frs/download.php/231/fastbit-ibis1.3.9.tar.gz
# https://codeforge.lbl.gov/frs/download.php/410/fastquery-0.8.2.8.tar.gz

#=====  MAIN   =============================================#

main () {
FB_BUILD_DIR=/media/louis/dtb/home/las/code
FB_VERSION=1.3.9
        FB_DIR=231
        FQ_VERSION=0.8.2.8
        FQ_DIR=410
    
        FB_PACKAGE=fastbit-ibis$FB_VERSION.tar.gz
        FQ_PACKAGE=fastquery$FQ_VERSION.tar.gz
        #=====  Fastbit  =========#
        #echo "Build from packages ... $FB_PACKAGE"
#cd $FB_BUILD_DIR
#if [ ! -f $FB_PACKAGE ]; then
        #  wget --no-check-certificate
https://codeforge.lbl.gov/frs/download.php/$FB_DIR/$FB_PACKAGE
#fi
#cd $FB_BUILD_DIR
#sudo rm -rf $FB_BUILD_DIR/fastbit-ibis$FB_VERSION

#tar xzf $FB_PACKAGE
#cd fastbit-ibis$FB_VERSION
#./configure && make -j3
#make TESTDIR=/tmp/las/tests more-check
        #make docs
        #sudo checkinstall
        #return
        #=====  FastQuery  =========#
        echo "Build from packages ... $FQ_PACKAGE"
cd $FB_BUILD_DIR
if [ ! -f $FQ_PACKAGE ]; then
          wget --no-check-certificate
https://codeforge.lbl.gov/frs/download.php/$FQ_DIR/$FQ_PACKAGE
fi
cd $FB_BUILD_DIR
sudo rm -rf $FB_BUILD_DIR/fastquery-$FQ_VERSION

tar xzf $FQ_PACKAGE
cd fastquery-$FQ_VERSION/
../configure && make -j3

echo "Successful Build"
return
}

main "$@"
_______________________________________________
FastBit-users mailing list
[email protected]
https://hpcrdm.lbl.gov/cgi-bin/mailman/listinfo/fastbit-users

Reply via email to