JiscMail Logo
Email discussion lists for the UK Education and Research communities

Help for DSAM Archives


DSAM Archives

DSAM Archives


DSAM@JISCMAIL.AC.UK


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

DSAM Home

DSAM Home

DSAM  January 2011

DSAM January 2011

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Re: DSAM and AMS problems

From:

"Dr. Lowel P. O'Mard" <[log in to unmask]>

Reply-To:

Dr. Lowel P. O'Mard

Date:

Thu, 6 Jan 2011 18:20:36 +0000

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (123 lines)

Dear Pavel,

I have now made the suggested changes to the DSAM and AMS installations
as well as correcting all the tutorial simulations scripts.

I will be uploading the new installations shortly.


Many regards,


...Lowel.



On Thu, 2010-11-11 at 04:38 +0100, Pavel Sanda wrote:
> Hello,
> 
> this report has 3 parts:
> 1: installation problems with DSAM.
> 2: installation problems with AMS.
> 3: runtime AMS problem.
> 
> 
> I created ebuilds (kind of installation scripts) so DSAM and ASM can be
> properly installed on Gentoo linux. They are now publicly available in rebutia
> overlay.
> 
> The installation didn't went smoothly and although the linked patches are
> trivial it really took me quite time to pinpoint why the packages can't be
> properly built and I would propose to apply the patches or use them for better
> fix (or at least put some note into installation instructions).
> 
> 
> * 1 *
> The first problem with DSAM is that it won't detect properly installed
> wxwidgets - output of configure script says:
> 
> checking for WXWIN configuration shell script (wx-config)... yes
> checking for wxWidgets base support for threaded extensions... no
> checking for wxWidgets GUI support... no
> 
> the reason why check does not work is that command like
> 	g++ ... file.cpp `wx-config --libs`
> works properly, while
> 	g++ ... `wx-config --libs` file.cpp
> fails.
> So the proper solution is to use LIBS instead of LDFLAGS in
> configure.ac. See also this message from autoconf list:
> [log in to unmask]" target="_blank">http:[log in to unmask]
> 
> The patch can be downloaded from here:
> http://git.overlays.gentoo.org/gitweb/?p=user/rebutia.git;a=blob_plain;f=sci-misc/dsam/files/dsam.patch;hb=HEAD
> 
> 
> The second problem is that configure reports problem with dsam-config:
> 
> checking for long file names... yes
> configure: creating ./config.status
> config.status: creating dsam.spec
> chmod: cannot access `dsam-config': No such file or directory
> config.status: creating CfgTools/Makefile
> chmod: cannot access `dsam-config': No such file or directory
> ....
> config.status: creating dsam-config
> 
> This issue can be easily repaired by just second run of configure script,
> so I was not fixing it, but probably you are intersted...
> 
> 
> 
> * 2 *
> First problem - during the AMS compilation those messages can be seen:
> 
> In file included from ./ams.cpp:62:
> ./AMSSetup.h:53:1: warning: "PACKAGE" redefined
> In file included from /usr/include/dsam/DSAM.h:40,
> from ./ams.cpp:54:
> ....
> 
> The definitions are different so there is most probably something
> wrong. The compilation proceeds though so I didn't investigate more.
> 
> 
> Second problem. There is unusual construct inside mkunxinst.env which
> break the DISTDIR feature of autotools. Some distributions don't
> install directly but inside specific locations (note that its different
> from --prefix) to check various things before the package enters
> real root tree. The construct breaks this.
> Patch can be downloaded here:
> http://git.overlays.gentoo.org/gitweb/?p=user/rebutia.git;a=blob;f=sci-misc/ams/files/ams.patch;h=682634bfc06aef935ebef080dfd6bb929b01f4e8;hb=HEAD
> 
> 
> 
> * 3 *
> When AMS is installed and runs, some tutorial models (e.g. precendence.sim) 
> can't be loaded, quitting with the message: 
> SetUniParValue_Utility_SimScript: Could not find parameter 'off'.
> 
> On console I see:
> SetUniParValue_Utility_SimScript: Could not find parameter 'off'.ReadSimScript_Utility_SimScript: Parser could not read simulation.ReadPars_Utility_SimScript: Could not read simulation script from
> file '/usr/share/ams/Tutorials/Precedence//usr/share/ams/Tutorials/Precedence/precedence.sim'.InitProcessVariables_AppInterface: Could not Initialise simulation.MainApp::CheckInitialisation: Could not initialise process variables.CheckData_ModuleMgr: GetSimulation_ModuleMgr: Process EarObject not initialised.SDIDocument::OnOpenDocument: Diagram verification failed.
> 
> 
> Another example - if I try to run published forward masking model model
> (Meddis , R. and O'Mard, L. P. (2005)) it won't load the file (forwardMaskingSPIKE.spf)
> SDIDiagram::VerifyDiagram: The number of diagram lines (21) does not correspond
> to the number of simulation connections (20).
> 
> 
> or I try to run published model Cochlear Nucleus pitch model (Wiegrebe, L. and Meddis, R. (2004))
> it loads (human_pitch.spf), but when running, then whole AMS crashes:
> Console: ams: xcb_io.c:140: dequeue_pending_request: Assertion `req == dpy->xcb->pending_requests' failed.
> 
> 
> 
> I have no idea whats wrong and how to fix it, but perhaps you have?
> (simulations taken from http://www.essex.ac.uk/psychology/psy/people/meddis/models.html )
> 
> 
> Thanks for any answers,
> Pavel

Top of Message | Previous Page | Permalink

JiscMail Tools


RSS Feeds and Sharing


Advanced Options


Archives

March 2023
January 2023
August 2021
March 2020
February 2020
October 2019
July 2019
June 2013
November 2012
October 2011
January 2011
November 2010
September 2010
July 2010
May 2010
December 2008
December 2007
February 2007
December 2006
May 2006
February 2006
November 2005
September 2005
May 2005
January 2005
November 2004
October 2004
June 2003
November 2002
August 2002
July 2002
June 2002
October 2001
September 2001
July 2001
April 2001
March 2001
March 2000
December 1999
February 1999
November 1998


JiscMail is a Jisc service.

View our service policies at https://www.jiscmail.ac.uk/policyandsecurity/ and Jisc's privacy policy at https://www.jisc.ac.uk/website/privacy-notice

For help and support help@jisc.ac.uk

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager