cmview: view Connection Machine on-line documentation cmps: display the status of current CM processes (memory usage, number of active processes, etc.) Useful to tell how loaded the machine is. *'d pid tells which one is currently running. djm: distributed job manager Method to submit batch jobs. Does a nice job with redireting I/O appropriately. -help to get options Main interface 'job' Useful Commands: status Show the status of all running jobs submit Submit a background job run run an interactive job signal send a signal to a running job kill kill a running job cmjoin: produce a CM5 executable from two standard executable files. cmld: CM5 link editor for object files. This is what you use in a Makefile.
ts-daemon: Liaison process between host and nodes Sometimes goes down. If the thing is down, send mail to tsd-down@rodin. If it persists, send mail to fraser@cs.
- host/node programs - sometimes it's hidden from you. - Standard .o files. - Use an already working makefile (take the one we supply)
TARGET = hello HOST_SRCS = hello-host.c HOST_OBJS = $(HOST_SRCS:%.c=%.o) NODE_SRCS = hello-node.c NODE_OBJS = $(NODE_SRCS:%.c=%.o) INCDIRS = /usr/cm5/include HOST_LIBDIRS = /usr/cm5/lib NODE_LIBDIRS = /usr/cm5/lib HOST_LIBS = NODE_LIBS = CC = gcc %-host.o: %-host.c $(CC) -DCP_CODE $(CFLAGS) $(INCDIRS:%=-I%) -c $< %-node.o: %-node.c $(CC) $(CFLAGS) $(INCDIRS:%=-I%) -c $< $(TARGET): $(NODE_OBJS) $(HOST_OBJS) /usr/cm5/bin/cmmd-ld \ -comp $(CC) -o $(TARGET) \ -node $(NODE_OBJS) $(NODE_LIBDIRS:%=-L%) $(NODE_LIBS:%=-l%) \ -host $(HOST_OBJS) $(HOST_LIBDIRS:%=-L%) $(HOST_LIBS:%=-l%) clean: rm -f $(TARGET) $(NODE_OBJS) $(HOST_OBJS) *~ .make.state .nse_depinfo
Terminology:Also, check out Solaris Thread Page