This commit is contained in:
Edoardo Apra 2015-10-23 01:42:31 +00:00
parent 155e1e3cf6
commit c3aa637fec
2 changed files with 5 additions and 2 deletions

View file

@ -254,6 +254,7 @@ endif
ifeq ($(TARGET),$(findstring $(TARGET),BGL BGP BGQ))
DEFINES += -DNEED_LOC
LIB_DEFINES += -DNO_UTIL_TESTS
LIB_DEFINES += -I/bgsys/drivers/ppcfloor/firmware/include -I/bgsys/drivers/ppcfloor/spi/include/kernel
endif
ifdef SLURM

View file

@ -31,8 +31,10 @@ static short int ppn_initialized=0;
static int ppn=0;
void FATR util_getppn_(Integer *ppn_out){
#if defined(__bgq__)
*ppn_out = Kernel_ProcessCount();
#if defined(__bgqz__)
*ppn_out = (Integer) Kernel_ProcessCount();
return;
if(0) {
#elif MPI_VERSION >= 3
int err;