Updating macros.cmake to be consistent with other projects, fixing resulting compile errors

This commit is contained in:
Mark Berrill
2015-08-21 16:56:43 -04:00
parent ae11d108ae
commit 4f6bceffc8
35 changed files with 1037 additions and 330 deletions

View File

@@ -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;

View File

@@ -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);