/etc/adios/skel/templates/Makefile.default.tpl is in libadios-bin 1.13.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | # To modify this Makefile, edit Makefile_default.tpl file in ~/.skel/templates/
# and run skel makefile
include $$INCLUDE$$
#Use adios attached to skel, rather than adios in $PATH
#ADIOS_DIR=`adios_config -d`
ADIOS_DIR=$$ADIOS_BIN_DIR$$/..
ADIOS_CONFIG=${ADIOS_DIR}/bin/adios_config
LDFLAGS += `${ADIOS_CONFIG} -l` -L${ADIOS_DIR}/lib/skel -lskel
CFLAGS += `${ADIOS_CONFIG} -c`
FCFLAGS += `${ADIOS_CONFIG} -fc`
FCLIBS += `${ADIOS_CONFIG} -fl` -L${ADIOS_DIR}/lib/skel -lskel
APP=$$APP$$
CTESTS=$$CTESTS$$
FTESTS=$$FTESTS$$
DEST_DIR=$$DEPLOY_DIR$$/$(APP)/$$CORES_USED$$
all: $(FTESTS) $(CTESTS)
$(CTESTS): $(CTESTS:=.c)
$(CC) $(CFLAGS) -o $@ ${@}.c $(LDFLAGS)
$(FTESTS): $(FTESTS:=.f90)
$(FC) $(FCFLAGS) -o $@ ${@}.f90 $(FCLIBS)
deploy:
#Make sure this exists
mkdir -p $(DEST_DIR)
rm -f $(DEST_DIR)/submit*
cp $(APP)_skel.xml $(DEST_DIR)/$(APP)_skel.xml.in
cp $(CTESTS) submit* $(DEST_DIR)
cp $(FTESTS) submit* $(DEST_DIR)
cp $(prefix)/bin/skel_set_method.sh $(DEST_DIR)
cp $(prefix)/bin/skel_cat.py $(DEST_DIR)
clean:
rm -f *.c
rm -f *.f90
#rm -f submit*
rm -f $(CTESTS) $(FTESTS)
|