Re: [myrinet] Re: Re: static mapping?
"Oleg I. Vdovikin" <[email protected]>
| Newsgroups | gmane.network.myrinet.general |
|---|---|
| Message-ID | <[email protected]> |
Ruth, Douglas
thanks again.
> > Would it be possible to get these steps included in the normal
> > documentation of the GM source?
>
> Yes, a good idea.
file_mapper should be build as regular mapper during the binaries
build...
For now I've added the following lines to the root makefile (the reason
is simple - we're using both gcc & compaq compilers for gm compilation and
the root makefile is the only file which controls proper compilers
invocation. We can't just do "make gm all" in the mt directory just because
of fact we need to modify /config/make.$arch file to replace hardcoded
compiler name and adjust options):
MT_FCALC_OBJS =\
mt/file_calculator/fc.o\
mt/file_calculator/fc_Calculator.o
MT_SMAPPER_OBJS =\
mt/smapper/st.o \
mt/smapper/st_Mapper.o \
mt/smapper/st_MapperModule.o \
mt/smapper/st_Simulation.o
FILE_MAPPER_OBJS =\
$(MT_DEADLOCK_OBJS)\
$(MT_LIBMT_OBJS)\
$(MT_SMAPPER_OBJS)\
$(MT_FCALC_OBJS)\
$(MT_TOOLS_OBJS)
FILE_MAPPER = binary/sbin/file_mapper
release: $(MAPPER) $(MAPPER_ARGS) $(FILE_MAPPER)
$(FILE_MAPPER): $(FILE_MAPPER_OBJS) binary/lib/libgm.a
$(MAPPER_CXX) $(MAPPER_CXXLDFLAGS) -o $(FILE_MAPPER) $(FILE_MAPPER_OBJS)
$(MAPPER_LDFLAGS)
Oleg.