Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
activate a fortran test
[simgrid.git] / teshsuite / smpi / mpich3-test / f90 / datatype / structf.f90
index abc17da..dbdc861 100644 (file)
@@ -14,8 +14,9 @@
 ! for MPICH, and to fit in the MPICH test harness - WDG
 !
       program bustit
-      implicit none
       use mpi
+      implicit none
+
       
       integer comm
       integer newtype
@@ -44,7 +45,8 @@
       call mpi_comm_size(MPI_COMM_WORLD, size, ierr )
       if (size .lt. 2) then
          print *, "Must have at least 2 processes"
-         call MPI_Abort( 1, MPI_COMM_WORLD, ierr )
+         call MPI_Abort( MPI_COMM_WORLD, 1, ierr )
+         stop
       endif
 
       comm = MPI_COMM_WORLD