Commit 90b2f9e5 authored by Sudheer Chunduri's avatar Sudheer Chunduri
Browse files

changing name - crayxc to apxc

parent 497e5b7c
......@@ -4,14 +4,14 @@
DARSHAN_STATIC_MOD_OBJS += lib/darshan-apxc.o
DARSHAN_DYNAMIC_MOD_OBJS += lib/darshan-apxc.po
VPATH += :$(srcdir)/../modules/autoperf/crayxc
VPATH += :$(srcdir)/../modules/autoperf/apxc
CFLAGS += \
-DDARSHAN_USE_APXC \
-I$(srcdir)/../modules/autoperf/crayxc
-I$(srcdir)/../modules/autoperf/apxc
CFLAGS_SHARED += \
-DDARSHAN_USE_APXC \
-I$(srcdir)/../modules/autoperf/crayxc
-I$(srcdir)/../modules/autoperf/apxc
lib/darshan-apxc.o: lib/darshan-apxc.c lib/darshan-apxc-utils.h darshan.h darshan-common.h $(DARSHAN_LOG_FORMAT) darshan-apxc-log-format.h | lib
$(CC) $(CFLAGS) -c $< -o $@
......@@ -19,3 +19,5 @@ lib/darshan-apxc.o: lib/darshan-apxc.c lib/darshan-apxc-utils.h darshan.h darsha
lib/darshan-apxc.po: lib/darshan-apxc.c lib/darshan-apxc-utils.h darshan.h darshan-dynamic.h darshan-common.h $(DARSHAN_LOG_FORMAT) darshan-apxc-log-format.h | lib
$(CC) $(CFLAGS_SHARED) -c $< -o $@
print-apxc-size: print-apxc-size.c $(DARSHAN_LOG_FORMAT) $(srcdir)/../modules/autoperf/apxc/darshan-apxc-log-format.h
$(CC) $(CFLAGS) -g -O0 -o $@ $<
......@@ -179,7 +179,7 @@ void apxc_runtime_initialize()
&my_rank,
NULL);
/* not enough memory to fit crayxc module record */
/* not enough memory to fit apxc module record */
if(apxc_buf_size < sizeof(struct darshan_apxc_header_record) + sizeof(struct darshan_apxc_perf_record))
{
darshan_core_unregister_module(APXC_MOD);
......@@ -199,13 +199,13 @@ void apxc_runtime_initialize()
if (my_rank == 0)
{
apxc_runtime->header_id = darshan_core_gen_record_id("darshan-crayxc-header");
apxc_runtime->header_id = darshan_core_gen_record_id("darshan-apxc-header");
/* register the crayxc file record with darshan-core */
/* register the apxc file record with darshan-core */
apxc_runtime->header_record = darshan_core_register_record(
apxc_runtime->header_id,
//NULL,
"darshan-crayxc-header",
"darshan-apxc-header",
APXC_MOD,
sizeof(struct darshan_apxc_header_record),
NULL);
......@@ -227,7 +227,7 @@ void apxc_runtime_initialize()
&apxc_runtime->blade,
&apxc_runtime->node);
sprintf(rtr_rec_name, "darshan-crayxc-rtr-%d-%d-%d",
sprintf(rtr_rec_name, "darshan-apxc-rtr-%d-%d-%d",
apxc_runtime->group, apxc_runtime->chassis, apxc_runtime->blade);
//apxc_runtime->rtr_id = darshan_core_gen_record_id(rtr_rec_name);
apxc_runtime->rtr_id = darshan_core_gen_record_id("APXC");
......@@ -258,7 +258,7 @@ void apxc_runtime_initialize()
* shutdown function exported by this module for coordinating with darshan-core *
********************************************************************************/
/* Pass data for the crayxc module back to darshan-core to log to file. */
/* Pass data for the apxc module back to darshan-core to log to file. */
//#ifdef HAVE_MPI
static void apxc_mpi_redux(
void *apxc_buf,
......
......@@ -2,26 +2,26 @@
# AutoPerf Make rules for Darshan
#
VPATH += :$(srcdir)/../modules/autoperf/crayxc/util
VPATH += :$(srcdir)/../modules/autoperf/apxc/util
DARSHAN_MOD_LOG_FORMATS += $(srcdir)/../modules/autoperf/crayxc/darshan-apxc-log-format.h
DARSHAN_MOD_LOG_FORMATS += $(srcdir)/../modules/autoperf/apxc/darshan-apxc-log-format.h
DARSHAN_MOD_LOGUTIL_HEADERS += darshan-apxc-logutils.h
DARSHAN_STATIC_MOD_OBJS += darshan-apxc-logutils.o
DARSHAN_DYNAMIC_MOD_OBJS += darshan-apxc-logutils.po
CFLAGS += \
-DDARSHAN_USE_APXC \
-I$(srcdir)/../modules/autoperf/crayxc \
-I$(srcdir)/../modules/autoperf/crayxc/util
-I$(srcdir)/../modules/autoperf/apxc \
-I$(srcdir)/../modules/autoperf/apxc/util
CFLAGS_SHARED += \
-DDARSHAN_USE_APXC \
-I$(srcdir)/../modules/autoperf/crayxc \
-I$(srcdir)/../modules/autoperf/crayxc/util
-I$(srcdir)/../modules/autoperf/apxc \
-I$(srcdir)/../modules/autoperf/apxc/util
darshan-apxc-logutils.o: darshan-apxc-logutils.c darshan-logutils.h darshan-apxc-logutils.h $(DARSHAN_LOG_FORMAT) $(srcdir)/../modules/autoperf/crayxc/darshan-apxc-log-format.h | uthash-1.9.2
darshan-apxc-logutils.o: darshan-apxc-logutils.c darshan-logutils.h darshan-apxc-logutils.h $(DARSHAN_LOG_FORMAT) $(srcdir)/../modules/autoperf/apxc/darshan-apxc-log-format.h | uthash-1.9.2
$(CC) $(CFLAGS) -c $< -o $@
darshan-apxc-logutils.po: darshan-apxc-logutils.c darshan-logutils.h darshan-apxc-logutils.h $(DARSHAN_LOG_FORMAT) $(srcdir)/../modules/autoperf/crayxc/darshan-apxc-log-format.h | uthash-1.9.2
darshan-apxc-logutils.po: darshan-apxc-logutils.c darshan-logutils.h darshan-apxc-logutils.h $(DARSHAN_LOG_FORMAT) $(srcdir)/../modules/autoperf/apxc/darshan-apxc-log-format.h | uthash-1.9.2
$(CC) $(CFLAGS_SHARED) -c $< -o $@
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment