Skip to content

2020 Fujitsu (xmp_api) #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 89 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
89 commits
Select commit Hold shift + click to select a range
d1ed405
make NICAM-DC-MINI correspond to Fugaku
yoh-fujitsu Feb 22, 2021
4fe5a77
make NTCHEM-MINI correspond to Fugaku
yoh-fujitsu Feb 24, 2021
57b5af7
add configulation files and tests exec script for Intel PC with OpenB…
Mar 2, 2021
13f1a25
modify for Fugaku
yoh-fujitsu Mar 2, 2021
5c4f33b
Add configulation of MODYLAS-MINI for Fugaku
yoh-fujitsu Mar 2, 2021
e1adf48
Add configulation of CCS-QCD for Fugaku
yoh-fujitsu Mar 2, 2021
f1c254d
[WIP] XMP API conversion of CCS-QCD, add comlib.F90 as xmpAPI_comlib.F90
Mar 3, 2021
b05be8f
Modify to switch comlib.F90/xmpAPI_comlib.F90 according to USE_XMP_AP…
Mar 3, 2021
8095348
[WIP] Modify CCS-QCD xmp_api code
Mar 4, 2021
3dd0ba8
Add make_setting for XMP-API.
Mar 4, 2021
0b57782
add some configs for Fugaku
yoh-fujitsu Mar 4, 2021
5637132
Add 10 new files for XMP-API and update Makefile.
Mar 4, 2021
c2406f6
[WIP] modify 3 file.
tozaki-chisae Mar 4, 2021
82d5bee
Merge branch '2020fujitsu' of https://github.com/Fj-Riken-XMP/XMP-App…
tozaki-chisae Mar 4, 2021
9d24c1c
modify THIS_IMAGE() to XMP_THIS_IMAGE() in dd_mpi.F90
yoh-fujitsu Mar 4, 2021
8256b38
modify xmpAPI_comlib.F90 to use MPI subroutines instead of co_ function
Mar 5, 2021
19ab0c9
[WIP] Change coarray declaration of xmpAPI_fmodules.f to pointer.
Mar 5, 2021
eaf409e
[WIP] Change co_* routine to MPI routines in xmpAPI_parse_input.f.
Mar 5, 2021
e67d3f3
[WIP] Change sync all to xmp_sync_all routines.
Mar 5, 2021
46be8a4
[WIP] Update commentout.
Mar 5, 2021
222d544
[WIP] Add allocation routines of XMP-API to xmpAPI_domain_div.f.
Mar 5, 2021
6576bee
[WIP] Add mpi setting routines.
Mar 5, 2021
8baff62
[WIP] Update coarray option of make_setting.xmp_api.
Mar 5, 2021
baa0b73
[WIP] Add allocation routines of XMP-API to xmpAPI_comm.f.
Mar 5, 2021
829b305
Merge branch '2020fujitsu' of github.com:Fj-Riken-XMP/XMP-Application…
Mar 5, 2021
bbd0440
[WIP] modify 15 files.
tozaki-chisae Mar 5, 2021
5d16a70
[WIP] Add xmpAPI_* files for XMP-API.
Mar 5, 2021
6c4663a
[WIP] Change sync all to xmp_sync_all routine.
Mar 5, 2021
26a24a2
[WIP] Change co_* routines of 1 file to MPI routines.
Mar 5, 2021
42af544
[WIP] Add xmp_api code of NICAM-DC_MINI
yoh-fujitsu Mar 5, 2021
b8da756
Merge branch '2020fujitsu' of https://github.com/Fj-Riken-XMP/XMP-App…
yoh-fujitsu Mar 5, 2021
1c6bd8d
Modify function type definition
yoh-fujitsu Mar 6, 2021
04577c8
[WIP] Change coarray of 1 file to XMP-API routines.
Mar 5, 2021
565a182
[WIP] Update and add files for temporal running by xmp-api.
Mar 8, 2021
45b7b14
[WIP] Add temporarily configuration files.
Mar 8, 2021
7e034e3
Merge branch '2020fujitsu' of github.com:Fj-Riken-XMP/XMP-Application…
Mar 8, 2021
f6c8840
Add loc() routines to xmp_new_local_array arg.
Mar 8, 2021
ebf5cf0
[WIP] modify 5 files.
tozaki-chisae Mar 8, 2021
01a7388
Merge branch '2020fujitsu' of https://github.com/Fj-Riken-XMP/XMP-App…
tozaki-chisae Mar 8, 2021
d35bd8d
[WIP] Fix index size of coarray in xmpAPI_rimp2_tran3c2_incore_v_mpio…
Mar 8, 2021
34d1660
Merge branch '2020fujitsu' of github.com:Fj-Riken-XMP/XMP-Application…
Mar 8, 2021
68e33d3
[WIP] Add xmp_api codes
yoh-fujitsu Mar 8, 2021
7cbbcae
Merge branch '2020fujitsu' of https://github.com/Fj-Riken-XMP/XMP-App…
yoh-fujitsu Mar 8, 2021
103e723
Move xmp_new_local_array,xmp_new_array_section and xmp_free_array_sec…
Mar 8, 2021
217dbbe
Merge branch '2020fujitsu' of github.com:Fj-Riken-XMP/XMP-Application…
Mar 8, 2021
0ea8a4c
Rename file (typo)
yoh-fujitsu Mar 8, 2021
e173ca8
Merge branch '2020fujitsu' of https://github.com/Fj-Riken-XMP/XMP-App…
yoh-fujitsu Mar 8, 2021
51a29ac
[WIP] Modify for xmpAPI code
yoh-fujitsu Mar 8, 2021
55aa750
Modify with xmpAPI
yoh-fujitsu Mar 9, 2021
19f894c
modify POINTER type
yoh-fujitsu Mar 9, 2021
cd3c8aa
add xmpAPI configs for NICAM on Fugaku
yoh-fujitsu Mar 9, 2021
d325e8b
[WIP] modify 3 files.
tozaki-chisae Mar 9, 2021
8f3fa0f
Merge branch '2020fujitsu' of https://github.com/Fj-Riken-XMP/XMP-App…
tozaki-chisae Mar 9, 2021
c72be77
Modify POINTER type for xmpAPI of CCS-QCD
yoh-fujitsu Mar 9, 2021
067f39a
Modify ADM_COMM_RUN_WORLD on NICAM
yoh-fujitsu Mar 10, 2021
63f596a
[WIP] add xmpAPI files. (rename)
tozaki-chisae Mar 10, 2021
b020a7b
Merge branch '2020fujitsu' of https://github.com/Fj-Riken-XMP/XMP-App…
tozaki-chisae Mar 10, 2021
5aea15e
remove 2 files.
tozaki-chisae Mar 10, 2021
7b89972
add 1 file.
tozaki-chisae Mar 10, 2021
4212b91
add make_setting.xmpAPI_gcc
Mar 10, 2021
f437f67
[WIP] modify 15 files.
tozaki-chisae Mar 11, 2021
ad5be6c
Fix xmp-api local_put routine argments.
Mar 12, 2021
7df4c8a
Merge branch '2020fujitsu' of github.com:Fj-Riken-XMP/XMP-Application…
Mar 12, 2021
1df13b2
Add configure files for XMP-API in NTCHEM-MINI.
Mar 12, 2021
7e94692
modify around put_local
yoh-fujitsu Mar 12, 2021
11962bc
Merge branch '2020fujitsu' of https://github.com/Fj-Riken-XMP/XMP-App…
yoh-fujitsu Mar 12, 2021
fb6fb4d
[WIP] modify 1 file.
tozaki-chisae Mar 12, 2021
acf0ea3
Merge branch '2020fujitsu' of https://github.com/Fj-Riken-XMP/XMP-App…
tozaki-chisae Mar 12, 2021
8096f55
modify around coarray in NICAM
yoh-fujitsu Mar 12, 2021
bc0b06e
Merge branch '2020fujitsu' of https://github.com/Fj-Riken-XMP/XMP-App…
yoh-fujitsu Mar 12, 2021
5ca770a
Remove tmp file.
Mar 15, 2021
29d18a9
modify to use xmp_new_coarray_mem for coarray of characher(:)
yoh-fujitsu Mar 15, 2021
c041a1f
modify Mkjobshell of NICAM
yoh-fujitsu Mar 15, 2021
bd8bbaa
[WIP] Update make_setting file of NTCHEM for XMP-API.
Mar 16, 2021
7735d93
Update coarray to xmp-api in NTCHAM.
Mar 16, 2021
3a1fa63
[WIP] add 2 files and modify 4 files.
tozaki-chisae Mar 16, 2021
b375b69
Merge branch '2020fujitsu' of https://github.com/Fj-Riken-XMP/XMP-App…
tozaki-chisae Mar 16, 2021
aa10261
Fix xmp-api routines of MODYLAS.
Mar 16, 2021
7d9a4dd
Merge branch '2020fujitsu' of github.com:Fj-Riken-XMP/XMP-Application…
Mar 16, 2021
97a11cd
Fix xmp_api routines of MODYLAS.
Mar 18, 2021
8b2bdda
[WIP] modify 1 file.
tozaki-chisae Mar 18, 2021
93aa6a8
Modify Makefiles for xmpAPI FFB
yoh-fujitsu Mar 18, 2021
9fb27a0
Modify comment of NTCHEM.
Mar 19, 2021
2e299b1
modify Makefile of FFB for building coarray version
yoh-fujitsu Mar 19, 2021
2c34a41
Fix alloc & free processes of MODYLAS.
Mar 19, 2021
5b806f0
Merge branch '2020fujitsu' of github.com:Fj-Riken-XMP/XMP-Application…
Mar 19, 2021
6f726d3
modify 2 files.
tozaki-chisae Mar 19, 2021
3eb6b4b
Merge branch '2020fujitsu' of https://github.com/Fj-Riken-XMP/XMP-App…
tozaki-chisae Mar 19, 2021
e247947
change the default make_setting of FFT to xmp_gcc
Mar 19, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions CCS-QCD/src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@ FFLAGS += -D_NDIMX=$(PX) -D_NDIMY=$(PY) -D_NDIMZ=$(PZ)
endif
export
#######################################################################
SOURCE = ccs_qcd_solver_bench.F90 ccs_qcd_solver_bench_class.F90 lattice_class.F90 comlib.F90
ifeq ($(USE_XMP_API), yes)
COMLIB = xmpAPI_comlib
else
COMLIB = comlib
endif
SOURCE = ccs_qcd_solver_bench.F90 ccs_qcd_solver_bench_class.F90 lattice_class.F90 $(COMLIB).F90
CONFIG = CLASS_$(CLASS)/config.h
FFLAGS += -Ima_prof/src
LDFLAGS += -Lma_prof/src
Expand Down Expand Up @@ -46,14 +51,14 @@ clean :
$(MAKE) -C ma_prof/src clean

#######################################################################
comlib.o : comlib.F90 config.h
lattice_class.o : lattice_class.F90 comlib.o config.h
ccs_qcd_solver_bench_class.o : ccs_qcd_solver_bench_class.F90 comlib.o lattice_class.o config.h
$(COMLIB).o : $(COMLIB).F90 config.h
lattice_class.o : lattice_class.F90 $(COMLIB).o config.h
ccs_qcd_solver_bench_class.o : ccs_qcd_solver_bench_class.F90 $(COMLIB).o lattice_class.o config.h
ccs_qcd_solver_bench_class.o : bicgstab_hmc.h90 clover.h90 clover_f1f2.h90 clvinv.h90
ccs_qcd_solver_bench_class.o : clvinv_ldl.h90 copy_u.h90 copy_y.h90 expp_u.h90 full2linear_clv.h90 gauss_y.h90
ccs_qcd_solver_bench_class.o : init_p.h90 init_u_and_y.h90 initset.h90 mult.h90 mult_eo_tzyx.h90
ccs_qcd_solver_bench_class.o : mult_fclinv.h90 mult_mb_pre.h90 output.h90 xrand.h90
ccs_qcd_solver_bench.o : ccs_qcd_solver_bench.F90 comlib.o ccs_qcd_solver_bench_class.o lattice_class.o config.h
ccs_qcd_solver_bench.o : ccs_qcd_solver_bench.F90 $(COMLIB).o ccs_qcd_solver_bench_class.o lattice_class.o config.h

.PHONY: CONFIG_GEN
CONFIG_GEN:
Expand Down
4 changes: 2 additions & 2 deletions CCS-QCD/src/ma_prof/src/maprof_yaml.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ maprof_yaml_node maprof_yaml_str_node(const char *s)
node_t *n = (node_t *)malloc(sizeof(node_t));
n->type = SCALAR;
n->data.scalar.type = STRING;
n->data.scalar.value.str = strdup(s);
n->data.scalar.value.str = (!s ? NULL : strdup(s));
return n;
}

Expand Down Expand Up @@ -150,7 +150,7 @@ void maprof_yaml_add_map_item(maprof_yaml_node map, const char *name, maprof_yam

map_end = map->data.mapping.end;
map_new = (map_item_t *)malloc(sizeof(map_item_t));
map_new->name = strdup(name);
map_new->name = (!name ? NULL : strdup(name));
map_new->node = node;
map_new->next = NULL;
if (map_end == NULL) {
Expand Down
30 changes: 30 additions & 0 deletions CCS-QCD/src/make.xmpAPI_Fugaku.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
#$Id: make.inc,v 1.1 2009/12/02 10:24:37 ishikawa Exp $

REVISION = -D_REVISION_='"$(shell cat .svnrevision)"'

#
# specify Fortran90 MPI compiler FC, compiler options FFLAGS and linker options LDFLAGS
#
USE_XMP_API = yes
OMNI_HOME = $(shell xmpcc --show-env | grep OMNI_HOME | sed -e 's/OMNI_HOME=//' -e 's/"//g')
OMNI_INC = -I$(OMNI_HOME)/include
OMNI_LIB = $(shell xmpcc --show-env | grep OMNI_LINKER_OPT | sed -e 's/OMNI_LINKER_OPT=//' -e 's/"//g')

FC = mpifrtpx
FFLAGS = -cpp -Kfast,openmp -KXFILL -Kprefetch_sequential=soft

CC = mpifccpx

LDFLAGS = $(FFLAGS)
LIBS = $(OMNI_LIB)

MPIINC = /opt/FJSVxtclanga/tcsds-1.2.30a/include/mpi/fujitsu
INCLUDE = -I./ $(OMNI_INC)

#.F90.o :

#%.mod : %.F90
# $(FC) $(FFLAGS) $(REVISION) $(INCLUDE) -c $<

#%.o : %.F90
# $(FC) $(FFLAGS) $(REVISION) $(INCLUDE) -c $<
22 changes: 22 additions & 0 deletions CCS-QCD/src/make.xmpAPI_gfortran.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#$Id: make.inc,v 1.1 2009/12/02 10:24:37 ishikawa Exp $

REVISION = -D_REVISION_='"$(shell cat .svnrevision)"'

#
# specify Fortran90 MPI compiler FC, compiler options FFLAGS and linker options LDFLAGS
#

# example: GNU gfortran, OpenMP enabled.
USE_XMP_API = yes
OMNI_HOME = $(shell xmpcc --show-env | grep OMNI_HOME | sed -e 's/OMNI_HOME=//' -e 's/"//g')
OMNI_INC = -I$(OMNI_HOME)/include
OMNI_LIB = $(shell xmpcc --show-env | grep OMNI_LINKER_OPT | sed -e 's/OMNI_LINKER_OPT=//' -e 's/"//g')

FC = mpif90
CC = mpicc
FFLAGS = -cpp -O2 -ffixed-line-length-132 -march=native -g -fopenmp -mcmodel=medium -funderscoring \
$(OMNI_INC)
LDFLAGS = $(FFLAGS)
LIBS = $(OMNI_LIB)

INCLUDE = -I./ $(OMNI_INC)
27 changes: 27 additions & 0 deletions CCS-QCD/src/make.xmp_Fugaku.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#$Id: make.inc,v 1.1 2009/12/02 10:24:37 ishikawa Exp $

REVISION = -D_REVISION_='"$(shell cat .svnrevision)"'

#
# specify Fortran90 MPI compiler FC, compiler options FFLAGS and linker options LDFLAGS
#

FC = xmpf90
FFLAGS = -cpp -omp -Kfast,openmp -KXFILL -Kprefetch_sequential=soft

CC = mpifccpx

LDFLAGS = $(FFLAGS)

#LIBS =

MPIINC = /opt/FJSVxtclanga/tcsds-1.2.30a/include/mpi/fujitsu
INCLUDE = -I./ -I$(MPIINC)

#.F90.o :

#%.mod : %.F90
# $(FC) $(FFLAGS) $(REVISION) $(INCLUDE) -c $<

#%.o : %.F90
# $(FC) $(FFLAGS) $(REVISION) $(INCLUDE) -c $<
Loading