Updating macros.cmake to be consistent with other projects, fixing resulting compile errors
This commit is contained in:
@@ -14,7 +14,6 @@
|
||||
|
||||
|
||||
/****************************************************
|
||||
* Pack/unpack data from a buffer *
|
||||
****************************************************/
|
||||
// MeshType
|
||||
template<>
|
||||
@@ -243,7 +242,6 @@ std::vector<MeshDatabase> gatherAll( const std::vector<MeshDatabase>& meshes, MP
|
||||
{
|
||||
#ifdef USE_MPI
|
||||
PROFILE_START("gatherAll");
|
||||
int rank = MPI_WORLD_RANK();
|
||||
int size = MPI_WORLD_SIZE();
|
||||
// First pack the mesh data to local buffers
|
||||
size_t localsize = 0;
|
||||
|
||||
@@ -160,7 +160,6 @@ void IO::writeData( int timestep, const std::vector<IO::MeshDataStruct>& meshDat
|
||||
{
|
||||
PROFILE_START("writeData");
|
||||
int rank = MPI_WORLD_RANK();
|
||||
int size = MPI_WORLD_SIZE();
|
||||
// Create the output directory
|
||||
char path[100];
|
||||
sprintf(path,"vis%03i",timestep);
|
||||
|
||||
Reference in New Issue
Block a user