From nguyen.88.tt at gmail.com Mon Jan 7 10:08:53 2019
From: nguyen.88.tt at gmail.com (Truong Thao Nguyen)
Date: Mon, 7 Jan 2019 18:08:53 +0900
Subject: [SimGrid-user] New cluster type
Message-ID:
Hi
I am Truong Thao Nguyen. I am working on creating a new "cluster" tag
beside TORUS, FAT_TREE, and DRAGONFLY. I have to do that because I would
like to customize the routing path inside the cluster. The figure below
show an simple example of what I want.
[image: image.png]
I understand that I have to create a new cluster class in kernel/routing to
specify the routing path.
Besides that, I have to define a new topology and routing type in
surf/xml/simgrid.dtd
For example,
*My request is "Could you guide me the way to generate the simgrid_dtd.h
and simgrid_dtd.c?*. I don't know which kind of tool that you use to
generate it. I tried to edit these 2 file manually but it failed when
simulating a simple example. I edit from Simgrid version 3.21
[0.000000] [xbt_cfg/INFO] Configuration change: Set 'smpi/privatization' to
> '1'
> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'surf/precision' to
> '1e-9'
> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/model' to
> 'SMPI'
> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'smpi/display-timing'
> to '1'
> [0.000000] [xbt_cfg/INFO] Configuration change: Set
> 'network/optelec_routing_threshold' to '8192'
> Invalid XML (XML input line 1, state 1): Unexpected character `▒' in
> prolog.
> ./roundtrip --cfg=smpi/privatization:1 --cfg=surf/precision:1e-9
> --cfg=network/model:SMPI --cfg=smpi/display-timing:1
> --cfg=network/optelec_routing_threshold:8192 --log=smpi.:debug
> --log=kernel.:debug
> ../SimGrid-3.21/examples/platforms/cluster_opt_elec_simple.xml
> smpitmp-appaKgZjK
> Execution failed with code 134.
>
Best regards,
---------------------------------------------------
Truong Thao Nguyen
Mobile: (+81) 080.9285.7401;
Email: nguyen.88.tt at gmail.com, nguyen.truong at aist.go.jp
Y!M: thao_nguyen_1988
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 73198 bytes
Desc: not available
URL:
From adegomme at gmail.com Mon Jan 7 10:14:34 2019
From: adegomme at gmail.com (Augustin DEGOMME)
Date: Mon, 7 Jan 2019 10:14:34 +0100
Subject: [SimGrid-user] New cluster type
In-Reply-To:
References:
Message-ID:
Hi,
from what I recall, you need to activate the "maintainer mode" in cmake (
-Denable_maintainer_mode=ON ) to generate these files again from the dtd
when building, you should not edit them manually.
You will probably need flex and flexml installed.
Hope this is enough,
Best regards,
Augustin
Le lun. 7 janv. 2019 à 10:09, Truong Thao Nguyen a
écrit :
> Hi
>
> I am Truong Thao Nguyen. I am working on creating a new "cluster" tag
> beside TORUS, FAT_TREE, and DRAGONFLY. I have to do that because I would
> like to customize the routing path inside the cluster. The figure below
> show an simple example of what I want.
> [image: image.png]
>
> I understand that I have to create a new cluster class in kernel/routing
> to specify the routing path.
> Besides that, I have to define a new topology and routing type in
> surf/xml/simgrid.dtd
> For example,
> (Full|Floyd|Dijkstra|DijkstraCache|None|Vivaldi|Cluster|ClusterTorus|ClusterFatTree|ClusterDragonfly
> |ClusterOptElecSimple) #REQUIRED>
> (Full|Floyd|Dijkstra|DijkstraCache|None|Vivaldi|Cluster|ClusterTorus|ClusterFatTree|ClusterDragonfly
> |ClusterOptElecSimple) #REQUIRED>
> "FLAT">
>
> *My request is "Could you guide me the way to generate the simgrid_dtd.h
> and simgrid_dtd.c?*. I don't know which kind of tool that you use to
> generate it. I tried to edit these 2 file manually but it failed when
> simulating a simple example. I edit from Simgrid version 3.21
>
> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'smpi/privatization'
>> to '1'
>> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'surf/precision' to
>> '1e-9'
>> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/model' to
>> 'SMPI'
>> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'smpi/display-timing'
>> to '1'
>> [0.000000] [xbt_cfg/INFO] Configuration change: Set
>> 'network/optelec_routing_threshold' to '8192'
>> Invalid XML (XML input line 1, state 1): Unexpected character `▒' in
>> prolog.
>> ./roundtrip --cfg=smpi/privatization:1 --cfg=surf/precision:1e-9
>> --cfg=network/model:SMPI --cfg=smpi/display-timing:1
>> --cfg=network/optelec_routing_threshold:8192 --log=smpi.:debug
>> --log=kernel.:debug
>> ../SimGrid-3.21/examples/platforms/cluster_opt_elec_simple.xml
>> smpitmp-appaKgZjK
>> Execution failed with code 134.
>>
>
> Best regards,
>
> ---------------------------------------------------
> Truong Thao Nguyen
> Mobile: (+81) 080.9285.7401;
> Email: nguyen.88.tt at gmail.com, nguyen.truong at aist.go.jp
> Y!M: thao_nguyen_1988
> _______________________________________________
> Simgrid-user mailing list
> Simgrid-user at lists.gforge.inria.fr
> https://lists.gforge.inria.fr/mailman/listinfo/simgrid-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From martin.quinson at ens-rennes.fr Tue Jan 22 15:32:05 2019
From: martin.quinson at ens-rennes.fr (Martin Quinson)
Date: Tue, 22 Jan 2019 15:32:05 +0100
Subject: [SimGrid-user] about s4u java binding
In-Reply-To: <20181222111454.GH6740@nouzonket>
References:
<20181222111454.GH6740@nouzonket>
Message-ID: <20190122143205.GB22274@nouzonket>
Hello Amer,
I just wanted to mention that I gave a try to the SWIG bindings since
then, and that it turned out to be more complicated than expected.
Instead, I'm currently working on Python bindings, that are already
partially integrated to the git version of SimGrid. It is still far
from being complete: you can start and kill actors, that can execute
and communicate, but you don't have the disk activities nor the
non-blocking communications.
I'm still on it, but I thought that I should already tell you all
about it.
Bye, Mt.
On Sat, Dec 22, 2018 at 12:14:55PM +0100, Martin Quinson wrote:
> Hello Amer,
>
> Welcome to the SimGrid community.
>
> On Sat, Dec 22, 2018 at 07:46:17AM -0800, Amer Dwar wrote:
> > hello
> >
> > I am Amer Dwar and I am phd student in albaath university (syria).
> > my thesis is about map reduce simulation. I read about simgrid and I fined
> > it very powerful simulation tool.
> > but in java binding I could not read and write data to storage. is there
> > java binding to s4u api.
>
> Unfortunately, there is no binding to the S4U API yet. This is on our
> TODO list since quite some times, but it's not done yet. Given our
> current manpower, I cannot comment on when this will be done either.
>
> I think that this is not an very difficult task given the current code
> state. Someone should first give a try to SWIG: it may work out of the
> box for Python at least. The threads of Java will probably need some
> more work, but that's something we already did in the current Java
> bindings so it's doable.
>
> If the python bindings would be enough for you, you should try to
> launch SWIG on the s4u interface, and see if it works. Tell us
> afterward what you get.
>
> > thanks for your huge effort
>
> You're welcome :) I'm pleased you like it.
>
> Bye, Mt.
>
> --
> You shoudl let the native englisch speaking reads the paper to checking
> the ortographe and the gramar from your paper. -- Bastard Reviewer From Hell
> _______________________________________________
> Simgrid-user mailing list
> Simgrid-user at lists.gforge.inria.fr
> https://lists.gforge.inria.fr/mailman/listinfo/simgrid-user
--
Quand on étrangle un Schtroumpf, il devient de quelle couleur ?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL:
From nguyen.88.tt at gmail.com Mon Jan 28 00:38:26 2019
From: nguyen.88.tt at gmail.com (Truong Thao Nguyen)
Date: Mon, 28 Jan 2019 08:38:26 +0900
Subject: [SimGrid-user] New cluster type
In-Reply-To:
References:
Message-ID:
Hi Augustin,
Sorry for late reply.
Thank you very much for your help. In general view, it works.
Best regards,
---------------------------------------------------
Truong Thao Nguyen
Mobile: (+81) 080.9285.7401;
Email: nguyen.88.tt at gmail.com, nguyen.truong at aist.go.jp
Y!M: thao_nguyen_1988
On Mon, Jan 7, 2019 at 6:18 PM Augustin DEGOMME wrote:
> Hi,
> from what I recall, you need to activate the "maintainer mode" in cmake (
> -Denable_maintainer_mode=ON ) to generate these files again from the dtd
> when building, you should not edit them manually.
> You will probably need flex and flexml installed.
>
> Hope this is enough,
> Best regards,
>
> Augustin
>
> Le lun. 7 janv. 2019 à 10:09, Truong Thao Nguyen
> a écrit :
>
>> Hi
>>
>> I am Truong Thao Nguyen. I am working on creating a new "cluster" tag
>> beside TORUS, FAT_TREE, and DRAGONFLY. I have to do that because I would
>> like to customize the routing path inside the cluster. The figure below
>> show an simple example of what I want.
>> [image: image.png]
>>
>> I understand that I have to create a new cluster class in kernel/routing
>> to specify the routing path.
>> Besides that, I have to define a new topology and routing type in
>> surf/xml/simgrid.dtd
>> For example,
>> > (Full|Floyd|Dijkstra|DijkstraCache|None|Vivaldi|Cluster|ClusterTorus|ClusterFatTree|ClusterDragonfly
>> |ClusterOptElecSimple) #REQUIRED>
>> > (Full|Floyd|Dijkstra|DijkstraCache|None|Vivaldi|Cluster|ClusterTorus|ClusterFatTree|ClusterDragonfly
>> |ClusterOptElecSimple) #REQUIRED>
>> > "FLAT">
>>
>> *My request is "Could you guide me the way to generate the
>> simgrid_dtd.h and simgrid_dtd.c?*. I don't know which kind of tool that
>> you use to generate it. I tried to edit these 2 file manually but it failed
>> when simulating a simple example. I edit from Simgrid version 3.21
>>
>> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'smpi/privatization'
>>> to '1'
>>> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'surf/precision' to
>>> '1e-9'
>>> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/model' to
>>> 'SMPI'
>>> [0.000000] [xbt_cfg/INFO] Configuration change: Set
>>> 'smpi/display-timing' to '1'
>>> [0.000000] [xbt_cfg/INFO] Configuration change: Set
>>> 'network/optelec_routing_threshold' to '8192'
>>> Invalid XML (XML input line 1, state 1): Unexpected character `▒' in
>>> prolog.
>>> ./roundtrip --cfg=smpi/privatization:1 --cfg=surf/precision:1e-9
>>> --cfg=network/model:SMPI --cfg=smpi/display-timing:1
>>> --cfg=network/optelec_routing_threshold:8192 --log=smpi.:debug
>>> --log=kernel.:debug
>>> ../SimGrid-3.21/examples/platforms/cluster_opt_elec_simple.xml
>>> smpitmp-appaKgZjK
>>> Execution failed with code 134.
>>>
>>
>> Best regards,
>>
>> ---------------------------------------------------
>> Truong Thao Nguyen
>> Mobile: (+81) 080.9285.7401;
>> Email: nguyen.88.tt at gmail.com, nguyen.truong at aist.go.jp
>> Y!M: thao_nguyen_1988
>> _______________________________________________
>> Simgrid-user mailing list
>> Simgrid-user at lists.gforge.inria.fr
>> https://lists.gforge.inria.fr/mailman/listinfo/simgrid-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: