[SimGrid-user] segmentation fault in replay_multiple
huyao0107 at gmail.com
Sat Nov 17 09:45:42 CET 2018
Thanks for your reply.
I am afraid there is no target for replay_multiple in Makefile.
When using gcc, it seems it still misses a path to mpi.h. Any workaround
for this? Thanks a lot.
$ gcc replay_multiple.c -o replay_multiple -lsimgrid -l/usr/include/smpi
replay_multiple.c:8:10: fatal error: mpi.h: No such file or directory
2018年11月17日(土) 17:01 Augustin DEGOMME <adegomme at gmail.com>:
> I think this example should not be compiled with smpicc, which is meant
> only for codes launched later by smpirun. It should be built with the rest
> of simgrid, and you can rebuild it with with "make replay_multiple" if
> needed, or by hand with gcc/clang/icc, using -lsimgrid and
> Best regards,
> Le sam. 17 nov. 2018 à 08:21, yao hu <huyao0107 at gmail.com> a écrit :
>> I intend to execute multiple applications on the same time.
>> I looked into the example of smpi/replay_multiple, however it crashes
>> after doing the following:
>> $ smpicc -O3 replay_multiple.c -o replay_multiple
>> $ ./generate_multiple_deployment.sh -platform
>> ../../platforms/small_platform_with_routers.xml -hostfile ../hostfile
>> description_file deployment.xml
>> $ ./replay_multiple description_file
>> ../../platforms/small_platform_with_routers.xml deployment.xml
>> --log=smpi.:info --cfg=maxmin/concurrency-limit:100
>> Segmentation fault
>> The description file and platform file are originally from the example
>> Is there something wrong with the setting? Thanks very much for your help.
>> Simgrid-user mailing list
>> Simgrid-user at lists.gforge.inria.fr
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Simgrid-user