X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/93f9321b856ddec42279e8b097a331413534a404..55029c5e69b87977c9bcac655220ef71d80d5885:/tools/doxygen/index_php.pl diff --git a/tools/doxygen/index_php.pl b/tools/doxygen/index_php.pl index fe1fe962f9..467787477a 100755 --- a/tools/doxygen/index_php.pl +++ b/tools/doxygen/index_php.pl @@ -9,78 +9,49 @@ $inputphp = $ARGV[0]; $inputhtml = $ARGV[1]; $output = $ARGV[2]; -my($onglets) = ' -
-
-
-


-'; +my($onglets) = ""; +my($body) = ""; -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. +open FILE,$inputhtml; +while(defined($line=)) { + if($line =~/

/) { + $onglets = $line; + while(defined($line=) && !($line =~/<\/div>/)) { + $line =~ s/ class="current"//g; + $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; + +# (?!http) : A zero-width negative look-ahead assertion. +# For example "/foo(?!bar)/" matches any occurrence of "foo" that isn’t followed by "bar". + +$onglets =~ s/href=\"(?!http)/href=\"doc\//gi; +$onglets =~ s/src=\"(?!http)/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 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=\"(?!http)/href=\"doc\//gi; +$body =~ s/src=\"(?!http)/src=\"doc\//gi; open FILE,$inputphp; open OUTPUT,"> $output"; -while($line=) { +while(defined($line=)) { chomp $line; if($line =~/______ONGLETS______/) { $line =~ s/______ONGLETS______/$onglets/g;