From: "Ben Abbott" <bpabbott@mac.com>
Path: news.mathworks.com!newsfeed-00.mathworks.com!webcrossing
Newsgroups: comp.soft-sys.matlab
Subject: Re: after mex-file Matlab exists with
Message-ID: <ef5b7d5.3@webcrossing.raydaftYaTP>
Date: Mon, 25 Jun 2007 21:01:29 -0400
References: <ef5b7d5.-1@webcrossing.raydaftYaTP> <ef5b7d5.0@webcrossing.raydaftYaTP> <ef5b7d5.1@webcrossing.raydaftYaTP>
Lines: 82
NNTP-Posting-Host: 208.118.25.97
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Xref: news.mathworks.com comp.soft-sys.matlab:415722



Eric Sampson wrote:
>
>
> Ben Abbott wrote:
>>
>>
>> Ben Abbott wrote:
>>>
>>>
>>> I've been using g95 to produce mex-files for Matlab
(r2006b)
> on
> a
>>> PPC
>>> Mac running OS X 10.4.10.
>>>
>>> A short period after running the mex-file, Matlab exists.
> Running
>>> Matlab from a terminal window (command line), an
> error/comment
> is
>>> issued as Matlab exists. The error is simply "Alarm clock".
>>>
>>> Any thoughts?
>>>
>>> TiA
>>
>> I did a timing and found that the "alarm" occurs 10 minutes
after
>> the
>> mex-file is run.
>>
>> When the mex-file is run several times the timing increases.
>> However,
>> I'm not yet sure of the progression.
>>
>> Of course, the progression is not directly relevant. What I
need
> is
>> a
>> way to turn if off!
>>
>> Any thoughts?
>
> Ben, please see this thread on the g95 mailing list:
>
> <http://groups.google.com/group/gg95/browse_thread/thread/28b03df56928b9a5/9597671f8d02000c%239597671f8d02000c>
>
> I believe the developers of g95 have produced a fix for this issue
> in
> v0.91. You may want to contact them to check that this is the case
> before upgrading.
>
> Sincerely,
> Eric Sampson
> The MathWorks, In.c

Thanks Eric

I checked my g95 version ...

Using built-in specs.
Target:
Configured with: ../configure
--prefix=/sw/lib/gcc-lib/powerpc-apple-darwin8/4.0.3
--enable-languages=c --with-as=/sw/lib/odcctools590/bin/as
--with-ld=/sw/lib/odcctools590/bin/ld
--with-nm=/sw/lib/odcctools590/bin/nm --with-included-gettext
Thread model: posix
gcc version 4.0.3 (g95 0.90!) May 5 2007

Unfortunately, Fink doesn't have a more recent g95 available. I'll
contact Fink's maintainer for g95 to see if he can do an update.

In the meantime, can you put in a work ar Mathworks to have other
Fortran compilers supported on the Mac (other than Absoft, pls). I'd
love to be able to mex with both g95 and gfortran ... Intel Fortran
would be great as well!

Thanks again!
Ben