Teste

147 views
Skip to first unread message

Liana Duenha

unread,
Aug 16, 2013, 8:59:07 AM8/16/13
to mpsoc...@googlegroups.com


--
-----------------------------------------------------------
Liana Duenha
Contatos: 
Faculdade de Computação  - UFMS
(67)3345-7455
www.facom.ufms.br/~lianaduenha
liana...@facom.ufms.br
liana...@gmail.com
Laboratório de Sistemas de Computação - IC - Unicamp 

amar babu

unread,
Nov 26, 2013, 10:21:34 PM11/26/13
to mpsoc...@googlegroups.com
Dear Liana Duenha

Greetings to you

I am unable to run MPSocBench on ubuntu 12.04 LTS
Installed all tools. do you have virtual Machine for MPSoCBench
Give any directions to run MPSoCBench

amar babu

unread,
Nov 27, 2013, 1:47:44 AM11/27/13
to mpsoc...@googlegroups.com
Dear Liana Duenha

I have installed MPSoCBench but got error while running

ArchC Runtime error (ac_pc=40; ac_instr_counter=22889): System Call open (file 'input_small.dat'): No such file or directory
make[1]: *** [run] Error 1
make: *** [run] Error 2
please kindly check this error..


On Friday, 16 August 2013 18:29:07 UTC+5:30, Liana Duenha wrote:

amar babu

unread,
Nov 27, 2013, 2:11:29 AM11/27/13
to mpsoc...@googlegroups.com
Dear Liana Duenha

these are error executing
./MPSoCBench -r -p=mips -pw -s=all  -i=noc.lt -n=64  -pw


Makefile:1: Makefile.conf: No such file or directory
make: *** No rule to make target `Makefile.conf'.  Stop.
make: Makefile.check: No such file or directory
make: *** No rule to make target `Makefile.check'.  Stop.
Makefile:1: Makefile.conf: No such file or directory
make: *** No rule to make target `Makefile.conf'.  Stop.
make: Makefile.check: No such file or directory
make: *** No rule to make target `Makefile.check'.  Stop.


On Friday, 16 August 2013 18:29:07 UTC+5:30, Liana Duenha wrote:

Liana Duenha

unread,
Nov 27, 2013, 6:14:05 AM11/27/13
to mpsoc...@googlegroups.com
Hello Amar,
I will help you to check your MPSoCBench environment. First of all, we need to check if all tools are perfectly installed. Please, tell me what happens when you use the command line bellow:

./MPSoCBench  -p=mips -i=router.lt -s=sha -n=4 -b 

I want to see what happens when we try to simulate a 4-mips platform using a simple router as interconnection and just one application (sha). In your test, you used -s=all and the report provided by you was not clear about where the error occured. 

Please send me all messages and I will help you to search problems in your enviroment. 

Best regards,

Liana Duenha.


2013/11/27 amar babu <amarb...@gmail.com>

--
You received this message because you are registered to the group "MPSoCBench" Google Groups.
To post to this group, send email to mpsoc...@googlegroups.com
Visit this group http://groups.google.com/group/mpsocbench?hl=en
---
You received this message because you are subscribed to the Google Groups "MPSoCBench" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mpsocbench+...@googlegroups.com.
To post to this group, send email to mpsoc...@googlegroups.com.
Visit this group at http://groups.google.com/group/mpsocbench.

Amar

unread,
Nov 29, 2013, 4:03:21 AM11/29/13
to mpsoc...@googlegroups.com
Dear Sir
There are the errors for ./MPSoCBench  -p=mips -i=router.lt -s=sha -n=4 -b

Making IP tlm_memory ...
Making IP tlm_lock ...
Making IS tlm_router ...
Making Processor mips ...
Making Software sha ...
Making Platform platform.router.lt

             SystemC 2.3.0-ASI --- Nov 27 2013 09:39:30
        Copyright (c) 1996-2012 by all Contributors,
        ALL RIGHTS RESERVED

ArchC: Reading ELF application file: sha.mips.x

ArchC: -------------------- Starting Simulation --------------------
ArchC: -------------------- Starting Simulation --------------------
ArchC: -------------------- Starting Simulation --------------------
ArchC: -------------------- Starting Simulation --------------------

MPSoCBench: The simulator is prepared.
MPSoCBench: Beggining of time simulation measurement.


--------------------------------------------------------------------
-------------------------  MPSoCBench  -----------------------------
------------- Running: sha (Secure Hash Algorithm) -----------------
--------------- The results will be available in -------------------
----------------------- hte output.dat file ------------------------
--------------------------------------------------------------------


no_workers: 4

no_files: 4
ArchC Runtime error (ac_pc=40; ac_instr_counter=22409): System Call open (file 'in_file1.asc'): No such file or directory

make[1]: *** [run] Error 1
make: *** [run] Error 2

You received this message because you are subscribed to a topic in the Google Groups "MPSoCBench" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mpsocbench/IE8W3eugknc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mpsocbench+...@googlegroups.com.

To post to this group, send email to mpsoc...@googlegroups.com.
Visit this group at http://groups.google.com/group/mpsocbench.



--
Y. Amar Babu
Associate Professor
LBR College of Engineering
Mylavaram

Liana Duenha

unread,
Nov 29, 2013, 5:32:26 AM11/29/13
to mpsoc...@googlegroups.com
Hello Amar,

Although the build process seems to be OK, it looks like you have not performed the benchmark using the correct command.  When you compile with -b argument, a specific directory is created to store the executable and input files needed to simulate the entire platform. The next step is to execute with the -r argument and I guess you did not perform this step.

Please try 

./MPSoCBench  -p=mips -i=router.lt -s=sha -n=4 -b 
and
./MPSoCBench  -p=mips -i=router.lt -s=sha -n=4 -r 


(in the last command, you must use -r instead -b)

and tell me the results, please.


Do not use "make run" because the application input files will not be found.

Best regards
Liana.



2013/11/29 Amar <amarb...@gmail.com>

Amar

unread,
Nov 29, 2013, 6:43:00 AM11/29/13
to mpsoc...@googlegroups.com

Dear sir,

Its working
but how to analyze the sha on 4 mips

parameters like
Execution speed of sha on 4 mips over  1 mips
power consumption of SHA  on 4 mips over 1mips

could you please tell me 
 
amar@amar-X55C:/opt/MPSoCBench$ ./MPSoCBench  -p=mips -i=router.lt -s=sha -n=4 -b
[['mips'], ['4'], ['sha'], ['router.lt']]
Making IP tlm_memory ...
ar: creating libtlm_memory.a
Making IP tlm_lock ...
ar: creating libtlm_lock.a
Making IS tlm_router ...
ar: creating libtlm_router.a
Making Processor mips ...
--- No simulator found, using acsim to generate one.
ArchC: Parsing AC_ARCH declaration file: mips_block.ac
ArchC: Parsing AC_ISA declaration file: mips_isa.ac
ArchC: mips model files generated.
patching file mips.cpp
patching file mips.cpp
patching file mips.H
patching file mips.H
ar: creating libmips.a

Making Software sha ...
Making Platform platform.router.lt
Creating rundir for mips.router.lt.4.sha...
---copy platform.router.lt.x to the appropriate rundir
---copy sha.mips.x to the appropriate rundir
amar@amar-X55C:/opt/MPSoCBench$ ./MPSoCBench  -p=mips -i=router.lt -s=sha -n=4 -r
[['mips'], ['4'], ['sha'], ['router.lt']]
./platform.router.lt.x sha.mips.x 4


             SystemC 2.3.0-ASI --- Nov 27 2013 09:39:30
        Copyright (c) 1996-2012 by all Contributors,
        ALL RIGHTS RESERVED

ArchC: Reading ELF application file: sha.mips.x

ArchC: -------------------- Starting Simulation --------------------
ArchC: -------------------- Starting Simulation --------------------
ArchC: -------------------- Starting Simulation --------------------
ArchC: -------------------- Starting Simulation --------------------

MPSoCBench: The simulator is prepared.
MPSoCBench: Beggining of time simulation measurement.


--------------------------------------------------------------------
-------------------------  MPSoCBench  -----------------------------
------------- Running: sha (Secure Hash Algorithm) -----------------
--------------- The results will be available in -------------------
----------------------- hte output.dat file ------------------------
--------------------------------------------------------------------


no_workers: 4

no_files: 4

Opening file in_file1.asc.
Opening file in_file2.asc.
Opening file in_file3.asc.
Opening file in_file4.asc.
All 4 threads started...

Worker 1: calculating digest.
Worker 2: calculating digest.
Worker 3: calculating digest.
Worker 4: calculating digest.
Worker number 3: finished.
Join Point->3 of 4 processors are not over yet...
Worker number 1: finished.
Join Point->2 of 4 processors are not over yet...
Worker number 4: finished.
Join Point->1 of 4 processors are not over yet...
Worker number 2: finished.
ArchC: -------------------- Simulation Finished --------------------
ArchC: -------------------- Simulation Finished --------------------
ArchC: -------------------- Simulation Finished --------------------
ArchC: -------------------- Simulation Finished --------------------

Info: /OSCI/SystemC: Simulation stopped by user.

Total Time Taken (seconds):    7.176807
Simulation advance (seconds):    0.009339
MPSoCBench: Ending the time simulation measurement.
ArchC: Simulation statistics
    Times: 8.61 user, 0.20 system, 7.18 real
    Number of instructions executed: 4656604
    Simulation speed: 540.84 K instr/s
ArchC: Simulation statistics
    Times: 8.61 user, 0.20 system, 7.18 real
    Number of instructions executed: 4654046
    Simulation speed: 540.54 K instr/s
ArchC: Simulation statistics
    Times: 8.61 user, 0.20 system, 7.18 real
    Number of instructions executed: 4621288
    Simulation speed: 536.73 K instr/s
ArchC: Simulation statistics
    Times: 8.61 user, 0.20 system, 7.18 real
    Number of instructions executed: 4659629
    Simulation speed: 541.19 K instr/s


TESTING RESULTS

Test Passed.

Amar

unread,
Nov 29, 2013, 6:55:31 AM11/29/13
to mpsoc...@googlegroups.com
Dear sir,

Same sha application is nor working with noc.lt
these are the errors
 
amar@amar-X55C:/opt/MPSoCBench$ ./MPSoCBench  -p=mips -i=noc.lt -s=sha -n=4 -r
[['mips'], ['4'], ['sha'], ['noc.lt']]
./platform.noc.lt.x sha.mips.x 4


             SystemC 2.3.0-ASI --- Nov 27 2013 09:39:30
        Copyright (c) 1996-2012 by all Contributors,
        ALL RIGHTS RESERVED

make: *** [run] Segmentation fault (core dumped)


TESTING RESULTS
sort: open failed: output: No such file or directory
make: *** [check] Error 2

Liana Duenha

unread,
Nov 29, 2013, 6:59:17 AM11/29/13
to mpsoc...@googlegroups.com
Hello Amar,

First of all, use the next command line to compile mips including power consumption arguments (-pw):

./MPSoCBench  -p=mips -pw -i=router.lt -s=sha -n=4 -b
./MPSoCBench  -p=mips -pw -i=router.lt -s=sha -n=4 -r

If the powersc environment is OK , the output report will include power consumption statistics and a complete table will be created in the platform specific rundir/...
In this case, the directory name must be something like this: mips.router.lt.4.sha.pw.

Furthermore, after the simulation there will be  other information about the execution in the global_report.txt file (created in the MPSoCBench directory).

I will check if there are problems in platforms using the noc.lt
Liana.





Liana Duenha

unread,
Nov 29, 2013, 7:09:39 AM11/29/13
to mpsoc...@googlegroups.com
Hello Amar,

I used ./MPSoCBench -p=mips -i=noc.lt -s=sha -n=4 -b 
and the output is bellow:

liana@liana-HP:~/repository/oficial/MPSoCBench_v1.1_oficial$ ./MPSoCBench -p=mips -i=noc.lt -s=sha -n=4 -b

[['mips'], ['4'], ['sha'], ['noc.lt']]
Making IP tlm_memory ...
ar: creating libtlm_memory.a
Making IP tlm_lock ...
ar: creating libtlm_lock.a
Making IS tlm_noc_lt ...
ar: creating libtlm_noc_lt.a
Making Processor mips ...
--- No simulator found, using acsim to generate one.
ArchC: Parsing AC_ARCH declaration file: mips_block.ac
ArchC: Parsing AC_ISA declaration file: mips_isa.ac
ArchC: mips model files generated.
patching file mips.cpp
patching file mips.cpp
patching file mips.H
patching file mips.H
ar: creating libmips.a
Making Software sha ...
Making Platform platform.noc.lt
Creating rundir for mips.noc.lt.4.sha...
---copy platform.noc.lt.x to the appropriate rundir
---copy sha.mips.x to the appropriate rundir


So, I used the -r argument to run the same platform and the results are bellow:


liana@liana-HP:~/repository/oficial/MPSoCBench_v1.1_oficial$ ./MPSoCBench -p=mips -i=noc.lt -s=sha -n=4 -r

[['mips'], ['4'], ['sha'], ['noc.lt']]
./platform.noc.lt.x sha.mips.x 4

             SystemC 2.3.0-ASI --- Nov 12 2013 12:19:00
Worker number 1: finished.
Join Point->3 of 4 processors are not over yet...
Worker number 3: finished.
Join Point->2 of 4 processors are not over yet...
Worker number 4: finished.
Join Point->1 of 4 processors are not over yet...
Worker number 2: finished.
ArchC: -------------------- Simulation Finished --------------------
ArchC: -------------------- Simulation Finished --------------------
ArchC: -------------------- Simulation Finished --------------------
ArchC: -------------------- Simulation Finished --------------------

Info: /OSCI/SystemC: Simulation stopped by user.

Total Time Taken (seconds): 5.666497
Simulation advance (seconds): 0.016426
MPSoCBench: Ending the time simulation measurement.
ArchC: Simulation statistics
    Times: 7.03 user, 0.25 system, 5.66 real
    Number of instructions executed: 4104036
    Simulation speed: 583.79 K instr/s
ArchC: Simulation statistics
    Times: 7.03 user, 0.25 system, 5.66 real
    Number of instructions executed: 5468591
    Simulation speed: 777.89 K instr/s
ArchC: Simulation statistics
    Times: 7.03 user, 0.25 system, 5.66 real
    Number of instructions executed: 4104184
    Simulation speed: 583.81 K instr/s
ArchC: Simulation statistics
    Times: 7.03 user, 0.25 system, 5.66 real
    Number of instructions executed: 3284256
    Simulation speed: 467.18 K instr/s



TESTING RESULTS

Test Passed.


Did you try to use the same two commands?

Liana.




2013/11/29 Liana Duenha <liana...@gmail.com>

Amar

unread,
Nov 29, 2013, 7:16:39 AM11/29/13
to mpsoc...@googlegroups.com
Dear sir,

These are the error , I used both commands as per your instructions

amar@amar-X55C:/opt/MPSoCBench$ ./MPSoCBench  -p=mips -i=noc.lt -s=sha -n=4 -b

[['mips'], ['4'], ['sha'], ['noc.lt']]
Making IP tlm_memory ...
ar: creating libtlm_memory.a
Making IP tlm_lock ...
ar: creating libtlm_lock.a
Making IS tlm_noc_lt ...
ar: creating libtlm_noc_lt.a
Making Processor mips ...
--- No simulator found, using acsim to generate one.
ArchC: Parsing AC_ARCH declaration file: mips_block.ac
ArchC: Parsing AC_ISA declaration file: mips_isa.ac
ArchC: mips model files generated.
patching file mips.cpp
patching file mips.cpp
patching file mips.H
patching file mips.H
ar: creating libmips.a
Making Software sha ...
Making Platform platform.noc.lt
Creating rundir for mips.noc.lt.4.sha...
---copy platform.noc.lt.x to the appropriate rundir
---copy sha.mips.x to the appropriate rundir
amar@amar-X55C:/opt/MPSoCBench$ ./MPSoCBench  -p=mips -i=noc.lt -s=sha -n=4 -r

[['mips'], ['4'], ['sha'], ['noc.lt']]
./platform.noc.lt.x sha.mips.x 4

             SystemC 2.3.0-ASI --- Nov 27 2013 09:39:30
        Copyright (c) 1996-2012 by all Contributors,
        ALL RIGHTS RESERVED

make: *** [run] Segmentation fault (core dumped)


TESTING RESULTS
sort: open failed: output: No such file or directory
make: *** [check] Error 2

Liana Duenha

unread,
Nov 29, 2013, 7:25:08 AM11/29/13
to mpsoc...@googlegroups.com
Amar,
Could you please try to use the noc.at instead the noc.lt in both commands and tell me if works?

./MPSoCBench  -p=mips -i=noc.at -s=sha -n=4 -b
./MPSoCBench  -p=mips -i=noc.at -s=sha -n=4 -r

Amar

unread,
Nov 29, 2013, 7:31:40 AM11/29/13
to mpsoc...@googlegroups.com
sir,

Is working  with noc.at
but what about noc.lt?



Liana Duenha

unread,
Nov 29, 2013, 7:35:33 AM11/29/13
to mpsoc...@googlegroups.com
Are you using gcc 4.7 ??





2013/11/29 Amar <amarb...@gmail.com>

Amar

unread,
Nov 29, 2013, 7:39:12 AM11/29/13
to mpsoc...@googlegroups.com
gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)

Amar

unread,
Nov 29, 2013, 7:40:27 AM11/29/13
to mpsoc...@googlegroups.com
gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)

Amar

unread,
Nov 29, 2013, 7:42:23 AM11/29/13
to mpsoc...@googlegroups.com
gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)

Dema Zaidan

unread,
Nov 30, 2013, 12:18:17 AM11/30/13
to mpsoc...@googlegroups.com
Dear Liana;
Hope you are doing well;

I am trying to Configure and install systemc but I have an error
./configure: No such file or directory

Im sorry but I'm new with Ubuntu
and I don't if I'm writing it in a correct way

Liana Duenha

unread,
Dec 2, 2013, 5:19:03 AM12/2/13
to mpsoc...@googlegroups.com
Hello Amar,
I created a virtual machine with your version of Ubuntu and gcc. It seems that this version of gcc reports some erros in the tlm_node instantiation; the error occurs in the sc_core::sc_object() function (this is a systemc object constructor). 
I'm  trying to correct this bug and I will send to you a new version of the NoC-LT code. 
Thank you for your feedback
Liana.



2013/11/30 Dema Zaidan <dema90...@gmail.com>

--
You received this message because you are registered to the group "MPSoCBench" Google Groups.
To post to this group, send email to mpsoc...@googlegroups.com
Visit this group http://groups.google.com/group/mpsocbench?hl=en
---
You received this message because you are subscribed to the Google Groups "MPSoCBench" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mpsocbench+...@googlegroups.com.
To post to this group, send email to mpsoc...@googlegroups.com.
Visit this group at http://groups.google.com/group/mpsocbench.

Liana Duenha

unread,
Dec 2, 2013, 5:39:15 AM12/2/13
to mpsoc...@googlegroups.com
Hello Dema,

It seems that you have problems in the SystemC package. 

Did you download the SystemC 2.3 version using the www.systemc.org website?

You need to go in the following website 

and choose the following link to download the correct SystemC version:

systemc-2.3.0 Core SystemC Language and Examples


You may have to register before downloading.


Suppose you have stored the SystemC code in the /opt directory, you need unpack the systemC using: 

/opt$  tar xvf systemc-2.3.0

and if you want, you may change the directory name:

/opt$ mv systemc-2.3.0 systemc


Now, you are ready to build systemc with the following commands:

/opt $ cd systemc
/opt/systemc $ ./configure
/opt/systemc $ ./make
/opt/systemc $ ./make install


If your Ubuntu and GCC were not updated, some errors may occur. 

Please, let me know if you had problems in these steps.


Liana.







2013/12/2 Liana Duenha <liana...@gmail.com>

Dema Zaidan

unread,
Dec 18, 2013, 7:21:35 AM12/18/13
to mpsoc...@googlegroups.com
Dear Liana ;
Thank you for your reply
I reinstall SystemC 2.3 again from their website but the error still exist
the attached picture is a screenshot for the error that appear

I tried the make instruction twice
I hope you may help me

Thank you


On Friday, August 16, 2013 3:59:07 PM UTC+3, Liana Duenha wrote:
Screenshot from 2013-12-18 15:16:44.png

Liana Duenha

unread,
Dec 18, 2013, 7:38:52 AM12/18/13
to mpsoc...@googlegroups.com
Hello Dema, 
Please try to use just "make" (instead of ./make) and send me the error again.
Liana.


2013/12/18 Dema Zaidan <dema90...@gmail.com>

--
You received this message because you are registered to the group "MPSoCBench" Google Groups.
To post to this group, send email to mpsoc...@googlegroups.com
Visit this group http://groups.google.com/group/mpsocbench?hl=en
---
You received this message because you are subscribed to the Google Groups "MPSoCBench" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mpsocbench+...@googlegroups.com.
To post to this group, send email to mpsoc...@googlegroups.com.
Visit this group at http://groups.google.com/group/mpsocbench.

Dema Zaidan

unread,
Dec 18, 2013, 8:48:11 AM12/18/13
to mpsoc...@googlegroups.com
Dear Liana;
I try (make) and here is a screen shot


On Friday, August 16, 2013 3:59:07 PM UTC+3, Liana Duenha wrote:
Screenshot from 2013-12-18 16:46:10.png

Liana Duenha

unread,
Dec 18, 2013, 2:06:19 PM12/18/13
to mpsoc...@googlegroups.com
I think that is some problem with permissions. 
May you try to use sudo make and sudo make install and send me the screen shot, please?
Liana.



2013/12/18 Dema Zaidan <dema90...@gmail.com>
Dear Liana;

--
You received this message because you are registered to the group "MPSoCBench" Google Groups.
To post to this group, send email to mpsoc...@googlegroups.com
Visit this group http://groups.google.com/group/mpsocbench?hl=en
---
You received this message because you are subscribed to the Google Groups "MPSoCBench" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mpsocbench+...@googlegroups.com.
To post to this group, send email to mpsoc...@googlegroups.com.
Visit this group at http://groups.google.com/group/mpsocbench.

Dema Zaidan

unread,
Dec 18, 2013, 2:39:24 PM12/18/13
to mpsoc...@googlegroups.com
Sure,
Thank you and sorry for bothering


On Friday, August 16, 2013 3:59:07 PM UTC+3, Liana Duenha wrote:
Screenshot from 2013-12-18 22:34:46.png
Screenshot from 2013-12-18 22:36:15.png

Liana Duenha

unread,
Dec 18, 2013, 2:58:53 PM12/18/13
to mpsoc...@googlegroups.com
Hello Dema,
Your system has no gcc/g++ installed. 
You need to update your system using sudo apt-get update before compiling systemc and other tools. I think that gcc will be installed with this action. 
Liana.


2013/12/18 Dema Zaidan <dema90...@gmail.com>
Sure,

--
You received this message because you are registered to the group "MPSoCBench" Google Groups.
To post to this group, send email to mpsoc...@googlegroups.com
Visit this group http://groups.google.com/group/mpsocbench?hl=en
---
You received this message because you are subscribed to the Google Groups "MPSoCBench" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mpsocbench+...@googlegroups.com.
To post to this group, send email to mpsoc...@googlegroups.com.
Visit this group at http://groups.google.com/group/mpsocbench.

Dema Zaidan

unread,
Jan 29, 2014, 12:49:47 AM1/29/14
to mpsoc...@googlegroups.com
Hello Liana ;
I hope you are doing well;
I have finish the full instalation of the system ,
but still does not work

and here is the problem

dema@ubuntu:~$ ./MPSoCBench -r -p=mips -pw -s=all -i=noc.lt -n=64 -pw
bash: ./MPSoCBench: No such file or directory
dema@ubuntu:~$ cd opt/
bash: cd: opt/: No such file or directory
dema@ubuntu:~$ cd /opt/
dema@ubuntu:/opt$ ./MPSoCBench -r -p=mips -pw -s=all -i=noc.lt -n=64 -pw
bash: ./MPSoCBench: Is a directory
dema@ubuntu:/opt$ cd /MPSoCBench/
bash: cd: /MPSoCBench/: No such file or directory
dema@ubuntu:/opt$ cd MPSoCBench/
dema@ubuntu:/opt/MPSoCBench$ ./MPSoCBench -r -p=mips -pw -s=all -i=noc.lt -n=64 -pw
[['mips'], ['64'], ['basicmath', 'dijkstra', 'fft', 'lu', 'ocean', 'sha', 'stringsearch', 'susancorners', 'susanedges', 'susansmoothing', 'water', 'water-spatial', 'multi-parallel', 'multi-8', 'multi-16', 'multi-network-automotive', 'multi-office-telecomm', 'multi-security'], ['noc.lt']]

Makefile:1: Makefile.conf: No such file or directory
make: *** No rule to make target `Makefile.conf'.  Stop.
make: Makefile.check: No such file or directory
make: *** No rule to make target `Makefile.check'.  Stop.
Makefile:1: Makefile.conf: No such file or directory
make: *** No rule to make target `Makefile.conf'.  Stop.
make: Makefile.check: No such file or directory
make: *** No rule to make target `Makefile.check'.  Stop.
dema@ubuntu:/opt/MPSoCBench$ make

Making IP tlm_memory ...
ar: creating libtlm_memory.a
Making IP tlm_lock ...
ar: creating libtlm_lock.a
Making IS tlm_noc_lt ...
ar: creating libtlm_noc_lt.a
Making Processor mips ...
--- No simulator found, using acsim to generate one.
ArchC ERROR: Could not open archc.conf configuration file.
make[1]: *** [mips.cpp] Error 1
Making Software dijkstra ...
make[1]: mips-elf-gcc: Command not found
make[1]: *** [dijkstra_allpair.o] Error 127
cp: cannot stat `sw/dijkstra/*.x': No such file or directory
make: *** [all] Error 1


please if you can help me

Liana Duenha

unread,
Jan 30, 2014, 5:16:30 AM1/30/14
to mpsoc...@googlegroups.com

Hello Dema,

It seems that is a simple problem of permissions to run programs in your opt directory.

If you  change the owner of these directories I think that it will work.
$cd /opt/MPSoCBench
$chown -R youruser:youruser .
$cd ..
$cd MPSoCBench
$chown -R youruser:youruser .

And check if there are permissions to execute in all MPSoCBench and tools directories.

Next you can repeat the command to build platforms with the MPSoCBench script, but I suggest not to use the "all" option at the begining to help us to understand other possible problems. Try using mips processor, dijkstra application, 4 cores and the router.lt interconnection. Do not forget the -b argument to build this platform and after the -r argument to run the same flatform.

Please let me know if you have more problems.

Liana.

--

Dema Zaidan

unread,
Jan 30, 2014, 2:06:14 PM1/30/14
to mpsoc...@googlegroups.com
Dear Liana ;
Thank you for your fast responce;
But I still had the following problem
Screenshot from 2014-01-30 22:02:17.png

Liana Duenha

unread,
Feb 3, 2014, 6:18:31 AM2/3/14
to mpsoc...@googlegroups.com
 
Hello,
 
I think that the archc is not been installed correctly;
 
 
ArchC ERROR: Could not open archc.conf configuration file.
 
Please try to do this steps:
 
cd /archc_tlm2
make uninstall
make distclean
./configure --prefix=/opt/tools/archc_tlm2 --with-systemc=/opt/tools/systemc --with-tlm=/opt/tools/systemc/include
 
This paths must be changed by the correct paths if necessary.
 
cd /l
chmod -R 777 archc
chown -R your_user:your_user archc
 
These previous steps may be necessary to run cross compilers. I'm trying to correct the error:
make[1]: mips-elf-gcc: Command not found
 
 
And finally,
 
cd /opt/MPSoCBench //or the correct path
./MPSoCBench -p=mips -s=dijkstra -n=4 -i=router.lt -b // to build
./MPSoCBench -p=mips -s=dijkstra -n=4 -i=router.lt -r  // to run

Please tell me the results.
Liana.
2014-01-30 Dema Zaidan <dema90...@gmail.com>:

--
You received this message because you are registered to the group "MPSoCBench" Google Groups.
To post to this group, send email to mpsoc...@googlegroups.com
Visit this group http://groups.google.com/group/mpsocbench?hl=en
---
You received this message because you are subscribed to the Google Groups "MPSoCBench" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mpsocbench+...@googlegroups.com.
To post to this group, send email to mpsoc...@googlegroups.com.
Visit this group at http://groups.google.com/group/mpsocbench.



--

Dema Zaidan

unread,
Feb 6, 2014, 12:35:59 PM2/6/14
to mpsoc...@googlegroups.com
Dear Liana
I hope you are doing well;

In fact I still have the same problem ,
I guess there something with the processor , since each time I change the processor I still have the same problem
How could I check that processors are installed correctly

Best Regards;
Dema

Liana Duenha

unread,
Feb 7, 2014, 1:55:25 PM2/7/14
to mpsoc...@googlegroups.com
Hello Dema,


The processors are generated from ArchC. That's why I think the archc installation is not correct.
I think that I typed the steps without the last two commands. So, is possible that the archc was configured but not installed. 

You can please try these following steps:

cd /archc_tlm2
make uninstall
make distclean
./configure --prefix=/opt/tools/archc_tlm2 --with-systemc=/opt/tools/systemc --with-tlm=/opt/tools/systemc/include
#please put the correct paths
make 
make install

If there is errors , please send them to me. 

Dema, I have a virtual machine with Linux and all MPSoCBench tools ready for use.
I can share it with you, if you want. The disadvantage is that the simulations lose performance.
Liana









--
You received this message because you are registered to the group "MPSoCBench" Google Groups.
To post to this group, send email to mpsoc...@googlegroups.com
Visit this group http://groups.google.com/group/mpsocbench?hl=en
---
You received this message because you are subscribed to the Google Groups "MPSoCBench" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mpsocbench+...@googlegroups.com.
To post to this group, send email to mpsoc...@googlegroups.com.
Visit this group at http://groups.google.com/group/mpsocbench.

Dema Zaidan

unread,
Feb 8, 2014, 8:11:17 AM2/8/14
to mpsoc...@googlegroups.com

Dear Liana;
the previous problem was solved successfully , but a new problem appear like in photo
thank you very much for your cooperation
Best regards
Screenshot from 2014-02-08 16:09:10.png

Liana Duenha

unread,
Feb 9, 2014, 5:45:44 AM2/9/14
to mpsoc...@googlegroups.com
Hello Dema,
I'm happy because the archc problem was solved successfully.

The problem that appears in the screenshot has one of the two main reasons:
- the cross compilers are not in the right directory , or
- there is some problem to execute them (permissions, for example).

Please, try to execute these following commands:

$ cd /l 
$ cd archc
$ cd compilers
$ ls -lah

Please, send to me the result of these command, and I will find the better solution for you.
Best regards,
Liana.



--
You received this message because you are registered to the group "MPSoCBench" Google Groups.
To post to this group, send email to mpsoc...@googlegroups.com
Visit this group http://groups.google.com/group/mpsocbench?hl=en
---
You received this message because you are subscribed to the Google Groups "MPSoCBench" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mpsocbench+...@googlegroups.com.
To post to this group, send email to mpsoc...@googlegroups.com.
Visit this group at http://groups.google.com/group/mpsocbench.

Dema Zaidan

unread,
Feb 10, 2014, 1:18:09 AM2/10/14
to mpsoc...@googlegroups.com
Dear Liana
here is the output
Screenshot from 2014-02-10 09:15:50.png

Liana Duenha

unread,
Feb 10, 2014, 6:06:11 AM2/10/14
to mpsoc...@googlegroups.com
Hello Dema,

You may try to change the owner with this command

cd /l
chown -R dema:dema archc

and after you can try to run your first test . 

cd /opt/MPSoCBench 
./MPSoCBench -p=mips -s=dijkstra -n=4 -i=router.lt -b // to build
./MPSoCBench -p=mips -s=dijkstra -n=4 -i=router.lt -r  // to run

Please tell me if it works. 
Liana



--
You received this message because you are registered to the group "MPSoCBench" Google Groups.
To post to this group, send email to mpsoc...@googlegroups.com
Visit this group http://groups.google.com/group/mpsocbench?hl=en
---
You received this message because you are subscribed to the Google Groups "MPSoCBench" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mpsocbench+...@googlegroups.com.
To post to this group, send email to mpsoc...@googlegroups.com.
Visit this group at http://groups.google.com/group/mpsocbench.

Dema Zaidan

unread,
Feb 12, 2014, 4:18:00 AM2/12/14
to mpsoc...@googlegroups.com
Dear Liana ;
I have changed the owner of archc to me and checked that it is activated for me 
but I still had the problem that say 
mips-elf-gcc : Command not found

is it something missing and I have to download?
I have searched the problem but with no results about what should be done
I hope you may help me

Thank you in advance
Best Regards
Dema

Liana Duenha

unread,
Feb 12, 2014, 5:31:36 AM2/12/14
to mpsoc...@googlegroups.com

Hello Dema,
In case you're using a 64-bit linux, try to execute the following command: 

 apt-get install libc6-i386

This is necessary to run the 32-bit cross compilers in 64-bit architectures.

Please tell me if it works;
Liana.


--
You received this message because you are registered to the group "MPSoCBench" Google Groups.
To post to this group, send email to mpsoc...@googlegroups.com
Visit this group http://groups.google.com/group/mpsocbench?hl=en
---
You received this message because you are subscribed to the Google Groups "MPSoCBench" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mpsocbench+...@googlegroups.com.
To post to this group, send email to mpsoc...@googlegroups.com.
Visit this group at http://groups.google.com/group/mpsocbench.

Liana Duenha

unread,
Feb 12, 2014, 5:36:59 AM2/12/14
to mpsoc...@googlegroups.com
Also check if the cross compilers paths are correct in the Makefile.conf (MPSoCBench/Makefile.conf) and HOST_OS with your 64-bit linux.

Examples (Makefile.conf):

...
... 
export PATH:=/l/archc/compilers/arm/bin:/l/archc/compilers/bin:$(ARCHC_PATH)/bin:$(PATH)
export HOST_OS:= linux64

LIana.


Reply all
Reply to author
Forward
0 new messages