Borrar filtros
Borrar filtros

Executing TISEAN binaries from within Matlab on Mac OS X 10.6.8

2 visualizaciones (últimos 30 días)
dave
dave el 14 de Mayo de 2013
Hello,
I downloaded TISEAN binaries for Mac, but unfortunately I just can't get it working on my Mac OSX 10.6.8. Everytime I want to run a tisean command from Matlab (e.g.: system([tiseanPath,'stp usdchf.txt -d6200 -m3 -o stp.txt']);) it gives me an error saying:
dyld: Library not loaded: /usr/local/gfortran/lib/libgfortran.3.dylib Referenced from: /Users/ak/Desktop/Tisean-4/./stp Reason: no suitable image found. Did find: /Applications/MATLAB_R2012b.app/sys/os/maci64/libgfortran.3.dylib: mach-o, but wrong architecture /usr/local/lib/libgfortran.3.dylib: mach-o, but wrong architecture /Users/ak/Desktop/Tisean-4/./stp usdchf.txt -d6200 -m3 -o stp.txt: Trace/breakpoint trap
I have already tried to install Xcode Tools 3.2 but Matlab still throws this error.
Any idea why it doesn't work?

Respuestas (1)

Ken Atwell
Ken Atwell el 15 de Mayo de 2013
It looks like you need Fortran libraries to run TISEAN (which I've never heard of) that cannot be found. Xcode won't help with this problem. MATLAB happens to include Fortran libraries, and it looks like TISEAN is trying to use those -- but failing because of a "wrong architecture". I'll speculate that TISEAN is an older 32-bit Mac application, while MATLAB is a 64-bit application, so TISEAN won't be able to use any libraries it happens to find MATLAB.
Does TISEAN work when run from outside of MATLAB? I would confirm that works from a Terminal window before adding the complex for running it from within MATLAB.
  1 comentario
dave
dave el 15 de Mayo de 2013
Editada: dave el 15 de Mayo de 2013
Ok, I just tried to execute a TISEAN binary from the terminal and got a similar error:
dyld: Library not loaded: /usr/local/gfortran/lib/libgfortran.3.dylib Referenced from: /Users/ak/Desktop/Tisean-4/stp Reason: no suitable image found. Did find: /usr/local/lib/libgfortran.3.dylib: mach-o, but wrong architecture Trace/BPT trap

Iniciar sesión para comentar.

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by