[pdp-discuss] Compile error, 3.2a7 on Linux, Fedora Core 2
Randall C. O'Reilly
oreilly at psych.colorado.edu
Wed Jan 25 11:01:26 MST 2006
You need to run oldlba++ instead of leabra++ for the explorations from the
book -- I updated leabra++ in several non-backwards-compatible ways to get
rid of a lot of outdated junk, etc, and the oldlba++ contains this stuff.
Several of the projects, esp reinforcement learning and the working
memory/pfc type models depend on this outdated stuff.
At some point, the explorations will be updated to run on the new code, but
probably not until version 4.0 of pdp++ is out, and a second edition of the
textbook is written!
- Randy
On Wednesday 25 January 2006 10:50, Randall, Allan (Contractor) wrote:
> Okay, I spoke too soon... it compiles, and several of the Explorations from
> the book seem to run, but rl_cond.proj.gz from Chapter 6 (reinforcement
> learning) does not run properly. This is in 3.2a7 on Linux, Fedora Core 2,
> compiled (the same simulation ran fine on 3.1, installed binaries).
>
> The network comes up, but it is not initialized, so there is just a blank
> layer, instead of the grid that comes up in 3.1. I can click "Build All"
> and that fills the layer in with units, but when it runs, the weights to
> not update as they do in 3.1.
>
> It does generate three nonfatal warnings when compiling, which I've
> reproduced below.
>
> Also, when the file is loaded, there is a long sequence of nonfatal
> run-time warnings, which I've also summarized below. Is anyone familiar
> with any of this, or can push me in the right direction?
>
> Allan
> --
> Allan.Randall at drdc-rddc.gc.ca
>
> COMPILE WARNINGS:
>
> /usr/local/pdp++/src/css/css_lex.cc: In function `int yylex()':
> /usr/local/pdp++/src/css/css_lex.cc:334: warning: `int iv' might be used
> uninitialized in this function
>
> ...
>
> /usr/local/pdp++/src/rns/rns.cc: In member function `void
> ModelParam::updateParamsFromSpec(taBase*)':
> /usr/local/pdp++/src/rns/rns.cc:1447: warning: passing NULL used for
> non-pointer converting 1 of `taString::taString(int, const char*)'
> /usr/local/pdp++/src/rns/rns.cc: In member function `virtual void
> RtConstrain::Loop()':
> /usr/local/pdp++/src/rns/rns.cc:2077: warning: unused variable `float
> dummy'
>
> RUN-TIME WARNINGS:
>
> leabra++> *** Unknown type: LeabraACLayerSpec in Dump_Load_Path
> *** Unknown type: LeabraTimeUnitSpec in Dump_Load_Path
> *** Unknown type: LeabraTimeConSpec in Dump_Load_Path
> *** Unknown type: LeabraTimeUnit in Dump_Load_Path
> *** Unknown type: LeabraTimeUnit in Dump_Load_Path
> ...lots more like this...
> *** Unknown type: LeabraTimeUnit in Dump_Load_Path
> *** Unknown type: LeabraTimeUnit in Dump_Load_Path
> *** Unknown type: LeabraAeSE_Stat in Dump_Load_Path
> *** Unknown type: LeabraAeSE_Stat in Dump_Load_Path
> *** Unknown type: LeabraAeSE_Stat in Dump_Load_Path
> *** Unknown type: LeabraAeSE_Stat in Dump_Load_Path
> *** Unknown type: LeabraAeSE_Stat in Dump_Load_Path
> *** Unknown type: LeabraACLayerSpec in Dump_Load_Path
> *** Member: layer_link not found in type: LeabraLayerSpec (this is likely
> just harmless version skew) <<err_skp ->>{link=false: gain=0.5:
> gp_uses_lay_avg=false: };<<- err_skp>>
>
> *** Path Tokens out of order, on list: $0$ in file: 1
> *** Member: phase_sharp not found in type: LeabraUnitSpec (this is likely
> just harmless version skew) <<err_skp ->>{type=NONE: gain=1.1: off=1:
> delta=0.1: i_gain=1.6: act_gain=0.1: };<<- err_skp>>
>
> *** Member: phase_delta not found in type: LeabraUnitSpec (this is likely
> just harmless version skew) <<err_skp ->>=0;<<- err_skp>>
>
> *** Member: phase_sharp not found in type: LeabraLinUnitSpec (this is
> likely just harmless version skew) <<err_skp ->>{type=NONE: gain=1.1:
> off=1: delta=0.1: i_gain=1.6: act_gain=0.1: };<<- err_skp>>
>
> *** Member: phase_delta not found in type: LeabraLinUnitSpec (this is
> likely just harmless version skew) <<err_skp ->>=0;<<- err_skp>>
>
> *** Member: phase_sharp not found in type: LeabraUnitSpec (this is likely
> just harmless version skew) <<err_skp ->>{type=NONE: gain=1.1: off=1:
> delta=0.1: i_gain=1.6: act_gain=0.1: };<<- err_skp>>
>
> *** Member: phase_delta not found in type: LeabraUnitSpec (this is likely
> just harmless version skew) <<err_skp ->>=0;<<- err_skp>>
>
> *** Unknown type: LeabraTimeUnitSpec in Dump_Load_Path
> *** Unknown type: LeabraTimeConSpec in Dump_Load_Path
> *** Unknown type: LeabraTimeUnit in Dump_Load_Path
> *** Unknown type: LeabraTimeUnit in Dump_Load_Path
> ...lots more like this...
> *** Unknown type: LeabraTimeUnit in Dump_Load_Path
> *** Unknown type: LeabraTimeUnit in Dump_Load_Path
> *** Path Token Not Created Yet: $3$
> *** Path Tokens out of order, on list: $3$ in file: 6
> *** Member: layer_links not found in type: LeabraLayer (this is likely just
> harmless version skew) <<err_skp ->>{
> el_typ=LayerLink;
> el_def=0;
> name="";
> };<<- err_skp>>
>
> *** Member: td not found in type: LeabraLayer (this is likely just harmless
> version skew) <<err_skp ->>=0;<<- err_skp>>
>
> *** Member: td_updt not found in type: LeabraLayer (this is likely just
> harmless version skew) <<err_skp ->>=0;<<- err_skp>>
>
> *** Unknown type: LeabraTimeUnit in Dump_Load_Path
> *** Member: layer_links not found in type: LeabraLayer (this is likely just
> harmless version skew) <<err_skp ->>{
> el_typ=LayerLink;
> el_def=0;
> name="";
> };<<- err_skp>>
>
> *** Member: td not found in type: LeabraLayer (this is likely just harmless
> version skew) <<err_skp ->>=0;<<- err_skp>>
>
> *** Member: td_updt not found in type: LeabraLayer (this is likely just
> harmless version skew) <<err_skp ->>=0;<<- err_skp>>
>
> *** Member: layer_links not found in type: LeabraLayer (this is likely just
> harmless version skew) <<err_skp ->>{
> el_typ=LayerLink;
> el_def=0;
> name="";
> };<<- err_skp>>
>
> *** Member: td not found in type: LeabraLayer (this is likely just harmless
> version skew) <<err_skp ->>=0;<<- err_skp>>
>
> *** Member: td_updt not found in type: LeabraLayer (this is likely just
> harmless version skew) <<err_skp ->>=0;<<- err_skp>>
>
> *** Member: layer_links not found in type: LeabraLayer (this is likely just
> harmless version skew) <<err_skp ->>{
> el_typ=LayerLink;
> el_def=0;
> name="";
> };<<- err_skp>>
>
> *** Member: td not found in type: LeabraLayer (this is likely just harmless
> version skew) <<err_skp ->>=0;<<- err_skp>>
>
> *** Member: td_updt not found in type: LeabraLayer (this is likely just
> harmless version skew) <<err_skp ->>=0;<<- err_skp>>
>
> *** Unknown type: LeabraAeSE_Stat in Dump_Load_Path
> *** Path Tokens out of order, on list: $20$ in file: 21
> *** Unknown type: LeabraAeSE_Stat in Dump_Load_Path
> *** Path Tokens out of order, on list: $24$ in file: 25
> *** Unknown type: LeabraAeSE_Stat in Dump_Load_Path
> *** Path Tokens out of order, on list: $27$ in file: 28
> *** Unknown type: LeabraAeSE_Stat in Dump_Load_Path
> *** Path Tokens out of order, on list: $31$ in file: 32
> *** Unknown type: LeabraAeSE_Stat in Dump_Load_Path
> *** Warning: Could not resolve following path: $4$ in object: root
> *** Warning: Could not resolve following path: $3$ in object: root
> *** Warning: Could not resolve following path:
> .projects[0].specs[2].children[0] in object: root *** Warning: Could not
> resolve following path: $0$ in object: root *** Warning: Could not resolve
> following path: $0$ in object: root ...lots more like this...
> *** Warning: Could not resolve following path: $0$ in object: root
> *** Warning: Could not resolve following path: $9$ in object: root
>
>
>
> _______________________________________________
> PDP-Discuss mailing list
> PDP-Discuss at psych-srv3.Colorado.EDU
> http://psych-srv3.Colorado.EDU/mailman/listinfo/pdp-discuss
More information about the PDP-Discuss
mailing list