1 ! Check that getarg does something sensible.
4 CHARACTER*10 ARGS, ARGS2
11 ! This should return the invoking command. The actual value depends
12 ! on the OS, but a blank string is wrong no matter what.
13 ! ??? What about deep embedded systems?
14 if (args.eq.'') STOP 2
17 if (args.ne.'a') STOP 3
20 if (args.ne.'') STOP 4
21 ! Assume we won't have been called with more that 4 args.
24 if (args.ne.'') STOP 5
27 if (args.ne.'') STOP 6
28 call MPI_Finalize(ierr)