MPIObject_i.hxx \
MPIContainer_i.hxx
+# These files are executable scripts
+dist_salomescript_SCRIPTS = \
+ launch_testMPI2.csh
+
#
# ===============================================================
# Local definitions
SALOME_MPIContainer_LDADD = libSalomeMPIContainer.la $(COMMON_LIBS) @PYTHON_LIBS@ @MPI_LIBS@
SALOME_MPIContainer_CPPFLAGS = $(COMMON_CPPFLAGS)
-
+bin_PROGRAMS = testMPI2
+testMPI2_SOURCES = testMPI2.cxx
+testMPI2_LDADD = @MPI_LIBS@
+testMPI2_CPPFLAGS = @MPI_INCLUDES@
--- /dev/null
+#! /bin/csh -f
+set nbproc1=2
+set nbproc2=3
+set vsize=32
+if $1 == "--debug" then
+ set debug="-debug"
+else
+ set debug=""
+endif
+if $status == 0 then
+ setenv OMPI_URI_FILE /home/secher/ARCH_COMPO/mpi2_pub/essai/URI
+ ompi-server -r ${OMPI_URI_FILE}
+ sleep 2
+ mpirun -np $nbproc1 -ompi-server file:${OMPI_URI_FILE} ${KERNEL_ROOT_DIR}/bin/salome/testMPI2 -vsize $vsize $debug &
+ mpirun -np $nbproc2 -ompi-server file:${OMPI_URI_FILE} ${KERNEL_ROOT_DIR}/bin/salome/testMPI2 -vsize $vsize $debug
+ set res=$status
+ sleep 1
+ killall ompi-server
+endif
+if $res == 0 then
+ echo "OK"
+else
+ echo "KO"
+endif