DIMES for ARM?

Dimes users are invited to bring comments, suggestions and all other happy thought about DIMES.

Moderators: BoazH, UDi, shavitt, idob

DIMES for ARM?

Postby KenSharp » Wed Apr 18, 2012 5:54 pm

Hi,

I was going to see if the DIMES source would build on ARM, but do I even need to build anything? It seems to be mostly Java so, in theory, it should run on any architecture that has a Java VM. Can anyone point me in the right direction as I can't see a build tree in the source?

Thanks
KenSharp
 
Posts: 12
Joined: Wed Apr 18, 2012 4:53 pm

Re: DIMES for ARM?

Postby KenSharp » Thu Apr 19, 2012 12:37 am

Certainly looks like I jumped the gun a bit there: Debian doesn't appear to have a (full) ARM implementation of Java. I'm not sure if Ubuntu has but I'll look at this again later.

The Sun site is always a minefield, and it doesn't look like they have a prepared JVM for ARM/Linux.
KenSharp
 
Posts: 12
Joined: Wed Apr 18, 2012 4:53 pm

Re: DIMES for ARM?

Postby KenSharp » Tue May 15, 2012 1:35 am

I have installed the ARM version of Java from Sun. I tried the headless version and it caused an exception (sorry, didn't take a dump of the output). Tried again with the headful version which nicely points out that there is no X11 installed (I'm running a chroot over SSH).

Code: Select all
# JAVA_HOME=/usr/local sh agent.sh
Verifying JAVA_HOME...   Using JAVA_HOME : /usr/local
Using Java Executable at /usr/local/bin/java
root@Galaxy-Ubuntu:/usr/local/DIMES/scripts_linux# classBase is /usr/local/DIMES/scripts_linux/../Classes/JARs
-- reset - lookForResources: false
-- reset - lookForResources: true
detecting Operating system...LINUX
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at AgentLauncher.launchAgent(AgentLauncher.java:140)
        at AgentLauncher.start(AgentLauncher.java:92)
        at AgentLauncher.main(AgentLauncher.java:427)
Caused by: java.awt.x:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
        at sun.awt.HeadlessToolkit.setDynamicLayout(HeadlessToolkit.java:271)
        at dimes.AppSplash.main(AppSplash.java:346)
        ... 7 more


Is there any way to set the options and get the DIMES Agent to run headless? A full X11 install seems very wasteful, and might not even work.
KenSharp
 
Posts: 12
Joined: Wed Apr 18, 2012 4:53 pm

Re: DIMES for ARM?

Postby BoazH » Tue May 15, 2012 6:32 am

I will point you to the same answer I wrote about the iMac. We are in the process of working on a new version of DIMES that will de-couple the GUI from the core measurement engine. That should solve the problem you are presenting.
We're a few months away from the release, but if you'd like I can probably send you a n alpha version to try. It will not have a gui application, but if you run it from the command line you should be able to see outputs. Let me know if this is something you are interested in trying out.
Boaz H
Boaz Harel, DIMES Development Team
BoazH
Site Admin
 
Posts: 109
Joined: Mon Sep 22, 2008 7:15 am
Location: Israel

Re: DIMES for ARM?

Postby KenSharp » Tue May 15, 2012 2:54 pm

The storage card for my device just failed and I don't have a spare!
I've ordered a new one so I'll be back later, but I am of course interested in the CLI version. :mrgreen:
KenSharp
 
Posts: 12
Joined: Wed Apr 18, 2012 4:53 pm

Re: DIMES for ARM?

Postby KenSharp » Thu Jun 28, 2012 7:08 am

Well my system is back up and running so if you're still after an alpha tester I'm ready to give it a go! :)
KenSharp
 
Posts: 12
Joined: Wed Apr 18, 2012 4:53 pm

Re: DIMES for ARM?

Postby BoazH » Mon Aug 27, 2012 7:03 am

Ken,
Right now we're working on restoring our servers after a major meltdown, but hopefully we can take you up on this offer soon.
Thanks
BoazH
Boaz Harel, DIMES Development Team
BoazH
Site Admin
 
Posts: 109
Joined: Mon Sep 22, 2008 7:15 am
Location: Israel


Return to Dimes users forum

Who is online

Users browsing this forum: No registered users and 1 guest

cron