PABLO/XPABLO Codes
Compiling PABLO (for Unix/Linux systems)
Requirements
- You work under Linux or Solaris (Compiling for Windows
is not supported)
- You will need a C compiler with support for complex numbers
(e.g., gcc >= 3 or Sun Studio >= 9).
- A working Fortran 77 compiler (Fortran 90 may be required
in the future)
- Perl and Matlab
Instructions
- Unpack tuconf and pablo in the same parent directory:
gzip -d -c <tar-gz-file> | tar -xvf -
or on Linux:
tar xvfz <file>
There is no need to rename the directories.
- Compile tuconf (run `./configure' and `make'
in the tuconf
directory. You can run some sanity tests with make check.
- Compile pablo in the same way (run ./configure and make
in the pablo directory)
If no errors occured you should have a pablo MEX file
(pablo.<mexext>) and the help file pablo.m
in your pablo directory. You can copy the MEX file and the help file
to a location convenient to you.
Download
Known Problems
-
If you run pablo (no parameters, no return values) on the
Matlab prompt you should just get an error message that more input values
are required. If you get an error message that the MEX file can not be
loaded, please contact me.
If no message appears or if Matlab aborts after
printing a message, there is most likely an incompatibility between the
versions of the system libraries used by Matlab and the versions your
MEX file is compiled against. There are several Tech-Notes related to
this kind of problems, which is very common on Linux systems.
The actions described in
http://www.mathworks.com/support/solutions/data/1-QBCS1.html?product=CO&solution=1-QBCS1 worked for me on several
Linux systems.
More about MEX files
MEX files are Matlab functions written in C (or Fortran), for more information
see also http://www.mathworks.com/support/tech-notes/1600/1605.html.
The file extension of a MEX file (mexext) varies with the system it
is supposed to run on:
| System | mexext |
| Linux (32-bit) | mexglx |
| Solaris | mexsol |