Changeset 10895
- Timestamp:
- 2019-04-25T14:51:34+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/UKMO/BPC_miniapp/Master/Makefile
r10894 r10895 2 2 # Make several versions, plus extract individual versions 3 3 # make clean; make 4 # Make and scalar CPU version5 # make clean ; make CPU=16 # ./bpc .exe4 # Make and scalar GPU version 5 # make clean GPU=1 ; make GPU=1 6 # ./bpc_gpu.exe 7 7 # 8 8 # Make and run mananged memory version for GPU … … 22 22 # Default flags are the GPU with managed memory 23 23 MANAGED=1 24 TARGET= gpu24 TARGET=managed 25 25 FMACPU= 26 26 27 ifdef MANAGED 27 28 MANAGE=,managed -DMANAGED 29 TARGET=managed 30 endif 31 32 ifdef GPU 33 TARGET=gpu 34 MANAGE= 28 35 endif 29 36 … … 31 38 TARGET=* 32 39 endif 33 34 40 35 41 FLAGS = -gopt -Mpreprocess -fast -acc -Minfo=acc -ta=tesla,cc70$(MANAGE) … … 40 46 LFLAGS= -gopt -Mpreprocess -fast -mp=nonuma -Minfo=mp $(FMACPU) 41 47 TARGET=cpu 48 MANAGE= 42 49 endif 43 50 … … 46 53 FLAGS= -gopt -Mpreprocess -fast -acc -Minfo=acc -ta=multicore 47 54 TARGET=multi 55 MANAGE= 48 56 endif 49 57
Note: See TracChangeset
for help on using the changeset viewer.