From 75fc8671809ed40a2bc14d463f1068cefcc82140 Mon Sep 17 00:00:00 2001 From: alegrand Date: Tue, 6 Dec 2005 21:09:31 +0000 Subject: [PATCH] sexy underwear. Now, anyone will die for this webpage! ;) git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1870 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- doc/Makefile.am | 2 +- doc/index.doc | 12 ++--- doc/index.php.in | 22 +++++---- tools/doxygen/index_php.pl | 99 +++++++++++++------------------------- 4 files changed, 51 insertions(+), 84 deletions(-) diff --git a/doc/Makefile.am b/doc/Makefile.am index 79b96a2290..995f29ecd1 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -24,7 +24,6 @@ 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 \ @@ -37,6 +36,7 @@ html: $(DOCSOURCES) Doxyfile logcategories.doc simgrid_modules.map simgrid_modul > $$i ; \ rm $$i.bak ; \ done + ../tools/doxygen/index_php.pl index.php.in html/index.html index.php endif logcategories.doc: $(DOCSOURCES) diff --git a/doc/index.doc b/doc/index.doc index c7def678e9..4219961c3f 100644 --- a/doc/index.doc +++ b/doc/index.doc @@ -6,21 +6,16 @@ \endhtmlonly -\htmlinclude index.toc - -\section hot_news HOT NEWS - -SimGrid 3.0.1 was released on 22st of October 2005. Get it from -here. - \section quick Quick start SimGrid is a toolkit that provides core functionalities for the simulation of distributed applications in heterogeneous distributed environments. +\htmlonly \endhtmlonly 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. +\htmlonly \endhtmlonly \subsection quick_dl Getting and installing the software @@ -60,7 +55,7 @@ this page. It is organized as follow: As depicted by the following diagram, the SimGrid toolkit is basically three-layered (click on the picture to jump to a specific component). - +\htmlonly \endhtmlonly \htmlonly
\endhtmlonly @@ -142,6 +137,7 @@ See the \ref XBT_API section for more details. Any question, remark or suggestion are welcome on the SimGrid users mailing list. +\htmlonly \endhtmlonly
diff --git a/doc/index.php.in b/doc/index.php.in index a491bb679d..fef86f5ae2 100644 --- a/doc/index.php.in +++ b/doc/index.php.in @@ -123,15 +123,7 @@ while (!feof($handle)) { $contents=str_replace("Welcome to", "Welcome to the", $contents); fclose($handle); echo $contents; } ?> -______BODY________ - +______BODY______ @@ -155,6 +147,18 @@ fclose($handle); $contents=str_replace('href="/','href="http://'.$domain.'/',$contents); $contents=str_replace('src="/','src="http://'.$domain.'/',$contents); echo $contents; } ?> +
+
+
+ + diff --git a/tools/doxygen/index_php.pl b/tools/doxygen/index_php.pl index fe1fe962f9..ed777a569e 100755 --- a/tools/doxygen/index_php.pl +++ b/tools/doxygen/index_php.pl @@ -9,78 +9,45 @@ $inputphp = $ARGV[0]; $inputhtml = $ARGV[1]; $output = $ARGV[2]; -my($onglets) = ' - -
-


-'; +my($onglets) = ""; +my($body) = ""; + +open FILE,$inputhtml; +while(defined($line=)) { + if($line =~/

/) { + $onglets = $line; + while(defined($line=) && !($line =~/<\/div>/)) { + $onglets.=$line; + } + $onglets.=$line; + $onglets.="


\n" + } + if($line =~/(.*)$/) { + $tmp=$1; + if($tmp =~/(.*)/) { + $body .= $1; + } else { + $body .= $tmp; + while(defined($line=) && !($line =~//)) { + $body.=$line; + } + $line =~/^(.*)/; + $body.=$1; + } + } +} +close FILE; -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. +$onglets =~ s/href=\"/href=\"doc\//gi; +$onglets =~ s/src=\"/src=\"doc\//gi; -

-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.

-


-'; +$body =~ s/href=\"/href=\"doc\//gi; +$body =~ s/src=\"/src=\"doc\//gi; open FILE,$inputphp; open OUTPUT,"> $output"; -while($line=) { +while(defined($line=)) { chomp $line; if($line =~/______ONGLETS______/) { $line =~ s/______ONGLETS______/$onglets/g; -- 2.20.1