mirror of
https://github.com/nwchemgit/nwchem.git
synced 2026-07-28 22:25:48 -04:00
bgq fix
This commit is contained in:
parent
155e1e3cf6
commit
c3aa637fec
2 changed files with 5 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue