-
Notifications
You must be signed in to change notification settings - Fork 2
/
run_particle_call_fun.scmc
36 lines (34 loc) · 1.04 KB
/
run_particle_call_fun.scmc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
;pic_helper.scmc general_macros.scmc paravec.scmc pscmc_config_runtime.ss
(eval-scmc-global (begin (load "pscmc_config_runtime.ss") '()))
(include< "stdio.h")
(include< "stdlib.h")
(input-scmc "paravec.scmc")
(input-scmc "general_macros.scmc")
(input-all-pscmc-struct)
(input-all-kernel-and-rt)
(include< "math.h")
(include- "blas_shell.h")
(include< "cgapsio.h")
(include- "mpi_fieldio.h")
(include- "cfgcst.h")
(include- "call_curl_kernel.h")
(include- "run_particle.h")
(include- "sync_fields.h")
(include- "run_particle.h")
(dec-fun wclk_now double ())
(eval-scmc-global
(begin
(load "pic_helper.scmc")
;(write runtimes current-error-port) (newline current-error-port)
`(begin
,(begin-map call-fun-geo-rel (map car runtimes))
,(call-fun-seq-mpi-geo-rel)
,(begin-map call-fun-rel (map car runtimes))
,(call-fun-seq-mpi-rel)
,(begin-map call-fun-krook (map car runtimes))
,(call-fun-seq-mpi-krook)
,(begin-map call-fun-boris (map car runtimes))
,(call-fun-seq-mpi-boris)
)
)
)