Skip to content

Commit

Permalink
first pass of PCU with making use of a high level object
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobmerson committed Mar 30, 2023
1 parent ed28c05 commit 2eada4e
Show file tree
Hide file tree
Showing 21 changed files with 798 additions and 1,201 deletions.
9 changes: 4 additions & 5 deletions pcu/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ message(STATUS "PCU_COMPRESS: " ${PCU_COMPRESS})

# Package sources
set(SOURCES
pcu.c
pcu2.c
pcu.cc
pcu_aa.c
pcu_coll.c
pcu_io.c
Expand All @@ -23,15 +22,15 @@ set(SOURCES
pcu_util.c
noto/noto_malloc.c
reel/reel.c
)
PCUObj.cc)

# Package headers
set(HEADERS
PCU.h
PCU2.h
pcu_io.h
pcu_io.h
pcu_util.h
reel/reel.h
pcu_defines.h
)

# Add the pcu library
Expand Down
12 changes: 2 additions & 10 deletions pcu/PCU.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@
*******************************************************************************/
#ifndef PCU_H
#define PCU_H

#define PCU_SUCCESS 0
#define PCU_FAILURE -1

#include "pcu_defines.h"
#include <mpi.h>

#ifdef __cplusplus
Expand Down Expand Up @@ -94,13 +91,8 @@ bool PCU_Comm_Read(int* from_rank, void** data, size_t* size);

/*Debug file I/O API*/
void PCU_Debug_Open(void);
#ifdef __GNUC__
void PCU_Debug_Print(const char* format, ...)
__attribute__((format(printf,1,2)));
#else
void PCU_Debug_Print(const char* format, ...);
#endif

void PCU_Debug_Print(const char* format, ...) PCU_FORMAT_ATTRIBUTE(1,2);
/*lesser-used APIs*/
bool PCU_Comm_Initialized(void);
int PCU_Comm_Packed(int to_rank, size_t* size);
Expand Down
137 changes: 0 additions & 137 deletions pcu/PCU2.h

This file was deleted.

Loading

0 comments on commit 2eada4e

Please sign in to comment.