From 2e904d10c3d889816d9772d5d93ea91260e5157e Mon Sep 17 00:00:00 2001 From: alegrand Date: Tue, 6 Dec 2005 16:58:43 +0000 Subject: [PATCH] Building the php for the simgrid homepage on gforge git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1865 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- doc/Makefile.am | 1 + doc/{index.php => index.php.in} | 65 +---------------------- tools/doxygen/index_php.pl | 93 +++++++++++++++++++++++++++++++++ tools/doxygen/toc_create.pl | 2 +- 4 files changed, 97 insertions(+), 64 deletions(-) rename doc/{index.php => index.php.in} (58%) create mode 100755 tools/doxygen/index_php.pl diff --git a/doc/Makefile.am b/doc/Makefile.am index a005153bfd..226462fd60 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -24,6 +24,7 @@ html: $(DOCSOURCES) Doxyfile logcategories.doc simgrid_modules.map simgrid_modul ../tools/doxygen/toc_create.pl FAQ.doc FAQ.toc ../tools/doxygen/toc_create.pl index.doc index.toc doxygen Doxyfile >/dev/null + ../tools/doxygen/index_php.pl index.php.in doc/index.html index.php cp @srcdir@/simgrid_logo.png @srcdir@/simgrid_modules.png html/ cp @srcdir@/Paje_MSG_screenshot_thn.jpg @srcdir@/Paje_MSG_screenshot.jpg html/ for i in `find html -name '*.html'` ; do \ diff --git a/doc/index.php b/doc/index.php.in similarity index 58% rename from doc/index.php rename to doc/index.php.in index d81d7dc816..a491bb679d 100644 --- a/doc/index.php +++ b/doc/index.php.in @@ -73,16 +73,7 @@ echo ''; gforge INRIA -
-
-
-


+______ONGLETS______ @@ -132,59 +123,7 @@ while (!feof($handle)) { $contents=str_replace("Welcome to", "Welcome to the", $contents); fclose($handle); echo $contents; } ?> - -The specific goal of the project is to facilitate research in the area of -distributed and parallel application scheduling on distributed computing -platforms ranging from simple network of workstations to Computational -Grids. - -

-Overview of the toolkit components

-As depicted by the following diagram, the SimGrid toolkit is basically three-layered (click on the picture to jump to a specific component).

- -

- - -GRAS -SMPI -MSG -SMPI -XBT -AMOK - - -
Relationships between the SimGrid components -
-

-Base layer

-The base of the whole toolkit is constituted by the XBT (eXtended Bundle of Tools).

-It is a portable library providing some grounding features such as Logging support, Exception support and Configuration support. XBT also encompass the following convenient datastructures: Dynar: generic dynamic array, Fifo: generic workqueue, Dict: generic dictionnary, Heap: generic heap data structure, Set: generic set datatype and Swag: O(1) set datatype.

-See the XBT section for more details.

-Simulation kernel layer

-The core functionnalities to simulate a virtual platform are provided by a module called SURF ("that's historical, my friend"). It is very low-level and is not intended to be used as such by end-users. Instead, it serve as a basis for the higher level layer.

-SURF main features are a fast max-min linear solver and the ability to change transparently the model used to describe the platform. This greatly eases the comparison of the several models existing in the litterature.

-See the SURF section for more details.

-Programmation environments layer

-This simulation kernel is used to build several programmation environments. Each of them target a specific audiance and constitute a different paradigm. To choose which of them you want to use, you have to think about what you want to do and what would be the result of your work.

-

-

-

-

-

-

-If your favorite programming environment/model is not there (BSP, components, etc.) is not represented in the SimGrid toolkit yet, you may consider adding it. You should contact us first on the SimGrid developers mailing list, though.

-Any question, remark or suggestion are welcome on the SimGrid users mailing list.

-


- +______BODY________ = 2) or die "Usage: index_php.pl "; + +my(@toc); +my($level,$label,$name); + +$inputphp = $ARGV[0]; +$inputhtml = $ARGV[1]; +$output = $ARGV[2]; + +my($onglets) = ' + +
+


+'; + +my($body) = ' +The specific goal of the project is to facilitate research in the area of +distributed and parallel application scheduling on distributed computing +platforms ranging from simple network of workstations to Computational +Grids. + +

+Overview of the toolkit components

+As depicted by the following diagram, the SimGrid toolkit is basically three-layered (click on the picture to jump to a specific component).

+ +

+ + +GRAS +SMPI +MSG +SMPI +XBT +AMOK + + +
Relationships between the SimGrid components +
+

+Base layer

+The base of the whole toolkit is constituted by the XBT (eXtended Bundle of Tools).

+It is a portable library providing some grounding features such as Logging support, Exception support and Configuration support. XBT also encompass the following convenient datastructures: Dynar: generic dynamic array, Fifo: generic workqueue, Dict: generic dictionnary, Heap: generic heap data structure, Set: generic set datatype and Swag: O(1) set datatype.

+See the XBT section for more details.

+Simulation kernel layer

+The core functionnalities to simulate a virtual platform are provided by a module called SURF ("that\'s historical, my friend"). It is very low-level and is not intended to be used as such by end-users. Instead, it serve as a basis for the higher level layer.

+SURF main features are a fast max-min linear solver and the ability to change transparently the model used to describe the platform. This greatly eases the comparison of the several models existing in the litterature.

+See the SURF section for more details.

+Programmation environments layer

+This simulation kernel is used to build several programmation environments. Each of them target a specific audiance and constitute a different paradigm. To choose which of them you want to use, you have to think about what you want to do and what would be the result of your work.

+

    +
  • If you want to study a theoritical problem and compare several heuristics, you probably want to try MSG (yet another historical name). It was designed exactly to that extend and should allow you to build easily rather realistic multi-agents simulation. Yet, realism is not the main goal of this environment and the most annoying technical issues of real platforms are masked here. Check the MSG section for more information.
+

+

    +
  • If you want to study the behaviour of a MPI application using emulation technics, you should have a look at the SMPI (Simulated MPI) programming environment. Unfortunately, this work is still underway. Check the SMPI section for more information.
+

+

    +
  • If you want to develop a real distributed application, then you may find GRAS (Grid Reality And Simulation) useful. This is an API for the realization of distributed applications.
    +
    + Moreover, there is two implementations of this API: one on top of the SURF (allowing to develop and test your application within the comfort of the simulator) and another suited for deployment on real platforms (allowing the resulting application to be highly portable and extremely efficient).
    +
    + Even if you do not plan to run your code for real, you may want to switch to GRAS if you intend to use MSG in a very intensive way (e.g. for simulating a peer-to-peer environment).
    +
    + See the GRAS section for more details.
+

+If your favorite programming environment/model is not there (BSP, components, etc.) is not represented in the SimGrid toolkit yet, you may consider adding it. You should contact us first on the SimGrid developers mailing list, though.

+Any question, remark or suggestion are welcome on the SimGrid users mailing list.

+


+'; + +open FILE,$inputphp; +open OUTPUT,"> $output"; + +while($line=) { + chomp $line; + if($line =~/______ONGLETS______/) { + $line =~ s/______ONGLETS______/$onglets/g; + } elsif($line =~/______BODY______/) { + $line =~ s/______BODY______/$body/g; + } + print OUTPUT "$line\n"; +} + +close(FILE); +close(OUTPUT); diff --git a/tools/doxygen/toc_create.pl b/tools/doxygen/toc_create.pl index a4dba12c6a..3a74f0d16c 100755 --- a/tools/doxygen/toc_create.pl +++ b/tools/doxygen/toc_create.pl @@ -1,6 +1,6 @@ #!/usr/bin/perl -w -($#ARGV >= 1) or die "Usage: index_create.pl "; +($#ARGV >= 1) or die "Usage: toc_create.pl "; my(@toc); my($level,$label,$name); -- 2.20.1