[MOAB-dev] error in mbsize and problem using debugger

Jason Kraftcheck kraftche at cae.wisc.edu
Wed May 19 15:05:16 CDT 2010


Rajeev Jain wrote:


> Another thing is I'm unable use ddd even after using --enable-debug option.
> This is the message on the screen
> "/nfs/mcs-homes139/jain/MOAB/tools/mbsize": not in executable format:
> File format not recognized
> 
> jain at jain-desktop:~/MOAB/tools$ file mbsize
> mbsize: POSIX shell script text executable
>  

If you compile MOAB as a shared library than all of the tools will be shell
scripts that set LD_LIBRARY_PATH correctly.  You can a) build as a static
library, b) use the actual executable, which is probably hidden .libs/, or
c) do 'make install' and debug the installed version.

- jason


More information about the moab-dev mailing list