MR-MPI WWW Site -MR-MPI Documentation - OINK Documentation - OINK Commands

print command


print str 


print "Done with first stage" print "Elapsed time = $t secs on $p procs"


Print a text string to the screen and logfile. One line of output is generated. If the string has white space in it (spaces, tabs, etc), then you must enclose it in quotes so that it is treated as a single argument. If variables are included in the string, they will be evaluated and their current values printed.

See the variable command for a description of various kinds of variables, any of which can be used with the print command. Note that there are keywords for the number of processors and elapsed time for a command or MR-MPI library call which can be accessed with variables, e.g.

variable t equal time
variable p equal nprocs
print "Elapsed time = $t secs on $p procs" 

Related commands: