Hi,

The ptlsim keep  printing  the status update into the logfile like:
Completed      44560000 cycles,      40828598 commits:    134494 Hz,
171620 insns/sec: rip ffffffff81050178

But on the QEMU screen, it freeze like:

root@ubuntu:~# ./start_sim;

Switching to simulation
ptlsim_ptlcall_init: Mapped Ptlcall MMIO page at phys 0x8ffff000, virt
0x7fabc927b000

root@ubuntu:~# java HelloWorld


There are no "Hello, World" output as it supposed to be. Any idea about
this?

Thanks
zhe



On Sat, Apr 16, 2011 at 8:56 PM, DRAM Ninjas <[email protected]> wrote:

> When you say 'freezing', you mean you aren't getting the ptlsim prints with
> the status updates? Is there anything in your log file after you run
> start_sim and the java code?
>
>
> On Sat, Apr 16, 2011 at 8:33 PM, Zhe Wang <[email protected]> wrote:
>
>> Hi,
>>
>> I have encountered problem while runnining simple Java code after
>> executing "start_sim" on qemu linux, as follows:
>>
>> public class HelloWorld {
>>     public static void main(String[] args) {
>>         System.out.println("Hello, World");
>>     }
>>
>> }
>>
>> I tried both open-java6-jdk as well as sun-java6-jdk installed on qemu
>> linux, the compiled class file ran very well on Ubuntu on Qemu, but freeze
>> after starting "start_sim"
>> I executed "java -verbose HelloWorld" and got nothing output.
>>
>> I also tried compile the Java code into executable binary using gcj-4.3,
>> and the executable freeze without printing "Hello, World" as well.
>> Does anybody know what could be the reason cause such issue for running
>> Java benchmarks after "start_sim"?
>>
>> Sincerely
>> Zhe
>>
>>
>> On Sat, Apr 16, 2011 at 11:53 AM, DRAM Ninjas <[email protected]>wrote:
>>
>>> To the simulator, it doesn't really matter what type of workload is
>>> running inside of the virtual machine. It's all just a machine code
>>> instruction stream. Are you asking if the marss disk images have java
>>> installed on them? They don't have java installed, but if you have the
>>> network working in the virtual machine you can just install java from
>>> apt-get.
>>>
>>>
>>> On Sat, Apr 16, 2011 at 11:37 AM, Zhe Wang <[email protected]> wrote:
>>>
>>>> Hello, all
>>>>
>>>> I am wondering does Marss support running java application. I did some
>>>> simple java test on marss and it seems marss does not support java
>>>> application. Does anybody have idea about this?  Thanks.
>>>>
>>>> zhe
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> http://www.marss86.org
>>>> Marss86-Devel mailing list
>>>> [email protected]
>>>> https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel
>>>>
>>>>
>>>
>>
>
_______________________________________________
http://www.marss86.org
Marss86-Devel mailing list
[email protected]
https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel

Reply via email to