Skip to content

Commit 4575ff5

Browse files
committed
Adding the new Fenix-fortified codes to the standard Maekfile and the sample run script.
1 parent e90ca9b commit 4575ff5

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

Makefile

+3
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,9 @@ allmpi1:
9595
allfenix:
9696
cd scripts/small; $(MAKE) -f Makefile_FENIX runfenix
9797
cd FENIX/Stencil; $(MAKE) stencil "DEFAULT_OPT_FLAGS = $(PRK_FLAGS)"
98+
cd FENIX/AMR; $(MAKE) amr "DEFAULT_OPT_FLAGS = $(PRK_FLAGS)"
99+
cd FENIX/Synch_p2p; $(MAKE) p2p "DEFAULT_OPT_FLAGS = $(PRK_FLAGS)"
100+
cd FENIX/Transpose; $(MAKE) transpose "DEFAULT_OPT_FLAGS = $(PRK_FLAGS)"
98101

99102
allampi:
100103
cd AMPI/Synch_global; $(MAKE) global "DEFAULT_OPT_FLAGS = $(PRK_FLAGS)"

scripts/small/runfenix.in

+5-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@ NUMPROCS=6
22
NUMSPARES=2
33
NUMITERS=10
44
NUMKILLS=1
5-
FREQ=7
5+
FREQ=4
66
SEPLINE="==============================================================="
77
MPIRUN=mpirun
88

9-
$MPIRUN -am ft-enable-mpi -np $NUMPROCS FENIX/Stencil/stencil $NUMITERS 1000 $NUMSPARES $NUMKILLS $FREQ 0; echo $SEPLINE
9+
$MPIRUN -am ft-enable-mpi -bind-to-core -np $NUMPROCS FENIX/Stencil/stencil $NUMITERS 1000 $NUMSPARES $NUMKILLS $FREQ 0; echo $SEPLINE
10+
$MPIRUN -am ft-enable-mpi -bind-to-core -np $NUMPROCS FENIX/AMR/amr $NUMITERS 1000 100 1 20 5 1 $NUMSPARES $NUMKILLS $FREQ 0; echo $SEPLINE
11+
$MPIRUN -am ft-enable-mpi -bind-to-core -np $NUMPROCS FENIX/Transpose/transpose $NUMITERS 1000 $NUMSPARES $NUMKILLS $FREQ 0; echo $SEPLINE
12+
$MPIRUN -am ft-enable-mpi -bind-to-core -np $NUMPROCS FENIX/Synch_p2p/p2p $NUMITERS 1000 1000 $NUMSPARES $NUMKILLS $FREQ 0; echo $SEPLINE

0 commit comments

Comments
 (0)