I wish to use Getfem++'s matlab interface to solve Poisson's equation in 3 dimensions. I have gmsh installed for providing the initial mesh to getfem++. I am new to finite elements (but am well versed in electromagnetics), but hope to learn enough to start using this tool quickly.
I would like to report a problem and seek its solution.
Build system :
Linux / Ubuntu 7.10 (Gutsy). hostname = nanak uname -m = i686 uname -r = 2.6.22-14-generic uname -s = Linux uname -v = #1 SMP Sun Oct 14 23:05:12 GMT 2007
QD and qhull libraries installed. Matlab 7.4.0.336 (R2007a) g++ (GCC) 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2) Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Next, I created a directory - /usr/local/matlab/toolbox/getfem (my matlab installation is under /usr/local/matlab) and issued the following configure directive :
------------------------------------------------------------------------------ If you want to build the shared library of getfem++, use --enable-shared (by default, only the static one will be built) Using the QD library:
high precision (quad-double precision) polynomials and integration methods are enabled Using the qhull library for delaunay triangulations.
Link options for the BLAS library: -lblas -lg2c You can give the location of your prefered blas library with either
the --with-blas=<lib> option, or the BLAS_LIBS environment variable for example: ./configure BLAS_LIBS="-L/usr/lib/atlas/sse2 -lblas"
--------------------------------------- Ready to build getfem++
building MATLAB interface: YES building PYTHON interface: YES (requires numarray) ---------------------------------------
I next use checkinstall to create a debian/ubuntu package (this just calls make and creates a convenient deb package).
Compilation runs for a long time and then stops at :
Sorry! No options file was found for mex. The mex script must be able to source an options file to define compiler flags
and other settings. This options file is normally found in MATLAB/bin/mexopts.sh. Please check to make sure that your installation is complete and includes this file.
Its strange that the process above is using the matlab root directory as '/' above after discovering it (correctly) in the configure process to be /usr/local/matlab.
The detected matlab release is also wrong.
Could you please advise as to how these bugs are to be handled ?
I am attaching the config.log file to this email for your convenience.