[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mkoctfile urgently needs attention before Octave 3.6.0
From: |
Lukas Reichlin |
Subject: |
Re: mkoctfile urgently needs attention before Octave 3.6.0 |
Date: |
Thu, 29 Dec 2011 22:07:45 +0100 |
On 29.12.2011, at 21:57, c. wrote:
>
> On 29 Dec 2011, at 21:46, Lukas Reichlin wrote:
>
>> Hmm, I'm not sure about this. Interestingly, it works if I use
>>
>> "$(mkoctfile -p BLAS_LIBS)"
>>
>> in my developer makefiles alone.
>
> How exactly did you add that to your Makefile? If I use:
>
> # balanced stochastic truncation model reduction
> slab09hd.oct: slab09hd.cc
> mkoctfile $$(mkoctfile -p BLAS_LIBS) slab09hd.cc \
> AB09HD.f TB01ID.f AB04MD.f TB01KD.f AB09HY.f \
> AB09IX.f MB03UD.f SB02MD.f AB09DD.f TB01LD.f \
> SB03OU.f MA02AD.f MB03QX.f select.f SB03OT.f \
> SB02MR.f SB02MS.f MB03QD.f SB02MU.f SB02MV.f \
> SB02MW.f MB04ND.f MB04OD.f MB03QY.f SB03OR.f \
> SB03OY.f SB04PX.f MB04NY.f MB04OY.f SB03OV.f
>
> I get the following error:
>
> $ make slab09hd.oct
> mkoctfile $(mkoctfile -p BLAS_LIBS) slab09hd.cc \
> AB09HD.f TB01ID.f AB04MD.f TB01KD.f AB09HY.f \
> AB09IX.f MB03UD.f SB02MD.f AB09DD.f TB01LD.f \
> SB03OU.f MA02AD.f MB03QX.f select.f SB03OT.f \
> SB02MR.f SB02MS.f MB03QD.f SB02MU.f SB02MV.f \
> SB02MW.f MB04ND.f MB04OD.f MB03QY.f SB03OR.f \
> SB03OY.f SB04PX.f MB04NY.f MB04OY.f SB03OV.f
> mkoctfile: unrecognized argument -framework
> make: *** [slab09hd.oct] Error 1
>
> c.
That looks like a makefile from my upcoming order reduction functions
(currently located under extra/control-devel). I didn't test these. Below is
one from main/control, makefile_chol.m:
==============================================================================
## Developer Makefile for OCT-files
##
==============================================================================
## USAGE: * fetch control from Octave-Forge by svn
## * add control/inst, control/src and control/devel to your Octave path
## * run makefile_*
##
==============================================================================
homedir = pwd ();
develdir = fileparts (which ("makefile_chol"));
srcdir = [develdir, "/../src"];
cd (srcdir);
mkoctfile slsb03od.cc \
SB03OD.f select.f SB03OU.f SB03OT.f MB04ND.f \
MB04OD.f SB03OR.f SB03OY.f SB04PX.f MB04NY.f \
MB04OY.f SB03OV.f \
"$(mkoctfile -p LAPACK_LIBS)" \
"$(mkoctfile -p BLAS_LIBS)"
mkoctfile slsg03bd.cc \
SG03BD.f SG03BV.f SG03BU.f SG03BW.f SG03BX.f \
SG03BY.f MB02UU.f MB02UV.f \
"$(mkoctfile -p LAPACK_LIBS)" \
"$(mkoctfile -p BLAS_LIBS)"
system ("rm *.o");
cd (homedir);
I compiled your modified Portfile without problems. The makefile pasted above
works as well which is a very good sign! I'll modify the other makefiles and
report back as soon as I'm finished.
Cheers,
Lukas
- Re: mkoctfile urgently needs attention before Octave 3.6.0, c., 2011/12/29
- Re: mkoctfile urgently needs attention before Octave 3.6.0, Lukas Reichlin, 2011/12/29
- Re: mkoctfile urgently needs attention before Octave 3.6.0, c., 2011/12/29
- Re: mkoctfile urgently needs attention before Octave 3.6.0, Lukas Reichlin, 2011/12/29
- Re: mkoctfile urgently needs attention before Octave 3.6.0, c., 2011/12/29
- Re: mkoctfile urgently needs attention before Octave 3.6.0,
Lukas Reichlin <=
- Re: mkoctfile urgently needs attention before Octave 3.6.0, c., 2011/12/29
- Re: mkoctfile urgently needs attention before Octave 3.6.0, Lukas Reichlin, 2011/12/29
- Re: mkoctfile urgently needs attention before Octave 3.6.0, c., 2011/12/29
- Re: mkoctfile urgently needs attention before Octave 3.6.0, Lukas Reichlin, 2011/12/29
- Re: mkoctfile urgently needs attention before Octave 3.6.0, marco atzeri, 2011/12/30
- Re: mkoctfile urgently needs attention before Octave 3.6.0, Jordi GutiƩrrez Hermoso, 2011/12/29
- Re: mkoctfile urgently needs attention before Octave 3.6.0, c., 2011/12/29
- Re: mkoctfile urgently needs attention before Octave 3.6.0, Carlo de Falco, 2011/12/29
- Re: mkoctfile urgently needs attention before Octave 3.6.0, Jordi GutiƩrrez Hermoso, 2011/12/29
- Re: mkoctfile urgently needs attention before Octave 3.6.0, c., 2011/12/29