Re: [Gems-users] Splash to transactions


Date: Fri, 30 May 2008 10:13:43 -0500
From: "Berkin Ozisikyilmaz" <boz283@xxxxxxxxxxxxxxxxxxxx>
Subject: Re: [Gems-users] Splash to transactions

Hi,

 

That c.m4.null creates a single threaded code, that’s why. You need a parmacs implementation such as pthread.m4.stougie found at http://kbarr.net/splash2 Most of the applications compile with out much trouble.

 

Berkin

 

-----Original Message-----
From: gems-users-bounces@xxxxxxxxxxx [mailto:gems-users-bounces@xxxxxxxxxxx] On Behalf Of Lois Orosa Nogueira
Sent: 2008-05-30 08:50
To: Gems Users
Subject: Re: [Gems-users] Splash to transactions

 

Thanks for the link!! I have GEMS 2.1.

But not execute in the correct way. Fail in the CREATE() function:

 for(ProcessId = 1; ProcessId < NPROC; ProcessId++) {
      CREATE(SlaveStart);
   }



The error is:

No more processors -- This is a uniprocessor version!


And in the file c.m4.null :

. . .
define(CREATE, `{fprintf(stderr, "No more processors -- this is a uniprocessor version!\n"); exit(-1);}')
. . .



I execute my code with 16 processors in simics 2.2.19.

Can you help me?
Thanks

Jayaram Bobba escribió:

Which version of GEMS are you using?
If you are using 2.x, have you followed the steps
suggested here
http://www.cs.wisc.edu/gems/doc/gems-wiki/moin.cgi/TM_Workload_Setup
 
Jayaram
 
Lois Orosa Nogueira wrote:
  
Hi,
 
I'm trying to convert barnes (splash2) to transactions. Compile 
correctly, but doesn't execute in the correct way.
 
I did this substitutions:
 
LOCK(x)  ------> BEGIN_TRANSACTION(y)
UNLOCK(x)  -------> COMMIT_TRANSACTION(y)
ALOCK(x)  ----------> BEGIN_TRANSACTION(y)
AULOCK(x)  ----------> COMMIT_TRANSACTION(y)
 
Anything else to do ?? (for example with LOCKINIT)
 
Thanks in advance
 
_______________________________________________
Gems-users mailing list
Gems-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/gems-users
Use Google to search the GEMS Users mailing list by adding "site:https://lists.cs.wisc.edu/archive/gems-users/" to your search.
  
    
_______________________________________________
Gems-users mailing list
Gems-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/gems-users
Use Google to search the GEMS Users mailing list by adding "site:https://lists.cs.wisc.edu/archive/gems-users/" to your search.
 
  

 

[← Prev in Thread] Current Thread [Next in Thread→]