You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(2) |
Dec
(3) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2005 |
Jan
|
Feb
|
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2014 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(16) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Diego S. <ds...@un...> - 2014-07-14 16:02:43
|
Solved changing /etc/mtt.conf FLAGS="-fno-rtti -fno-exceptions -fno-implicit-templates" to FLAGS="-fno-rtti -fexceptions -fno-implicit-templates" 2014-07-14 10:50 GMT-03:00 Diego Saravia <ds...@un...>: > mtt -cc -i euler -o rc gnuplot view > > generate this error: > > ============================================================= > Compiling rc_ae.cc > In file included from > /usr/include/octave-3.8.1/octave/../octave/idx-vector.h:37:0, > from /usr/include/octave-3.8.1/octave/../octave/Array.h:36, > from > /usr/include/octave-3.8.1/octave/../octave/boolMatrix.h:27, > from /usr/include/octave-3.8.1/octave/../octave/mx-base.h:32, > from /usr/include/octave-3.8.1/octave/../octave/Matrix.h:30, > from /usr/include/octave-3.8.1/octave/../octave/oct.h:33, > from rc_ae.cc:8: > /usr/include/octave-3.8.1/octave/../octave/oct-mem.h: In function > ‘size_t safe_size_comp(size_t, size_t)’: > /usr/include/octave-3.8.1/octave/../octave/oct-mem.h:42:27: error: > exception handling disabled, use -fexceptions to enable > throw std::bad_alloc (); > > > -- > Diego Saravia > Die...@gm... > NO FUNCIONA->ds...@un... -- Diego Saravia Die...@gm... NO FUNCIONA->ds...@un... ==================================================================== "Disclaimer:" Haré lo que desee con los correos que reciba, quien no este de acuerdo, que se abstenga de enviarme correo a mí o a las listas donde este suscripto. En particular NO VALE ningun "disclaimer" que indique que el correo enviado es privado o sujeto a normas de empresas, gobiernos, u organizaciones de cualquier tipo. Con relación a los estados y sus leyes, analizare cualquier norma aplicable en el territorio donde eventualmente actúe en el momento, escucho a cualquiera que tenga algo que decir. Con respecto en particular a los derechos de autor, salvo acuerdo previo, gozaré plenamente de las 4 libertades con todo lo que reciba, considerandolo, en cuanto a lo patrimonial, como propio. ==================================================================== |
From: Diego S. <ds...@un...> - 2014-07-14 13:50:28
|
mtt -cc -i euler -o rc gnuplot view generate this error: ============================================================= Compiling rc_ae.cc In file included from /usr/include/octave-3.8.1/octave/../octave/idx-vector.h:37:0, from /usr/include/octave-3.8.1/octave/../octave/Array.h:36, from /usr/include/octave-3.8.1/octave/../octave/boolMatrix.h:27, from /usr/include/octave-3.8.1/octave/../octave/mx-base.h:32, from /usr/include/octave-3.8.1/octave/../octave/Matrix.h:30, from /usr/include/octave-3.8.1/octave/../octave/oct.h:33, from rc_ae.cc:8: /usr/include/octave-3.8.1/octave/../octave/oct-mem.h: In function ‘size_t safe_size_comp(size_t, size_t)’: /usr/include/octave-3.8.1/octave/../octave/oct-mem.h:42:27: error: exception handling disabled, use -fexceptions to enable throw std::bad_alloc (); -- Diego Saravia Die...@gm... NO FUNCIONA->ds...@un... |
From: Diego S. <ds...@un...> - 2014-07-14 13:44:25
|
I sent to the list four diff one for each problem I get excecuting your commands the octave problem is solved changing the code, If you wish I try do develop a find command to change all the code at once but I think is good to change the error detecting code so, do not stop in warnings, that's the standard behaviour, inform warnings but not stop the grep change is easy and I think a good one the name2index fix is only for rc, I do not understand yet the logic of that grep command Best wishes 2014-07-14 3:40 GMT-03:00 Peter Gawthrop <Pet...@un...>: > Hi Diego, > > I have just upgraded to the latest octave and I also get that > behaviour. The problem is discussed here: > http://octave.1599824.n4.nabble.com/continuation-td4661851.html > > I have temporarily fixed the problem by adding the line > > warning off Octave:deprecated-syntax > > to mtt/lib/octave/.octaverc > > on SF. > > Geraint, I'm not sure what the long-term solution is to this. > > Best wishes, > > Peter. > > Peter Gawthrop > Professorial Fellow > Systems Biology Laboratory > Melbourne School of Engineering > The University of Melbourne > Parkville, Victoria 3010, Australia > > pet...@un... > http://scholar.google.com/citations?sortby=pubdate&hl=en&user=HOLeYbMAAAAJ > http://www.gawthrop.net/ > http://www.icmm.org.uk/ > > > > From: Diego Saravia <ds...@un...> > Subject: [Mtt-help] testing the new debian package > Date: Mon, 14 Jul 2014 02:45:52 -0300 > >> debs pkgs installed without errors in ubuntu 14 >> >> I have the following errors: >> >> mtt copy rc OK >> cd rc OK >> mtt -cc -i euler -o rc gnuplot view >> ======================================== >> Creating rc_ibg.m >> INFORMATION: An MTT transformation has generated the following messages >> warning: using continuation marker \ outside of double quoted strings >> is deprecated and will be removed in a future version of Octave; near >> line 3 of file '/usr/share/mtt/bin/trans/m/rbg2ibg.m' >> >> ......... >> >> make[1]: *** [rc_ibg.m] Error 1 >> Exiting MTT with error 2 >> make: *** [rc_struc.txt] Error 1 >> >> >> >> mtt rc ode oct >> >> ======================================== >> Creating rc_rdae.r >> line 15 column 1 - Warning: missing <!DOCTYPE> declaration >> line 15 column 1 - Warning: plain text isn't allowed in <head> elements >> line 15 column 1 - Info: <head> previously mentioned >> line 15 column 1 - Warning: inserting implicit <body> >> line 15 column 1 - Warning: inserting missing 'title' element >> Info: Document content looks like HTML 3.2 >> 4 warnings, 0 errors were found! >> >> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN"> >> <html> >> <head> >> <meta name="generator" content= >> "HTML Tidy for Linux/x86 (vers 25 March 2009), see www.w3.org"> >> <title></title> >> </head> >> <body> >> in "rc_def.r"$ clear MTTdX;$ MATRIX MTTdX(1,1);$ MTTdX(1,1) := >> lin(r,flow,r,flow,1, - lin(c,effort,c,effort,1,mttx1,state,1) + >> mttu1,effort,1);$ clear MTTy;$ MATRIX MTTy(1,1);$ MTTy(1,1) := >> lin(c,effort,c,effort,1,mttx1,state,1);$ END; >> >> ______________________________________________ >> This email has been scanned by Netintelligence >> http://www.netintelligence.com/email >> >> </body> >> </html> >> >> To learn more about HTML Tidy see http://tidy.sourceforge.net >> Please fill bug reports and queries using the "tracker" on the Tidy web site. >> Additionally, questions can be sent to htm...@w3... >> HTML and CSS specifications are available from http://www.w3.org/ >> Lobby your company to join W3C, see http://www.w3.org/Consortium >> make: *** [rc_rdae.r] Error 1 >> >> >> mtt rc rep view >> ================================== >> Creating rc_odeso.gdat >> rc 0 >> Creating rc_odeso.fig >> line 0: warning: Skipping data file with no valid points >> >> gnuplot> plot 'rc_odeso.gdat' with lines >> ^ >> line 0: x range is invalid >> >> Creating rc_odeso.ps >> Incorrect object code 31 >> make[2]: *** [rc_odeso.ps] Error 1 >> >> ............. >> >> Creating rc_rep.tex >> gawk: fatal: no se puede utilizar la orden interna de gawk `system' >> como nombre de variable >> make: *** [rc_rep.tex] Error 2 >> Exiting MTT with error 2 >> Exiting MTT with error 1 >> >> >> >> >> -- >> Diego Saravia >> Die...@gm... >> NO FUNCIONA->ds...@un... >> >> ------------------------------------------------------------------------------ >> Want fast and easy access to all the code in your enterprise? Index and >> search up to 200,000 lines of code with a free copy of Black Duck® >> Code Sight™ - the same software that powers the world's largest code >> search on Ohloh, the Black Duck Open Hub! Try it now. >> http://p.sf.net/sfu/bds >> _______________________________________________ >> Mtt-help mailing list >> Mtt...@li... >> https://lists.sourceforge.net/lists/listinfo/mtt-help > > ------------------------------------------------------------------------------ > Want fast and easy access to all the code in your enterprise? Index and > search up to 200,000 lines of code with a free copy of Black Duck® > Code Sight™ - the same software that powers the world's largest code > search on Ohloh, the Black Duck Open Hub! Try it now. > http://p.sf.net/sfu/bds > _______________________________________________ > Mtt-help mailing list > Mtt...@li... > https://lists.sourceforge.net/lists/listinfo/mtt-help -- Diego Saravia Die...@gm... NO FUNCIONA->ds...@un... ==================================================================== "Disclaimer:" Haré lo que desee con los correos que reciba, quien no este de acuerdo, que se abstenga de enviarme correo a mí o a las listas donde este suscripto. En particular NO VALE ningun "disclaimer" que indique que el correo enviado es privado o sujeto a normas de empresas, gobiernos, u organizaciones de cualquier tipo. Con relación a los estados y sus leyes, analizare cualquier norma aplicable en el territorio donde eventualmente actúe en el momento, escucho a cualquiera que tenga algo que decir. Con respecto en particular a los derechos de autor, salvo acuerdo previo, gozaré plenamente de las 4 libertades con todo lo que reciba, considerandolo, en cuanto a lo patrimonial, como propio. ==================================================================== |
From: Diego S. <ds...@un...> - 2014-07-14 13:30:28
|
the only two relevant lines are < echo "1,2" #emergency fix only for rc < exit #################3 diff mttcambiossegundo/usr/share/mtt/bin/trans/name2index /usr/share/mtt/bin/trans/name2index 39,49d38 < VAR2=$2 < echo "ECHO $1 - $VAR2 - $3 - $4">>name2index.log < if [ -z "$VAR2" ]; then # dsa < VAR2='1,2' < fi < VAR4=$4 < if [ -z "$VAR4" ]; then # dsa < VAR4='1 2' < fi < echo "1,2" #emergency fix only for rc < exit 52c41 < name_index[$4]=$VAR2; --- > name_index[$4]=$2; 72,73c61 < }' names=$VAR2 < $1_struc.txt | tee -a name2index.log #dsa < --- > }' names=$2 < $1_struc.txt -- Diego Saravia Die...@gm... NO FUNCIONA->ds...@un... |
From: Diego S. <ds...@un...> - 2014-07-14 13:28:42
|
to pass warnings not as errors perhaps is better to use wc -l and ALSO is needed to change octave code & for && and take out \ #####################################################3 diff mttcambiossegundo/usr/share/mtt/bin/trans/mtt_error /usr/share/mtt/bin/trans/mtt_error 51,53c51 < err_length=`cat $error_file |grep -v warning: |wc -c | gawk '{print $1}'` < echo dsa ERROR LENGTH $err_length --- > err_length=`wc -c <$error_file | gawk '{print $1}'` -- Diego Saravia Die...@gm... NO FUNCIONA->ds...@un... |
From: Diego S. <ds...@un...> - 2014-07-14 13:26:11
|
tidy problems, forcing make command to returns 0 ($?), in /bin/mtt ###########################################################3 3213c3213 < tidy ${Subsystem}_rdae.r; echo "dsa $? force tidy exit ok 1"; --- > tidy ${Subsystem}_rdae.r 3224c3224 < rdae2dae_r ${fixcc} ${Subsystem}; tidy ${Subsystem}_dae.r; echo "dsa $? force tidy exit ok 2"; --- > rdae2dae_r ${fixcc} ${Subsystem}; tidy ${Subsystem}_dae.r 3260c3260 < dae2cse_r $fixcc $optimise $Solve ${Subsystem}; tidy ${Subsystem}_cse.r ; echo "dsa $? force tidy exit ok 3"; #$1_subs.r --- > dae2cse_r $fixcc $optimise $Solve ${Subsystem}; tidy ${Subsystem}_cse.r #$1_subs.r 3301c3301 < cse2scse_r $1 "$4"; tidy $1_scse.r; echo "dsa $? force tidy exit ok 4"; --- > cse2scse_r $1 "$4"; tidy $1_scse.r 3328c3328 < cse2ode_r $optimise $1; tidy $1_ode.r; echo "dsa $? force tidy exit ok 5"; --- > cse2ode_r $optimise $1; tidy $1_ode.r 3347c3347 < dae2lde_r $optimise $1; tidy $1_lde.r; echo "dsa $? force tidy exit ok 6"; --- > dae2lde_r $optimise $1; tidy $1_lde.r 3542c3542 < ode2obs_r $1; tidy $1_obs.r; echo "dsa $? force tidy exit ok 7"; --- > ode2obs_r $1; tidy $1_obs.r 3555c3555 < cse2rfe_r $1; tidy $1_rfe.r; echo "dsa $? force tidy exit ok 8"; --- > cse2rfe_r $1; tidy $1_rfe.r 3566c3566 < sspar2ss_r $1; tidy $1_ss.r; echo "dsa $? force tidy exit ok 9"; --- > sspar2ss_r $1; tidy $1_ss.r 3580c3580 < dae2dm_r $1; tidy $1_dm.r; echo "dsa $? force tidy exit ok 10"; --- > dae2dm_r $1; tidy $1_dm.r 3595c3595 < cse2csm_r $1 csm; tidy $1_csm.r; echo "dsa $? force tidy exit ok 11"; --- > cse2csm_r $1 csm; tidy $1_csm.r 3607c3607 < cse2csm_r $1 scsm; tidy $1_scsm.r; echo "dsa $? force tidy exit ok 12"; --- > cse2csm_r $1 scsm; tidy $1_scsm.r 3622c3622 < csm2sm_r $optimise $1 sm; tidy $1_sm.r; echo "dsa $? force tidy exit ok 15"; --- > csm2sm_r $optimise $1 sm; tidy $1_sm.r 3639c3639 < csm2sm_r $optimise $1 ssm; tidy $1_ssm.r; echo "dsa $? force tidy exit ok 16"; --- > csm2sm_r $optimise $1 ssm; tidy $1_ssm.r 3650c3650 < ode2smx_lang $1 r; tidy $1_smx.r; echo "dsa $? force tidy exit ok 17"; --- > ode2smx_lang $1 r; tidy $1_smx.r 3668c3668 < sm2smc_r $1; tidy $1_smc.r; echo "dsa $? force tidy exit ok 18"; --- > sm2smc_r $1; tidy $1_smc.r 3681c3681 < sm2smo_r $1; tidy $1_smo.r; echo "dsa $? force tidy exit ok 19"; --- > sm2smo_r $1; tidy $1_smo.r 3694c3694 < smc2ssk_r $1; tidy $1_ssk.r; echo "dsa $? force tidy exit ok 20"; --- > smc2ssk_r $1; tidy $1_ssk.r 3707c3707 < smo2ssl_r $1; tidy $1_ssl.r; echo "dsa $? force tidy exit ok 21"; --- > smo2ssl_r $1; tidy $1_ssl.r 3720c3720 < dm2tf_r $1; tidy $1_tf.r; echo "dsa $? force tidy exit ok 22"; --- > dm2tf_r $1; tidy $1_tf.r 3731c3731 < tf2pkim_r $1; tidy $1_pkim.r; echo "dsa $? force tidy exit ok 23"; --- > tf2pkim_r $1; tidy $1_pkim.r 3742c3742 < ssk2ctf_r $1; tidy $1_ctf.r; echo "dsa $? force tidy exit ok 24"; --- > ssk2ctf_r $1; tidy $1_ctf.r -- Diego Saravia Die...@gm... NO FUNCIONA->ds...@un... |
From: Diego S. <ds...@un...> - 2014-07-14 13:22:50
|
changing System for Systema and system for systema (not in all places) diff mttcambiossegundo/usr/share/mtt/bin/trans/rep_txt2tex /usr/share/mtt/bin/trans/rep_txt2tex 167c167 < Systema = $(Switches+2) --- > System = $(Switches+2) 208,210c208,210 < SysRepLang = sprintf("%s_%s", Systema, RepLang); < SysRepLangArgs = sprintf("%s_%s", Systema, RepLang, __Args); < SysRep = sprintf("%s_%s%s", Systema, Representation, __Args); --- > SysRepLang = sprintf("%s_%s", System, RepLang); > SysRepLangArgs = sprintf("%s_%s", System, RepLang, __Args); > SysRep = sprintf("%s_%s%s", System, Representation, __Args); 214c214 < Systema,Representation,Language, header_args); --- > System,Representation,Language, header_args); 231c231 < # command = sprintf("sed s!fig{!fig{%s! < %s_%s.%s", Directory, Systema, Representation, Language); --- > # command = sprintf("sed s!fig{!fig{%s! < %s_%s.%s", Directory, System, Representation, Language); 246c246 < Caption = sprintf("System \\textbf{%s}, representation %s (%s)", Systema, Representation, __Args); --- > Caption = sprintf("System \\textbf{%s}, representation %s (%s)", System, Representation, __Args); 252c252 < }' mtt_switches="${mtt_switches}" systema=$1 Directory=$directory PWD=`pwd` > $1_rep.tex --- > }' mtt_switches="${mtt_switches}" system=$1 Directory=$directory PWD=`pwd` > $1_rep.tex -- Diego Saravia Die...@gm... NO FUNCIONA->ds...@un... |
From: Peter G. <Pet...@un...> - 2014-07-14 06:57:26
|
Hi Diego, I have just upgraded to the latest octave and I also get that behaviour. The problem is discussed here: http://octave.1599824.n4.nabble.com/continuation-td4661851.html I have temporarily fixed the problem by adding the line warning off Octave:deprecated-syntax to mtt/lib/octave/.octaverc on SF. Geraint, I'm not sure what the long-term solution is to this. Best wishes, Peter. Peter Gawthrop Professorial Fellow Systems Biology Laboratory Melbourne School of Engineering The University of Melbourne Parkville, Victoria 3010, Australia pet...@un... http://scholar.google.com/citations?sortby=pubdate&hl=en&user=HOLeYbMAAAAJ http://www.gawthrop.net/ http://www.icmm.org.uk/ From: Diego Saravia <ds...@un...> Subject: [Mtt-help] testing the new debian package Date: Mon, 14 Jul 2014 02:45:52 -0300 > debs pkgs installed without errors in ubuntu 14 > > I have the following errors: > > mtt copy rc OK > cd rc OK > mtt -cc -i euler -o rc gnuplot view > ======================================== > Creating rc_ibg.m > INFORMATION: An MTT transformation has generated the following messages > warning: using continuation marker \ outside of double quoted strings > is deprecated and will be removed in a future version of Octave; near > line 3 of file '/usr/share/mtt/bin/trans/m/rbg2ibg.m' > > ......... > > make[1]: *** [rc_ibg.m] Error 1 > Exiting MTT with error 2 > make: *** [rc_struc.txt] Error 1 > > > > mtt rc ode oct > > ======================================== > Creating rc_rdae.r > line 15 column 1 - Warning: missing <!DOCTYPE> declaration > line 15 column 1 - Warning: plain text isn't allowed in <head> elements > line 15 column 1 - Info: <head> previously mentioned > line 15 column 1 - Warning: inserting implicit <body> > line 15 column 1 - Warning: inserting missing 'title' element > Info: Document content looks like HTML 3.2 > 4 warnings, 0 errors were found! > > <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN"> > <html> > <head> > <meta name="generator" content= > "HTML Tidy for Linux/x86 (vers 25 March 2009), see www.w3.org"> > <title></title> > </head> > <body> > in "rc_def.r"$ clear MTTdX;$ MATRIX MTTdX(1,1);$ MTTdX(1,1) := > lin(r,flow,r,flow,1, - lin(c,effort,c,effort,1,mttx1,state,1) + > mttu1,effort,1);$ clear MTTy;$ MATRIX MTTy(1,1);$ MTTy(1,1) := > lin(c,effort,c,effort,1,mttx1,state,1);$ END; > > ______________________________________________ > This email has been scanned by Netintelligence > http://www.netintelligence.com/email > > </body> > </html> > > To learn more about HTML Tidy see http://tidy.sourceforge.net > Please fill bug reports and queries using the "tracker" on the Tidy web site. > Additionally, questions can be sent to htm...@w3... > HTML and CSS specifications are available from http://www.w3.org/ > Lobby your company to join W3C, see http://www.w3.org/Consortium > make: *** [rc_rdae.r] Error 1 > > > mtt rc rep view > ================================== > Creating rc_odeso.gdat > rc 0 > Creating rc_odeso.fig > line 0: warning: Skipping data file with no valid points > > gnuplot> plot 'rc_odeso.gdat' with lines > ^ > line 0: x range is invalid > > Creating rc_odeso.ps > Incorrect object code 31 > make[2]: *** [rc_odeso.ps] Error 1 > > ............. > > Creating rc_rep.tex > gawk: fatal: no se puede utilizar la orden interna de gawk `system' > como nombre de variable > make: *** [rc_rep.tex] Error 2 > Exiting MTT with error 2 > Exiting MTT with error 1 > > > > > -- > Diego Saravia > Die...@gm... > NO FUNCIONA->ds...@un... > > ------------------------------------------------------------------------------ > Want fast and easy access to all the code in your enterprise? Index and > search up to 200,000 lines of code with a free copy of Black Duck® > Code Sight™ - the same software that powers the world's largest code > search on Ohloh, the Black Duck Open Hub! Try it now. > http://p.sf.net/sfu/bds > _______________________________________________ > Mtt-help mailing list > Mtt...@li... > https://lists.sourceforge.net/lists/listinfo/mtt-help |
From: Diego S. <ds...@un...> - 2014-07-14 05:45:59
|
debs pkgs installed without errors in ubuntu 14 I have the following errors: mtt copy rc OK cd rc OK mtt -cc -i euler -o rc gnuplot view ======================================== Creating rc_ibg.m INFORMATION: An MTT transformation has generated the following messages warning: using continuation marker \ outside of double quoted strings is deprecated and will be removed in a future version of Octave; near line 3 of file '/usr/share/mtt/bin/trans/m/rbg2ibg.m' ......... make[1]: *** [rc_ibg.m] Error 1 Exiting MTT with error 2 make: *** [rc_struc.txt] Error 1 mtt rc ode oct ======================================== Creating rc_rdae.r line 15 column 1 - Warning: missing <!DOCTYPE> declaration line 15 column 1 - Warning: plain text isn't allowed in <head> elements line 15 column 1 - Info: <head> previously mentioned line 15 column 1 - Warning: inserting implicit <body> line 15 column 1 - Warning: inserting missing 'title' element Info: Document content looks like HTML 3.2 4 warnings, 0 errors were found! <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN"> <html> <head> <meta name="generator" content= "HTML Tidy for Linux/x86 (vers 25 March 2009), see www.w3.org"> <title></title> </head> <body> in "rc_def.r"$ clear MTTdX;$ MATRIX MTTdX(1,1);$ MTTdX(1,1) := lin(r,flow,r,flow,1, - lin(c,effort,c,effort,1,mttx1,state,1) + mttu1,effort,1);$ clear MTTy;$ MATRIX MTTy(1,1);$ MTTy(1,1) := lin(c,effort,c,effort,1,mttx1,state,1);$ END; </body> </html> To learn more about HTML Tidy see http://tidy.sourceforge.net Please fill bug reports and queries using the "tracker" on the Tidy web site. Additionally, questions can be sent to htm...@w3... HTML and CSS specifications are available from http://www.w3.org/ Lobby your company to join W3C, see http://www.w3.org/Consortium make: *** [rc_rdae.r] Error 1 mtt rc rep view ================================== Creating rc_odeso.gdat rc 0 Creating rc_odeso.fig line 0: warning: Skipping data file with no valid points gnuplot> plot 'rc_odeso.gdat' with lines ^ line 0: x range is invalid Creating rc_odeso.ps Incorrect object code 31 make[2]: *** [rc_odeso.ps] Error 1 ............. Creating rc_rep.tex gawk: fatal: no se puede utilizar la orden interna de gawk `system' como nombre de variable make: *** [rc_rep.tex] Error 2 Exiting MTT with error 2 Exiting MTT with error 1 -- Diego Saravia Die...@gm... NO FUNCIONA->ds...@un... |
From: Dr G. B. <ger...@gc...> - 2014-07-13 14:57:56
|
Hi Diego If you resume mtt following an error, it will often continue, but the resulting files will almost certainly be corrupted. The apparent gnuplot errors that you are seeing arise because the simulation hasn't produced any meaningful data to be plotted. I have made important changes to the following files which will be required for the rc_ode.oct representation to work: mtt/cc/include/def.h mtt/bin/trans/mtt_header I have also uploaded two new .deb packages to sourceforge: https://sourceforge.net/projects/mtt/files/mtt/5.0.2014.07.13/ The .deb packages install cleanly on my machine (Linux Mint, based on Ubuntu 12) and the following commands run successfully without error: mtt copy rc cd rc mtt -cc -i euler -o rc gnuplot view mtt rc ode oct mtt rc rep view I will have only limited e-mail access for the next couple of weeks, but if you post to this list any further problems that you encounter due to package changes in the newer version of Ubuntu, hopefully we will be able to resolve them. Geraint -- Dr Geraint Bevan CEng MIET CSci MInstMC FHEA Lecturer, Applied Instrumentation and Control ger...@gc... http://www.gcu.ac.uk/ebe/staff/drgeraintbevan +44 (0) 141 273 1258 GnuPG fingerprint: 3085 D1DD B2A8 15ED 492F E75D 7175 7737 9D10 98D3 On 13/07/14 00:01, Diego Saravia wrote: > gawk: fatal: no se puede utilizar la orden interna de gawk `system' > > I changed all System and system for Systema and systema > > in rep_txt2tex > > 2014-07-12 18:30 GMT-03:00 Diego Saravia <ds...@un...>: >> thank you very much! >> >> some stuff: >> >> >>> >>> export SYMBOLIC='reduce' >> >> yes I discover that!!!! :) >> >> Today I downloaded also the tar from cvs, I found that it uses -w, it >> seems to work >> >> >>> >>> I haven't tried building MTT on anything as recent as Ubuntu 14. I am >>> just now having a look at it on Ubuntu 12 and finding a few minor issues >>> that will need tidying up in relation to the C++ code and use of >>> Octave's libraries. These issues should hopefully be fairly >>> straightforward to resolve. >>> >> >> ok, I am trying >> >> I really do not know anything about the software, but I am trying some >> stuff, just at random from manual >> >> >> mtt rc Clean; mtt -v -D rc ode oct >> >> I found several errors I think not essential but I could let the >> makefile advance >> making these changes >> >> perhaps mtt_error change is ok >> >> this: >> err_length=`wc -c <$error_file | gawk '{print $1}'` >> >> for this: >> err_length=`cat $error_file |grep -v warning: |wc -c | gawk '{print $1}'` >> echo dsa ERROR LENGTH $err_length >> >> I am not sure is working but at least makefile advance >> >> but for sure must be a better way for the next change >> I replace 23 lines in mtt >> in each place with >> >> tidy XX >> >> I append an echo, to aloud makefile to preceed >> >> >> tidy ${Subsystem}_rdae.r; echo "dsa $? force tidy exit ok 1"; >> >> with that changes I let the command finish the makefile >> >> Its a surprise , if you repeates a make it advances, ignoring the >> previous error, thats not usual >> >> >> ############################ >> now >> >> mtt rc Clean; mtt -v -D rc rep html >> >> it gives somewhere: >> >> dat2gdat rc odeso "" "" >> Creating rc_odeso.gdat >> rc 0 >> gdat2fig rc_odeso >> Creating rc_odeso.fig >> line 0: warning: Skipping data file with no valid points >> >> gnuplot> plot 'rc_odeso.gdat' with lines >> ^ >> line 0: x range is invalid >> >> echo Creating rc_odeso.ps >> Creating rc_odeso.ps >> ############################3 >> >> rc 0 is a problem (I think) with >> name2index >> >> I chang it , so its work, I am sure that badly, but it pass >> >> >> VAR2=$2 >> echo "ECHO $1 - $VAR2 - $3 - $4">>name2index.log >> if [ -z "$VAR2" ]; then # dsa >> VAR2='A' >> fi >> gawk ' >> { >> name_index[$4]=$2; >> } >> END{ >> M=split(names,xynames,":"); >> if (M==0) >> printf("0\n") >> else >> { >> if (M==1) >> printf("1,"); >> else { >> printf("%i,",name_index[xynames[1]]+1); >> names=xynames[2] >> } >> >> N=split(names,Names,","); >> for (i=1; i<N; i++) >> printf("%i,",name_index[Names[i]]+1); >> printf("%i\n",name_index[Names[N]]+1); >> } >> }' names=$VAR2 < $1_struc.txt #dsa >> >> ################################# >> next error: >> >> Done creating representations for rc_rep.tex >> rep_txt2tex rc "article" "" " -u -q -v -D"; >> Creating rc_rep.tex >> gawk: fatal: no se puede utilizar la orden interna de gawk `system' >> como nombre de variable >> make: *** [rc_rep.tex] Error 2 >> ###########################3 >> I do not do anything with it yet >> >> >> Sorry for bothering yo! >> Take care > > > |
From: Dr G. B. <ger...@gc...> - 2014-07-12 19:41:33
|
Thanks for the fixes Diego, I'll apply them now. The error regarding the file "64" not being found is most likely due to the configuration for Reduce in /etc/mtt.conf: export SYMBOLIC='reduce 64' It is likely that for your system you will instead need: export SYMBOLIC='reduce' I haven't tried building MTT on anything as recent as Ubuntu 14. I am just now having a look at it on Ubuntu 12 and finding a few minor issues that will need tidying up in relation to the C++ code and use of Octave's libraries. These issues should hopefully be fairly straightforward to resolve. Geraint -- Dr Geraint Bevan CEng MIET CSci MInstMC FHEA Lecturer, Applied Instrumentation and Control ger...@gc... http://www.gcu.ac.uk/ebe/staff/drgeraintbevan +44 (0) 141 273 1258 GnuPG fingerprint: 3085 D1DD B2A8 15ED 492F E75D 7175 7737 9D10 98D3 |
From: Diego S. <ds...@un...> - 2014-07-12 01:41:51
|
parese_m2cc now compiles ok, i add these lines in the preamble: stdlib for EOF and cstdlib for exit() #include <stdlib.h> #include <cstdlib> > > make build-cc > ============================== > parse_m2cc.cc: In function ‘std::string get_test()’: > parse_m2cc.cc:110:15: error: ‘exit’ was not declared in this scope > exit (-1); > ^ > parse_m2cc.cc:127:12: error: ‘EOF’ was not declared in this scope > case EOF: > ^ > parse_m2cc.cc:129:10: error: ‘exit’ was not declared in this scope > exit (-1); > ^ > parse_m2cc.cc: In function ‘void got_end()’: > parse_m2cc.cc:215:15: error: ‘exit’ was not declared in this scope > exit (-1); > ^ > parse_m2cc.cc: In function ‘int main()’: > parse_m2cc.cc:297:7: error: ‘EOF’ was not declared in this scope > case EOF: > ^ > make[1]: *** [parse_m2cc.exe] Error 1 > make: *** [build-cc] Error 2 > =============================== > > sometimes I receive the message cant find a file type _r > and there is a log abour number 64 > > > could some one help to install and undertand thes software? > > thank you very much > > > > El 10/7/14, Diego Saravia <ds...@un...> escribió: >> I am trying to install p2c >> >> i get one from http://schneider.ncifcrf.gov/p2c/ >> but it has a problem with gcc >> >> Is there any alternative? >> >> thanks >> >> > > > -- > Diego Saravia > Die...@gm... > NO FUNCIONA->ds...@un... > -- Diego Saravia Die...@gm... NO FUNCIONA->ds...@un... |
From: Diego S. <ds...@un...> - 2014-07-11 20:02:56
|
ok, I solve that, I change all getline functions in p2c to other name I have "reduce" working, but I am not sure if I have mtt working some things work, others are failing for example make build-cc ============================== parse_m2cc.cc: In function ‘std::string get_test()’: parse_m2cc.cc:110:15: error: ‘exit’ was not declared in this scope exit (-1); ^ parse_m2cc.cc:127:12: error: ‘EOF’ was not declared in this scope case EOF: ^ parse_m2cc.cc:129:10: error: ‘exit’ was not declared in this scope exit (-1); ^ parse_m2cc.cc: In function ‘void got_end()’: parse_m2cc.cc:215:15: error: ‘exit’ was not declared in this scope exit (-1); ^ parse_m2cc.cc: In function ‘int main()’: parse_m2cc.cc:297:7: error: ‘EOF’ was not declared in this scope case EOF: ^ make[1]: *** [parse_m2cc.exe] Error 1 make: *** [build-cc] Error 2 =============================== sometimes I receive the message cant find a file type _r and there is a log abour number 64 could some one help to install and undertand thes software? thank you very much El 10/7/14, Diego Saravia <ds...@un...> escribió: > I am trying to install p2c > > i get one from http://schneider.ncifcrf.gov/p2c/ > but it has a problem with gcc > > Is there any alternative? > > thanks > > -- Diego Saravia Die...@gm... NO FUNCIONA->ds...@un... |
From: Dr G. B. <ger...@gc...> - 2014-07-10 23:40:35
|
Hi Diego I have amended the file mttroot/mtt/doc/mtt.texi in the repository. I think this should resolve your errors. In case you are not using CVS to access the latest version of the code, the amended file can be downloaded directly from: http://mtt.cvs.sourceforge.net/viewvc/mtt/mttroot/mtt/doc/mtt.texi?revision=1.31 Please let me know if it still gives you any problems. Geraint -- Dr Geraint Bevan CEng MIET CSci MInstMC FHEA Lecturer, Applied Instrumentation and Control ger...@gc... http://www.gcu.ac.uk/ebe/staff/drgeraintbevan +44 (0) 141 273 1258 GnuPG fingerprint: 3085 D1DD B2A8 15ED 492F E75D 7175 7737 9D10 98D3 On 10/07/14 22:43, Diego Saravia wrote: > raising the section level of @subsubsection which is too low |
From: Diego S. <ds...@un...> - 2014-07-10 23:22:55
|
I am trying to install p2c i get one from http://schneider.ncifcrf.gov/p2c/ but it has a problem with gcc Is there any alternative? thanks 2014-07-10 18:43 GMT-03:00 Diego Saravia <ds...@un...>: > In the instalation process I get this error processing texi > > ======================================= > makeinfo mtt > mtt.texi:4336: warning: @item missing argument > mtt.texi:4485: warning: @item missing argument > mtt.texi:4488: warning: @item missing argument > mtt.texi:5210: raising the section level of @subsubsection which is too low > > no output produced unless I use makeinfo --force > ====================================== > > thank you very much any help > > > > -- > Diego Saravia > Die...@gm... > NO FUNCIONA->ds...@un... -- Diego Saravia Die...@gm... NO FUNCIONA->ds...@un... ==================================================================== "Disclaimer:" Haré lo que desee con los correos que reciba, quien no este de acuerdo, que se abstenga de enviarme correo a mí o a las listas donde este suscripto. En particular NO VALE ningun "disclaimer" que indique que el correo enviado es privado o sujeto a normas de empresas, gobiernos, u organizaciones de cualquier tipo. Con relación a los estados y sus leyes, analizare cualquier norma aplicable en el territorio donde eventualmente actúe en el momento, escucho a cualquiera que tenga algo que decir. Con respecto en particular a los derechos de autor, salvo acuerdo previo, gozaré plenamente de las 4 libertades con todo lo que reciba, considerandolo, en cuanto a lo patrimonial, como propio. ==================================================================== |
From: Diego S. <ds...@un...> - 2014-07-10 21:43:11
|
In the instalation process I get this error processing texi ======================================= makeinfo mtt mtt.texi:4336: warning: @item missing argument mtt.texi:4485: warning: @item missing argument mtt.texi:4488: warning: @item missing argument mtt.texi:5210: raising the section level of @subsubsection which is too low no output produced unless I use makeinfo --force ====================================== thank you very much any help -- Diego Saravia Die...@gm... NO FUNCIONA->ds...@un... |
From: Geraint P. B. <ge...@us...> - 2005-04-20 08:39:17
|
José Luis Núñez Mejía wrote: > suscribe To subscribe to Sourceforge lists, you must complete a form with your e-mail address and a password. For the MTT help list, the form is at: http://lists.sourceforge.net/lists/listinfo/mtt-help There is a similar one for the checkins list: http://lists.sourceforge.net/lists/listinfo/mtt-checkins -- Geraint Bevan http://homepage.ntlworld.com/geraint.bevan |
From: <ab...@fi...> - 2005-04-20 00:43:03
|
suscribe |
From: Geraint P. B. <g....@me...> - 2004-09-20 09:37:33
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello Danny, I think that the problem that you are experiencing is due to some changes in Octave since MTT 5.0 was released. If you download the latest mtt-snapshot from sourceforge and install that, you should (hopefully!) find that everything works as expected with recent versions of Octave. Please let us know if that doesn't fix things, of course! As far as installation is concerned, I expect that the way you installed pre 5.0 MTT the first time was along the lines of: untarring MTT in /usr/local editing mttrc to configure it for your local configuration and "source"ing mttrc from your login script (.bashrc or .cshrc, etc.): . /usr/local/mtt/bin/mttrc /usr/local/mtt The Makefile which appeared in version 5.0 was written primarily to allow .deb packages to be installed and uninstalled correctly according to the filesystem hierarchy standard. If you use the Makefile to install MTT, it will place a modified mttrc in /etc/mtt.conf which can be edited ~ (instead of mttrc) to set the path to Reduce, etc. and to select your preferred applications such as postscript and html viewers. The best address for a a quick response to queries is probably the mtt-help mailing list at sourceforge (I've copied this reply to the list). Let me know if this doesn't solve your problem. Best regards, Geraint. Ghamdan El-Miski wrote: | | G'day Geraint, | |>From the MTT sourceforge forum i believe your the guy to ask for | assistance with MTT installation problems. | | i have previously installed an earlier version of MTT on my laptop, | and have used it quite extensively. I have forgotten how i got it to | work. | | Now i have a new laptop on it i have: | | Installed Slackware 10.0. | Downloaded and installed octave-2.1.57.tar.gz into /usr/local/share | Purchased and installed reduce 3.7 into /usr/local/share | | and now i want to install mtt-5.0.tar | | I downloaded mtt-5.0.tar.gz from http://sourceforge.net/ | as SuperUser: | | $ mv mtt-5.0.tar.gz /usr/local | $ tar zxf mtt-5.0.tar.gz | | ----- This created the mtt directory with listing: | ----- $ ls | ----- CVS Makefile bin cc debian doc lib | | ----- There is no "configuration" file in /usr/local/mtt | ----- There is a Makefile, so i tried. | | $ make | | ----- This created the extra "configure-stamp" file | ----- $ ls | ----- CVS Makefile bin cc configure-stamp debian doc lib | | $ make install | | ----- $ ls | ----- CVS cc debian mtt.sh.tmp | ----- Makefile clean-conf.sh doc xmtt.sh | ----- bin clean.sh lib | ----- build-stamp configure-stamp mtt.sh | | Then as superuser still I edited the file mtt/bin/mttrc to make MTT_BASE | point to the place I installed MTT: | export MTT_BASE=/usr/local | | | Then in a normal user bash shell i typed: | $ . /usr/local/mtt/mttrc | ----- Setting paths with base /usr/local | | Now i'm guessing i'm ready to roll. | | So in my home directory i did: | $ mkdir mtttest | $ cd mtttest | $ mtt copy Pendulum | | ---- | | MTT (Model Transformation Tools) version 5.0 | ($Date: 2003/09/23 20:53:49 $) | This is free software with ABSOLUTELY NO WARRANTY. | Type `mtt warranty' for details. | | Copying system Pendulum from /usr/share/mtt/lib/examples | into directory Pendulum | | ---- | | $ ls | Pendulum_abg.fig* Pendulum_lbl.txt* Pendulum_simpar.txt* | Pendulum_desc.tex* Pendulum_numpar.txt* Pendulum_state.txt* | Pendulum_input.txt* Pendulum_rep.txt* Pendulum_subs.r* | $ mtt Pendulum abg view | ---- | | MTT (Model Transformation Tools) version 5.0 | ($Date: 2003/09/23 20:53:49 $) | This is free software with ABSOLUTELY NO WARRANTY. | Type `mtt warranty' for details. | | Copying .octaverc | Copying useful-functions.hh | Creating Pendulum_abg.ps | Creating view of Pendulum_abg - ps file | ---- | NO PROBLEMS HERE. | | $ mtt Pendulum cbg view | | MTT (Model Transformation Tools) version 5.0 | ($Date: 2003/09/23 20:53:49 $) | This is free software with ABSOLUTELY NO WARRANTY. | Type `mtt warranty' for details. | | Creating Pendulum_cmp.txt | Copying Mechanical-2D/ACCEL from | /usr/share/mtt/lib/comp/compound/Mechanical/Mechanical-2D/ACCEL to . | Creating Pendulum_sub.sh | Copying .octaverc | Creating ACCEL_cmp.txt | Creating ACCEL_sub.sh | Copying ACCEL_lbl.txt | Copying ROD from | /usr/share/mtt/lib/comp/compound/Mechanical/Mechanical-2D/ROD to . | Creating ROD_cmp.txt | Copying General/INTF from /usr/share/mtt/lib/comp/compound/General/INTF to | . | Creating ROD_sub.sh | Copying .octaverc | Creating INTF_cmp.txt | Creating INTF_sub.sh | Copying INTF_lbl.txt | Creating ROD_rbg.m | Creating ROD_cmp.m | Creating ROD_head.fig | Creating ROD_fig.fig | Creating ROD_cmp.fig | Creating ROD_port.fig | Creating ROD_sabg.fig | Creating ROD_art.fig | Creating ROD_alias.txt | Creating ROD_alias.m | Creating ROD_icd.txt | Creating ROD_icd.m | Creating INTF_cmp.txt | Creating INTF_sub.sh | Creating INTF_rbg.m | Creating INTF_cmp.m | Creating INTF_head.fig | Creating INTF_fig.fig | Creating INTF_cmp.fig | Creating INTF_port.fig | Creating INTF_sabg.fig | Creating INTF_art.fig | Creating INTF_alias.txt | Creating INTF_alias.m | Creating INTF_icd.txt | Creating INTF_icd.m | Creating INTF_abg.m | Checking port domains and units | no domains or units declared | Creating ROD_abg.m | Checking port domains and units | no domains or units declared | INFORMATION: An MTT transformation has generated the following messages | error: Cannot resolve port names: redraw abg.fig | error: evaluating if command near line 13, column 3 | error: called from `mtt_strip_name' in file | `/usr/share/mtt/bin/trans/m/mtt_stri | p_name.m' | error: evaluating assignment expression near line 369, column 16 | error: evaluating if command near line 328, column 2 | error: evaluating for command near line 323, column 7 | error: evaluating if command near line 296, column 5 | error: evaluating for command near line 260, column 3 | error: called from `rbg2abg' in file `/usr/share/mtt/bin/trans/m/rbg2abg.m' | make[1]: *** [ROD_abg.m] Error 1 | Exiting MTT with error 2 | make: *** [Pendulum_abg.m] Error 1 | Exiting MTT with error 2 | Exiting MTT with error 1 | --------------- | | What happened ??? | | ------- | | $ mtt copy rc | | MTT (Model Transformation Tools) version 5.0 | ($Date: 2003/09/23 20:53:49 $) | This is free software with ABSOLUTELY NO WARRANTY. | Type `mtt warranty' for details. | | Copying system rc from /usr/share/mtt/lib/examples into directory rc | $ ls | Pendulum/ rc/ | $ cd rc/ | $ ls | pulse/ r10/ rc_abg.fig* rc_desc.tex* rc_lbl.txt* rc_rep.txt* step/ | $ mtt rc cbg view | | MTT (Model Transformation Tools) version 5.0 | ($Date: 2003/09/23 20:53:49 $) | This is free software with ABSOLUTELY NO WARRANTY. | Type `mtt warranty' for details. | | Copying .octaverc | Copying useful-functions.hh | Creating rc_cmp.txt | Creating rc_sub.sh | Creating rc_rbg.m | Creating rc_cmp.m | Creating rc_head.fig | Creating rc_fig.fig | Creating rc_cmp.fig | Creating rc_port.fig | Creating rc_sabg.fig | Creating rc_art.fig | Creating rc_alias.txt | Creating rc_alias.m | Creating rc_icd.txt | Creating rc_icd.m | Creating rc_abg.m | Checking port domains and units | no domains or units declared | Creating rc_cbg.m (maximise integral causality) | Creating rc_type.sh | Creating rc_cbg.fig -- component type rc | Creating rc_cbg.ps | Creating view of rc_cbg - ps file | | --------- | THAT WORKED JUST FINE. | --------- | | It doesn't seem to like EMTF components, i have figured this out. | It doesn't like the port labeling [mod] or [3] of the EMTF components. | | --------- | | Whats your advice ??? | | Any help would be appreciated. | Thanks In advance. | Danny. | | P.S. If its not you that i should be contacting for assistance, | do you know who could help me with this problem? | | | | ---------------------------------------------------------------- | This message was sent using IMP, the Internet Messaging Program. - -- Geraint Bevan http://homepage.ntlworld.com/geraint.bevan -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iEYEARECAAYFAkFOpnMACgkQcXV3N50QmNOlBQCdFPyrTTiexvke7A0aM88zooks t5EAoI6oJa5mwre1IDaHkNYzYlf34Pe8 =xVhm -----END PGP SIGNATURE----- |
From: geraint <ge...@wo...> - 2001-04-05 12:05:30
|
On Thu, 5 Apr 2001, Peter Gawthrop wrote: > Hi Geraint, > > I'm pushing the .oct stuff quite hard now and it has raised some > issues -- some partially solved. > > 1. The x^y --> pow(x,y) issue. This is still unresoved in general as > the current conversion only works in simple cases. I have solved it > by using the _subs.r file containing: > > FOR ALL x,y LET x^y = pow(x,y); % Use the pow function > > I think you had some reservations about doing this globally so I > thought I would ask you first. > I did have a couple of reservations, however I am starting to think that it may be less error prone than the alternatives. I agree that it should be included, at least until a good way of handling infix operators that are unknown, or have alternate meanings, to the C preprocessor can be devised. We should also include the derivative of pow for the implicit method: for all f,g,x let df(pow(f,g),x)= pow(f,g-1) * (df(f,x)*g + df(g,x)*f*log(f)); and to simplify some expressions: for all x let pow(x,0) = 1; for all x let pow(x,1) = x; > 2. Expressions containing integers (eg pow(x,2), 1/3) silently give > the wrong answer for .oct files. I have solved it > by using the _subs.r file containing: > > ON ROUNDED; % No integer output > > Again, should we do this globally for .oct files? I think that it would be useful to include this for all C/C++ generated files as it also eliminates the risk of integer constant overflows when compiling. > > 3. There is a -sdin switch in mtt which makes the .c version read from > standard input (ignoring the input.txt). I have extended this for > .m files in trans/make_stdin. Essentially, this reads from a global > variable MTT_u. > > make_stdin needs extending to .cc for both .oct and .exe; could you > do that? I guess the .oct should mirror .m and .exe the .c version. > I'll have a look at this. > I have now got model-based identification working for a couple of > cases using the DIY rep ippp + files in the lib/control/PPP > library. Have a look at idRC and idNonLinearTanks if you are > interested. I think this approach would be neat for fault > detection, but I have not tried it. > > Next step is to revamp the predictive control stuff .... > > Best wishes, > > P. > > > > > > > > |
From: geraint <ge...@ge...> - 2000-12-14 23:40:40
|
Anne, I have just installed an old p2c version 1.20 on my box and tried running the rc example. I get the same error message that you are getting (below). I don't encounter this problem with p2c version 1.22, so I think that it will be necessary for you to update to a later version of p2c. It does appear that your current version of p2c is set up correctly, so if you install the new version in the same way, hopefully this will solve the problem. Let me know how it goes. Geraint. Error: Translation completed. Creating rc_odes.out rc_ode2odes.c: In function `main': rc_ode2odes.c:828: `statefile_BFLAGS' undeclared (first use in this function) rc_ode2odes.c:828: (Each undeclared identifier is reported only once rc_ode2odes.c:828: for each function it appears in.) rc_ode2odes.c:837: `simparfile_BFLAGS' undeclared (first use in this function) rc_ode2odes.c:846: `numparfile_BFLAGS' undeclared (first use in this function) make: *** [rc_ode2odes.out] Error 1 Debugging - log files retained in LOGFILES Exiting MTT with error 2 Exiting MTT with error 1 |
From: geraint <ge...@ge...> - 2000-12-13 02:55:44
|
Anne, There are three parts to p2c that need to be found for MTT to function - the executable "p2c", the header file "p2c/p2c.h" and the library "libp2c.a"; three environment variables need to be set correctly to point to these - "PATH", "C_INCLUDE_PATH" and "LD_LIBRARY_PATH". If "PATH" does not include the directory in which the "p2c" executable resides, "mtt_p2c" will not be able to translate the Pascal files into C. If "PATH" is not correct and the executable cannot be found, the error message should be something like: Creating rc_ode2odes.c /usr/local/mtt/mtt/mtt/trans/mtt_p2c: p2c: command not found cat: rc_ode2odes.log: No such file or directory mv: rc_ode2odes.c: No such file or directory cat: mtt_junk.c: No such file or directory Creating rc_odes.out /usr/lib/crt1.o: In function `_start': /usr/lib/crt1.o(.text+0x18): undefined reference to `main' collect2: ld returned 1 exit status make: *** [rc_ode2odes.out] Error 1 Exiting MTT with error 2 Exiting MTT with error 1 The header file "p2c.h" should be contained within a directory called "p2c". If it is not, create this directory and symlink/copy p2c.h to it. Then ensure that the environment variable "C_INCLUDE_PATH" points to the directory containing the "p2c" directory. If C_INCLUDE_PATH is not correct and "p2c/p2c.h" cannot be found, the symptom will probably be an error message along the lines of: Creating rc_odes.out rc_ode2odes.c:10: p2c/p2c.h: No such file or directory make: *** [rc_ode2odes.out] Error 1 Exiting MTT with error 2 Exiting MTT with error 1 The environment variable "LD_LIBRARY_PATH" is used by the linker ("ld") to include precompiled code in the executable. This variable should point to the location of "libp2c.a" (or possibly "libp2c.so.#" where # is the version number of "p2c"). If "LD_INCLUDE_PATH" is not set correctly, the error message should be similar to: Creating rc_odes.out /usr/bin/ld: cannot find -lp2c collect2: ld returned 1 exit status make: *** [rc_ode2odes.out] Error 1 Exiting MTT with error 2 Exiting MTT with error 1 Check the environment variables, and correct them in your .bashrc or .cshrc file if necessary. If this doesn't help, send me a copy of the error message that you are getting and we can try again. Geraint. On Tue, 12 Dec 2000, Anne M Taylor wrote: > Peter, Geraint, > > I have put mtt 4.8 on the boxes here (suns running solaris) and all seems to be > well apart from p2c. > The p2c fix peter told me to do does not seem to work. > Have you any ideas of how to get around this problem? > > Anne > > _______________________________________________ > Mtt-help mailing list > Mtt...@li... > http://lists.sourceforge.net/mailman/listinfo/mtt-help > |
From: Anne M T. <ann...@ba...> - 2000-12-12 11:11:55
|
Peter, Geraint, I have put mtt 4.8 on the boxes here (suns running solaris) and all seems to be well apart from p2c. The p2c fix peter told me to do does not seem to work. Have you any ideas of how to get around this problem? Anne |
From: Peter G. <pe...@en...> - 2000-11-04 14:43:37
|
Hi Anne, the "new" mtt will hopefully solve this problem by writing all .r files in "optimised" form. That is subexpressions are extracted and then reused. Hopefully, this will give shorter (but more) lines. I could try out your system now if you tar it up and send to me (not the mailing list). Best wishes, P. On Fri, 3 Nov 2000, Anne M Taylor wrote: > I am currently having a problem with mtt in that reduce will not cope with lines of > code over about 30,000 characters long. Hence mtt is falling over at the dae.r > stage. > > Are there any known ways of getting around this problem? > > Anne > > P.S. I'm off for the weekend now but will be back monday. > _______________________________________________ > Mtt-help mailing list > Mtt...@li... > http://lists.sourceforge.net/mailman/listinfo/mtt-help > -------------------------------------------------------------------- | Prof. Peter J Gawthrop | Tel: +44 141 330 4960/2528 | | Centre for Systems and Control & | Fax: +44 141 330 4343 | | Dept. of Mechanical Engineering | Room: James Watt 603 | | University of Glasgow | Email: P.G...@en... | | GLASGOW G12 8QQ, Scotland, UK | URL: www.mech.gla.ac.uk/~peterg | -------------------------------------------------------------------- |
From: Anne M T. <ann...@ba...> - 2000-11-03 14:24:04
|
I am currently having a problem with mtt in that reduce will not cope with lines of code over about 30,000 characters long. Hence mtt is falling over at the dae.r stage. Are there any known ways of getting around this problem? Anne P.S. I'm off for the weekend now but will be back monday. |