Skip to content

Commit d8e3cba

Browse files
Merging_kernels_end_day2
1 parent 7a5a04a commit d8e3cba

File tree

10 files changed

+129
-111
lines changed

10 files changed

+129
-111
lines changed

cuDecomp

make_lib_git.sh

100644100755
File mode changed.

make_lib_leo.sh

100644100755
File mode changed.

make_lib_local.sh

100644100755
File mode changed.

make_lib_mn5.sh

100644100755
File mode changed.

multi/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ EXTRA_DIR = /leonardo/prod/opt/compilers/cuda/12.3/none/compat
1414
export $(CUDECOMP_DIR)/lib
1515

1616
# Compiler and Linker Flags
17-
FFLAGS = -fast -acc -gpu=managed -Mfree -Mpreprocess -cpp -cuda -I$(CUDECOMP_DIR)/include/
17+
FFLAGS = -fast -acc -gpu=mem:managed -Minfo=accel -Mfree -Mpreprocess -cpp -cuda -I$(CUDECOMP_DIR)/include/
1818
LIBS = -L$(CUDECOMP_DIR)/lib/ -L$(CUDA_DIR)/lib64/ -lcudecomp_fort -lcudecomp -cudalib=cufft -lnvToolsExt
1919

2020
# Source and Object Files

multi/binder.sh

100644100755
File mode changed.

multi/input.inp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
0 ! fresh start=0 restart =1
22
0 ! iteration to start from (fresh start 0 otherwise different)
3-
100000 ! Final time step
3+
10 ! Final time step
44
100000 ! Saving frequency
55
0 ! inflow condition (0=Taylor green, 1=read from fields)
66
0 ! phase-field initial condition (0=circular drop, 1=read from fields)

multi/main.f90

100755100644
Lines changed: 124 additions & 106 deletions
Large diffs are not rendered by default.

multi/module.f90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ end module velocity
5555

5656

5757
module phase
58-
double precision, allocatable :: phi(:,:,:), rhsphi(:,:,:), psidi(:,:,:)
58+
double precision, allocatable :: phi(:,:,:), rhsphi(:,:,:), psidi(:,:,:), tanh_psi(:,:,:)
5959
double precision, allocatable :: normx(:,:,:), normy(:,:,:), normz(:,:,:)
60-
double precision, allocatable :: chempot(:,:,:), gradphix(:,:,:), gradphiy(:,:,:), gradphiz(:,:,:)
60+
double precision :: chempot, gradphix, gradphiy, gradphiz
6161
double precision, allocatable :: fxst(:,:,:), fyst(:,:,:), fzst(:,:,:)
6262
end module phase
6363

0 commit comments

Comments
 (0)