more MPI fixes.

This commit is contained in:
Vítor Santos Costa
2012-02-05 11:20:30 +00:00
parent 6c98e37e18
commit bd677152e7
5 changed files with 95 additions and 23 deletions

View File

@@ -67,7 +67,8 @@ void write_msg(const char *fun,const char *file, int line,const char *format, ..
/*********************************************************************************************
* Macros to manipulate the buffer
*********************************************************************************************/
#define BLOCK_SIZE 4*1024
extern int BLOCK_SIZE;
// deletes the buffer (all fields) but does not release the memory of the buffer.ptr
#define DEL_BUFFER {buffer.ptr=NULL;buffer.size=0;buffer.len=0;buffer.pos=0;}