okra-with-sim: Could not initialize class com.amd.okra.OkraContext

Jules Gosnell jules_gosnell at yahoo.com
Sat Jun 21 07:56:27 UTC 2014


Guys,

Between 17th/18th June, it looks like something changed which has broken 
the initialisation of the okra-with-sim build of my project Clumatra.

I went to investigate and found that the okra-with-sim jar does not 
contain OkraContext - it is only in the okra jar. I am sure that my 
build only had the sim jar on its classpath... so I guess I must have 
been finding it in JDK/jre/lib/graal.jar

I am using http://cr.openjdk.java.net/~tdeneau/okra-1.9-with-sim.jar

I've tried rolling back to 1.8, but that seems to make any difference - 
besides it would no longer match with the okra version inside my jdk,

I've had a look at the history of graal/mx/projects to see if e.g. the 
okra version changed on this date - but no dice.

Nothing seems to have changed at 
https://github.com/HSAFoundation/Okra-Interface-to-HSAIL-Simulator or 
https://github.com/HSAFoundation/Okra-Interface-to-HSA-Device

If I have time this evening I will sit down and try debugging it - I 
think something is going wrong in the loading/initialisation of the 
simulator's native lib.

Maybe I could try rolling back the date on a jdk/graal src tree and see 
if that fixes it...

Any hints as to what might have changed would be much appreciated.


Jules


More information about the graal-dev mailing list