-
Notifications
You must be signed in to change notification settings - Fork 0
/
session.txt
76 lines (68 loc) · 2.9 KB
/
session.txt
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
Script started on Thu Dec 17 15:40:03 2020
[[email protected] ~/tbp-example]$ tcsh
[[email protected] ~/tbp-example]$ make clean
/bin/rm -f *.o *.mod *.smod tbp.exe
[[email protected] ~/tbp-example]$ make
xlf2008_r -qsmp=omp -qoffload -qtgtarch=auto -qcuda -Wx,-nvvm-compile-options=-opt=0 -c tbp.F90
** mod_domain === End of Compilation 1 ===
** mod_neptune_model === End of Compilation 2 ===
** mod_diffusion_driver === End of Compilation 3 ===
** tbp === End of Compilation 4 ===
1501-510 Compilation successful for file tbp.F90.
xlf2008_r -qsmp=omp -qoffload -qtgtarch=auto -qcuda -Wx,-nvvm-compile-options=-opt=0 -c tbp_submod.F90
** diffusion_submod === End of Compilation 1 ===
1501-510 Compilation successful for file tbp_submod.F90.
xlf2008_r -qsmp=omp -qoffload -qtgtarch=auto -qcuda -Wx,-nvvm-compile-options=-opt=0 -o tbp.exe tbp.o tbp_submod.o
[[email protected] ~/tbp-example]$ cat run.lsf
#!/bin/bash
# Begin LSF Directives
#BSUB -P CSC454
#BSUB -W 0:10
#BSUB -nnodes 1
#BSUB -alloc_flags gpumps
#BSUB -J jmtest
#BSUB -o jmtest.%J
#BSUB -e jmtest.%J
cd /ccs/home/michalak/tbp-example
date
#export XLSMPOPTS=target=mandatory
#mpirun -n 1 nsys profile --force-overwrite true -o tbp-profile --stats=true ./tbp.exe >& runlog
#mpirun -n 1 ./tbp.exe >& runlog
echo running job
jsrun -n1 -a1 -g1 ./tbp.exe >& runlog
echo done
[[email protected] ~/tbp-example]$ bsub run.lsf
Job <588616> is submitted to default queue <batch>.
[[email protected] ~/tbp-example]$ tail runlog
calling diffusion_driver
entering target region
1587-159 Missing Target for offloading after successful target offloading. The program will stop.
[[email protected] ~/tbp-example]$ make clean
/bin/rm -f *.o *.mod *.smod tbp.exe
[[email protected] ~/tbp-example]$ make WORKAROUND=-DWORKAROUND
xlf2008_r -qsmp=omp -qoffload -qtgtarch=auto -qcuda -Wx,-nvvm-compile-options=-opt=0 -DWORKAROUND -c tbp.F90
** mod_domain === End of Compilation 1 ===
** mod_neptune_model === End of Compilation 2 ===
** mod_diffusion_driver === End of Compilation 3 ===
** tbp === End of Compilation 4 ===
1501-510 Compilation successful for file tbp.F90.
xlf2008_r -qsmp=omp -qoffload -qtgtarch=auto -qcuda -Wx,-nvvm-compile-options=-opt=0 -DWORKAROUND -c tbp_submod.F90
** diffusion_submod === End of Compilation 1 ===
1501-510 Compilation successful for file tbp_submod.F90.
xlf2008_r -qsmp=omp -qoffload -qtgtarch=auto -qcuda -Wx,-nvvm-compile-options=-opt=0 -o tbp.exe tbp.o tbp_submod.o
[[email protected] ~/tbp-example]$ bsub run.lsf
Job <588629> is submitted to default queue <batch>.
[[email protected] ~/tbp-example]$ tail runlog
43 F 193 224
43 F 1 32
back from target region
back from diffusion_driver
0.200000002980232239
DONE
STOP
(INEXACT)
[[email protected] ~/tbp-example]$ exit
exit
[[email protected] ~/tbp-example]$ exit
exit
Script done on Thu Dec 17 15:47:01 2020