Compiler error in version 2.1.22

Report all good and bad behavior here
Post Reply
User avatar
Jaakko Leppänen
Site Admin
Posts: 2377
Joined: Thu Mar 18, 2010 10:43 pm
Security question 2: 0
Location: Espoo, Finland
Contact:

Compiler error in version 2.1.22

Post by Jaakko Leppänen » Thu Nov 27, 2014 12:27 pm

Version 2.1.22 fails to compile in MPI mode. The problem is related to subroutine rendezvous.c, which is executed in reproducible MPI mode only. Since this mode is not used by default, a quick fix to the problem is to remove the contents of the subroutine altogether:

Code: Select all

/*****************************************************************************/
/*                                                                           */
/* serpent 2 (beta-version) : rendezvous.c                                   */
/*                                                                           */
/* Created:       2011/12/22 (JLe)                                           */
/* Last modified: 2012/12/28 (JLe)                                           */
/* Version:       2.1.12                                                     */
/*                                                                           */
/* Description: Collect source size, weight etc. data from MPI parallel      */
/*              tasks in criticality source mode                             */
/*                                                                           */
/* Comments: - Needed for MPI reproducibility                                */
/*                                                                           */
/*****************************************************************************/

#include "header.h"
#include "locations.h"

#define FUNCTION_NAME "Rendezvous:"

/*****************************************************************************/

void Rendezvous(long *nsrc0, double *wgt0)
{
}
This modification will not affect the results in any way but will allow the source code to be compiled.
- Jaakko

Post Reply