On Thu, Jun 28, 2012 at 3:24 PM, ali ahmadi <[email protected]>wrote:

>
> Hi,
>
> I just ran across MARSS and am seeing if it might be useful for my
> work.  I have a few questions regarding MARSS.
> I tried the SPLASH image and it run without any problem.
>
> 1-        If I want to recompile the FFT (which is in kernel directory of
> splash) with new parameters. Should I compiled it then add the binary file
> to image?
>
> Yes. You can compile any application/benchmark on your laptop and move it
to disk image (either by mounting or by 'scp') and run it under simulation.


> 2-        How can I run only one target application and get the results of
> simulation for only that application (like fmm, Ocean, ..)
>
> In order to collect simulation results for one application you can run it
like:
    $ ~/start_sim ; FMM_BENCHMARK_CMDLINE ; ~/stop_sim

Provided that your disk image has 'start_sim' and 'stop_sim' binaries.
 They are available in disk images on Marss website.


> 3-        I mounted the splash image based on following instructions:
> have root access to any linux machine
> •        If your disk image is in 'qcow2' format, then convert it to 'raw'
> format using qemu-img as shown below:
>  $ qemu/qemu-img convert -O raw -f qcow2 qcow2_disk_image_name
> raw_disk_image_name
> •        Then use 'kpartx' to create loop back devices from your raw disk
> image partitions. (if you dont have kpartx install it from your linux repo.)
>  $ sudo kpartx -a [your_disk_image]
> •        it creates loopback devices in /dev/mapper/loop*
> •        mount this loop-back device using 'mount'
>  $ sudo mount -o loop /dev/mapper/[your_loopback_device] /mnt
> •        Now you can access your disk image in /mnt to copy your
> applications etc.
>
> But I couldn’t find the binary and source codes for applications and
> kernels like fft, fmm, …
>
> All code and binary for splash is in '/root/splash2' folder.  Check in
your mount directory for this folder.

>
> 4-        How can I add my programs and algorithm to a disk image? Do I
> need binary files? Source files?
>
> You just need to copy binary files to disk image.  Before running
simulations, you can test if your binary is running correctly or not in
'emulation' mode, which is much faster.

- Avadh

>
> Thanks and sincere regards,
> Ali
>
> _______________________________________________
> 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