Skip to content

Commit

Permalink
Modified additional makefiles to work on Taito
Browse files Browse the repository at this point in the history
Default libpng on taito was not working,
so I installed one in /appl/opt/libpng and created
the libpng module.
  • Loading branch information
Nortamo committed Jun 24, 2019
1 parent 72cbc7a commit 5e42966
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions heat/hybrid-openacc-data/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,9 @@ data movements between the host CPU and the GPU device.

To minimise data transfers between the host CPU and the GPU device, add data
movement directives that will only transfer data when needed.


## Modules to load
1. `pgi/19.1`
2. `openmpi/3.1.4`
3. `libpng/1.6`
2 changes: 1 addition & 1 deletion heat/hybrid-openacc-data/c/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ endif
ifeq ($(COMP),pgi)
CC=mpicc
CCFLAGS=-g -acc -O3 -ta=tesla,cuda10.0,kepler+ -I$(COMMONDIR)
LDFLAGS=
LDFLAGS=-L/homeappl/appl_taito/opt/libpng/lib
LIBS=-lpng
endif

Expand Down
2 changes: 1 addition & 1 deletion heat/hybrid-openacc-data/c/solution/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ endif
ifeq ($(COMP),pgi)
CC=mpicc
CCFLAGS=-g -acc -O3 -ta=tesla,cuda10.0,kepler+ -I$(COMMONDIR)
LDFLAGS=
LDFLAGS=-L/homeappl/appl_taito/opt/libpng/lib
LIBS=-lpng
endif

Expand Down
2 changes: 1 addition & 1 deletion heat/hybrid-openacc-data/fortran/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ FC=mpif90
CC=pgcc
FCFLAGS=-g -acc -O3 -ta=tesla,cuda10.0,kepler+
CCFLAGS=-g -acc -O3 -ta=tesla,cuda10.0,kepler+ -I$(COMMONDIR)
LDFLAGS=
LDFLAGS=-L/homeappl/appl_taito/opt/libpng/lib
LIBS=-lpng
endif

Expand Down
2 changes: 1 addition & 1 deletion heat/hybrid-openacc-data/fortran/solution/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ FC=mpifort
CC=pgcc
FCFLAGS=-g -acc -O3 -ta=tesla,cuda10.0,kepler+
CCFLAGS=-g -acc -O3 -ta=tesla,cuda10.0,kepler+ -I$(COMMONDIR)
LDFLAGS=
LDFLAGS=-L/homeappl/appl_taito/opt/libpng/lib
LIBS=-lpng
endif

Expand Down

0 comments on commit 5e42966

Please sign in to comment.