I would like not to make this question, because it is similar to one I have already made, but I cannot understant the problem I have now.
I want to install wmap_likelihoodcode_v2p2p2 on Linux, so I have modified the Makefile as follows:
Code: Select all
CFITSIO=/wrk04/acero/CosmoMC/cfitsio
#
# Non-test object files.
#
OBJS = read_archive_map.o \
read_fits.o \
WMAP_3yr_options.o \
WMAP_3yr_util.o \
WMAP_3yr_tt_pixlike.o \
WMAP_3yr_tt_beam_and_ptsrc_corr.o \
WMAP_3yr_teeebb_pixlike.o \
WMAP_3yr_likelihood.o
#
# General Commands.
#
DIFF = diff -w
RM = rm -f
# See the CHANGES files for a description of these options
WMAPFLAGS = -DFASTERTT -DOPTIMIZE -DOPTIMIZE2 #-DTIMING
## SGI ProPack(Altix)/Intel -- gets the LAPACK functions from the system SCSL library.
F90 = ifort
FFLAGS = -O $(WMAPFLAGS) -g
INCS = -I. -I$(CFITSIO)
#LIBS = -L. -L$(CFITSIO)/lib -lcfitsio -lscs_mp
LIBS = -L. -L$(CFITSIO) -lcfitsio -L/wrk04/acero/CosmoMC/lapack-3.1.0 -llapack_LINUX -lguide -lpthread -static
all: test
test: $(OBJS) test.o
$(F90) $(FFLAGS) -o $@ $(OBJS) test.o $(LIBS)
check: test
./test | tee output.log
$(DIFF) output.log output.std
%.o: %.f90
$(F90) $(FFLAGS) $(INCS) -c -o $@ $<
%.o: %.F90
$(F90) $(FFLAGS) $(INCS) -c -o $@ $<
clean:
$(RM) *.o *.mod *.log *~
distclean: clean
$(RM) test
I think I have installed the required libraries, so I really don't understand.Multiple rules lines for `%.o'
Make: Don't know how to make read_archive_map.F90. Stop.
Thanks for your comments and help,
MarioA.