Oberon Community Platform Forum
May 27, 2017, 07:47:50 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: How to get this fixed ? - help needed  (Read 2971 times)
darek
Jr. Member
**
Posts: 57


« on: April 14, 2011, 08:02:39 AM »

Hi All,
  I am trying to squeeze (for my radar/SDR projects) as many  MFLOPS as possible. I am using the Excalibur digital receiver (http://www.winradio.com/home/g31ddc.htm)  to collect  RF signals, and at the output of the device I am getting a stream of data (16 bit I,Q samples, sampled at 2.5MHz, bandwidth of 2MHz) via the USB interface. I do not have access to the FPGA on the board of the Excalibur receiver, thus  I had to perform so-called Digital Down Conversion (DDC) in the software. This process extracts two data streams/channels and reduces sampling rate by factor 10.
At this moment I have fully functional interface to the device (using a DLL from the vendor) written in ActiveOberon and running on my laptop under WinAos on Win7. I have also implemented the DDC converter and it seems to be working fine. Of course, the data collection is just the beginning of a long chain of heavy calculations.
In one of my previous post I mentioned that the WinAos is not able to install  some of  those  optimized libraries. For the performance reason, I need them very badly   Grin.

So, what shall I do to get those libraries installed and working?

Any suggestions are very welcome.

Regards,
  Darek
Logged
staubesv
Administrator
Sr. Member
*****
Posts: 387



« Reply #1 on: April 14, 2011, 02:52:16 PM »

Quote
ArrayBase: setting runtime library (semi-optimized) default methods.
Warning: ArrayBase runtime library optimizer not installed.

This message means that the command ArrayBaseOptimized.Install could not be found on your system (See procedure InitOptimization in module ArrayBase.Mod).

It seems that the file ArrayBaseOptimized.Obw in your /WinAos/obj/ folder is missing. Could you please check this?
Logged
darek
Jr. Member
**
Posts: 57


« Reply #2 on: April 14, 2011, 05:21:44 PM »

Hi Sven,
   I found the  file ArrayBaseOptimized.Obw (size 57.779 bytes)  in the  /WinAos/obj/ directory. The file has revision number  3956,  and I got it using the  TortoiseSVN  from this location:
  https://www.ocp.inf.ethz.ch/svn/aos/trunk/WinAos/obj/ArrayBaseOptimized.Obw
 with the checksum of 10b4f5bbb6185a31b547cdca2fdcaf57.

Regards,
  Darek


Logged
staubesv
Administrator
Sr. Member
*****
Posts: 387



« Reply #3 on: April 15, 2011, 08:50:42 AM »

What happens if you execute the command ArrayBaseOptimized.Install? Any interesting output in the kernel log?
Logged
darek
Jr. Member
**
Posts: 57


« Reply #4 on: April 15, 2011, 09:25:48 AM »

Hi Sven,
  After starting WinAos, I have executed the 'ArrayBaseOptimized.Install~'  command, and I got (full log window):

-------------------------- BEGIN LOG -----------------------------------
Log started
Mounting: C:\ (), fs = NTFS
Mounting: D:\ (), fs = NTFS
Not mounted (no volume information): E:\
Mounting: F:\ (DATABAR), fs = FAT32
Mounting: G:\ (Elements), fs = NTFS
Mounting: H:\ (Data), fs = NTFS
TrapWriter: Default installed
Traps: TrapHandler installed
Display: Initialize message dispatcher...
Mounting: X:\ (RawData), fs = NTFS
Mounting: Y:\ (Data), fs = NTFS
Display: Start message dispatching
Display: Normal mode
Default font installedOpenType 0.45 BBPort /3.12.2004  eos, pl
WindowManager: 32-bit color
WindowManager: Display resolution: 1680x994x32
{P cpuid= 0, pid= 2316 WindowsClipboard: Registered clipboard at host clipboard interface.}
Autostart: executing WMTrapWriter.Install
{P cpuid= 0, pid= 17408 Events: System event log started.}
WMMacros: Macro file Macros.XML loaded.
Autostart: executing UpTime.Install
Uptime monitor started.
Autostart: executing StartMenu.Open
Autostart: executing SkinEngine.Unload
ZeroSkin already loaded
Autostart: executing WMRestorable.Load Auto.dsk
{P cpuid= 0, pid= 20840 Starting logger}
WMRestorable: Loading desktop from Auto.dsk...
WORK: mounted
SyntaxHighlighter: Auto-loading SyntaxHighlighter.XML ... done.


ArrayBaseOptimized.Install ~
ArrayBase: setting runtime library (semi-optimized) default methods.
ArrayBaseOptimized: installing runtime library optimizations:ASM SSE SSE2  done.
ArrayBaseOptimized: installing runtime library optimizations:ASM SSE SSE2  done.

--------------------------------   END LOG ----------------------------------

Regards,
  Darek
Logged
staubesv
Administrator
Sr. Member
*****
Posts: 387



« Reply #5 on: April 18, 2011, 10:04:46 AM »

Hi Darek,

Now I'm confused... do I see this correctly that, for some mystical reason, your system is working just fine?
The optimized runtime library seems to be found and installed correctly.

Best,
Sven
Logged
darek
Jr. Member
**
Posts: 57


« Reply #6 on: April 18, 2011, 02:44:50 PM »

Hi Sven,
 Thanks for your response. I did yet another short experiment.
  After starting WinAos, I have executed my  calculations. The log is as follows:

------------ BEGIN LOG

Log started
Mounting: C:\ (), fs = NTFS
Mounting: D:\ (), fs = NTFS
Not mounted (no volume information): E:\
Mounting: F:\ (DATABAR), fs = FAT32
Mounting: G:\ (Elements), fs = NTFS
Mounting: H:\ (Data), fs = NTFS
Mounting: X:\ (RawData), fs = NTFS
Mounting: Y:\ (Data), fs = NTFS
TrapWriter: Default installed
Traps: TrapHandler installed
Display: Initialize message dispatcher...
Display: Start message dispatching
Display: Normal mode
Default font installedOpenType 0.45 BBPort /3.12.2004  eos, pl
WindowManager: 32-bit color
WindowManager: Display resolution: 1680x994x32
{P cpuid= 0, pid= 22488 WindowsClipboard: Registered clipboard at host clipboard interface.}
Autostart: executing WMTrapWriter.Install
{P cpuid= 0, pid= 19664 Events: System event log started.}
WMMacros: Macro file Macros.XML loaded.
Autostart: executing UpTime.Install
Uptime monitor started.
Autostart: executing StartMenu.Open
Autostart: executing SkinEngine.Unload
ZeroSkin already loaded
Autostart: executing WMRestorable.Load Auto.dsk
{P cpuid= 0, pid= 21956 Starting logger}
WMRestorable: Loading desktop from Auto.dsk...
WORK: mounted
SyntaxHighlighter: Auto-loading SyntaxHighlighter.XML ... done.
ArrayBase: setting runtime library (semi-optimized) default methods.
Warning: ArrayBase runtime library optimizer not installed.
L input signal=5000000
L output complex  signal=2500000
The offset frequency is -500000
Number elements in file=2500000
Iteration   1 out of   1
Conversion to complex  done in  31[ms]
Data copy  done in  16[ms]
Set IN data done in  16[ms]
Writing operates on REAL type
RunDDC on ref channel done in 3562[ms]
------------------ END LOG

It seems, that during the fist execution of my program, the system does not take  the optimized library as a default.

Maybe if I try to replace this library at run-time will help...?

Regards,
  Darek


Logged
staubesv
Administrator
Sr. Member
*****
Posts: 387



« Reply #7 on: April 20, 2011, 08:50:29 PM »

Hi,

Oh, sorry, I forgot that the new compiler uses different modules. Fox uses FoxArrayBase.Mod (instead of ArrayBase.Mod) and tries to load FoxArrayBaseOptimized.Mod (instead of ArrayBaseOptimized.Mod), which is not part of the release.

I'll ask Felix why this file is not distributed and report back here tomorrow...
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!