From: mquinson Date: Wed, 7 Mar 2007 10:16:38 +0000 (+0000) Subject: New question: What is the difference between MSG, SimDag, and GRAS? Do they serve... X-Git-Tag: v3.3~2158 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/4acc646cdf1d45794c328d86745a8407f86935e2?hp=4f4c74a5d1ee706562ae4f3c0f3927243d9274e5 New question: What is the difference between MSG, SimDag, and GRAS? Do they serve the same purpose? git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3201 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/doc/FAQ.doc b/doc/FAQ.doc index faf4165020..fd1a06c450 100644 --- a/doc/FAQ.doc +++ b/doc/FAQ.doc @@ -313,6 +313,30 @@ may give you some insights on what SimGrid can help you to do and what are its limitations. Then you definitely should read the \ref MSG_examples. There is also a mailing list: . +\subsection faq_interfaces What is the difference between MSG, SimDag, and GRAS? Do they serve the same purpose? + +It depend on how you define "purpose", I guess ;) + +They all allow you to build a prototype of application which you can run +within the simulator afterward. They all share the same simulation kernel, +which is the core of the SimGrid project. They differ by the way you express +your application. + +With SimDag, you express your code as a collection of interdependent +parallel tasks. So, in this model, applications can be seen as a DAG of +tasks. + +With both GRAS and MSG, your application is seen as a set of communicating +processes, exchanging data by the way of messages and performing computation +on their own. + +The difference between both is that MSG is somehow easier to use, but GRAS +is not limitated to the simulator. Once you're done writing your GRAS code, +you can run your code both in the simulator or on a real platform. For this, +there is two implementations of the GRAS interface, one for simulation, one +for real execution. So, you just have to relink your code to chose one of +both world. + \subsection faq_generic Building a generic simulator Please read carefully the \ref MSG_examples. You'll find in \ref