The file c++ is identical, except
c++WARN = -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter // -Wold-style-cast -Wnon-virtual-dtorbecomes
c++WARN = -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter // -Wold-style-castThe file cOpt is identical, except
cOPT = -O3 -fno-gcsebecomes
cOPT = -O3
The file general is identical, except
LD = ldbecomes
LD = ld -A64
Further, we added two new files named general.orig and general.temp, where the latter is a copy of the updated general file, and the former has replaced
PROJECT_LIBS = -l$(WM_PROJECT) -Wl,--whole-archive -L$(SE_DIR)/lib/snos64 // -lportals -Wl,--no-whole-archive -liberty -ldl
with
PROJECT_LIBS = -l$(WM_PROJECT) -liberty -ldl
Using three files in this manner makes the compilation much smoother (see below).
The file X is changed from
XINC = $(XFLAGS) -I/usr/include/X11 XLIBS = -L/usr/lib64 -lXext -lX11to
XINC = $(XFLAGS) -I/usr/X11R6/include XLIBS = -L/usr/X11R6/lib64 -lXext -lX11
Finally, three new files were added: two executable binaries, namely dirToString and wmkdep, and the text file mplibMPT, which describes the locations of the required parts of Cray's MPI library. Specifically, the file contains the following lines
PFLAGS = PINC = -I$(MPI_ARCH_PATH)/include PLIBS = -L$(MPI_ARCH_PATH)/lib -L$(MPICH_PATH)/pmi/lib // -L$(MPICH_PATH)/util/lib -lmpich -lpmi -lalpslli // -lalpsutil -rt