File: gcc

package info (click to toggle)
devicexlib 0.8.6-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 10,364 kB
  • sloc: f90: 77,678; sh: 3,701; fortran: 773; makefile: 268; python: 246; ansic: 69; awk: 36
file content (115 lines) | stat: -rw-r--r-- 3,887 bytes parent folder | download
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115


# GCC 10.3.0 OpenACC
module purge
module load cuda/11.0
module load gnu/10.3.0
module load spectrum_mpi/10.4.0--binary

./configure \
    F90=gfortran MPIF90=mpif90 \
    --enable-parallel \
    --enable-openacc \
    --enable-cublas=yes \
    --with-cuda-cc=70 \
    --with-cuda-runtime=11.0 \
    --with-cuda-path=$CUDA_HOME

# eeeeeeeeeeeeeeeeeeeeeeeeeeee
mpif90 -O3 -g -fallow-argument-mismatch -cpp -D__DXL_OPENACC -D__DXL_CUBLAS -D__MPI  -fopenacc -I./ -I/m100/home/userexternal/nspallan/src/devicexlib-gnu//include -I../include/  -c devxlib_auxfunc_conjg.f90
devxlib_auxfunc_conjg.f90:2224:33:

 2224 |             !DEV_ACC data deviceptr(ptr_inout)
      |                                 1
Error: POINTER object ‘ptr_inout’ in MAP clause at (1)
devxlib_auxfunc_conjg.f90:2249:33:

 2249 |             !DEV_ACC data deviceptr(ptr_inout)
      |                                 1
Error: POINTER object ‘ptr_inout’ in MAP clause at (1)

[...]

make[1]: *** [../make.inc:16: devxlib_auxfunc_conjg.o] Error 1
make[1]: Leaving directory '/m100/home/userexternal/nspallan/src/devicexlib-gnu/src'
make: *** [Makefile:74: libsrc] Error 2
# eeeeeeeeeeeeeeeeeeeeeeeeeeee


# GCC 11.2.0 OpenACC
module purge
module load profile/candidate
module load cuda/11.6
module load gnu/11.2.0
module load spectrum_mpi/10.4.0--binary

./configure \
    F90=gfortran MPIF90=mpif90 \
    --enable-parallel \
    --enable-openacc \
    --enable-cublas=yes \
    --with-cuda-cc=70 \
    --with-cuda-runtime=11.6 \
    --with-cuda-path=$CUDA_HOME

# eeeeeeeeeeeeeeeeeeeeeeeeeeee
mpif90 -O3 -g -fallow-argument-mismatch -cpp -D__DXL_OPENACC -D__DXL_CUBLAS -D__MPI  -fopenacc -I./ -I/m100/home/userexternal/nspallan/src/devicexlib-gnu//include -I../include/  -c devxlib_cublas.f90

in gfc_format_decoder, at fortran/error.c:970
0x1027d33f gfc_format_decoder
	../../gnu-11.2.0/gcc/fortran/error.c:970
0x116cc843 pp_format(pretty_printer*, text_info*)
	../../gnu-11.2.0/gcc/pretty-print.c:1475
0x116bae87 diagnostic_report_diagnostic(diagnostic_context*, diagnostic_info*)
	../../gnu-11.2.0/gcc/diagnostic.c:1244
0x1027cfb7 gfc_report_diagnostic
	../../gnu-11.2.0/gcc/fortran/error.c:782
0x1027cfb7 gfc_warning
	../../gnu-11.2.0/gcc/fortran/error.c:815
0x1027d59b gfc_error_opt
	../../gnu-11.2.0/gcc/fortran/error.c:1319
0x1027f2cf gfc_error(char const*, ...)
	../../gnu-11.2.0/gcc/fortran/error.c:1381
0x1035facb ambiguous_symbol
	../../gnu-11.2.0/gcc/fortran/symbol.c:3159
0x1036b28f gfc_find_sym_tree(char const*, gfc_namespace*, int, gfc_symtree**)
	../../gnu-11.2.0/gcc/fortran/symbol.c:3232
0x1036b2e3 gfc_find_symbol(char const*, gfc_namespace*, int, gfc_symbol**)
	../../gnu-11.2.0/gcc/fortran/symbol.c:3283
0x104344b3 check_against_globals
	../../gnu-11.2.0/gcc/fortran/frontend-passes.c:5809
0x1035f8a3 do_traverse_symtree
	../../gnu-11.2.0/gcc/fortran/symbol.c:4170
0x1043e003 gfc_check_externals(gfc_namespace*)
	../../gnu-11.2.0/gcc/fortran/frontend-passes.c:5855
0x1030d013 gfc_parse_file()
	../../gnu-11.2.0/gcc/fortran/parse.c:6572
0x1037f33f gfc_be_parse_file
	../../gnu-11.2.0/gcc/fortran/f95-lang.c:212
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
make[1]: *** [../make.inc:16: devxlib_cublas.o] Error 1
make[1]: Leaving directory '/m100/home/userexternal/nspallan/src/devicexlib-gnu/src'
make: *** [Makefile:74: libsrc] Error 2
# eeeeeeeeeeeeeeeeeeeeeeeeeeee


# GCC 12.1.0 OpenACC
spack unload --all
module purge
module load cuda/11.3
spack load gcc@12.1.0 
spack load openblas %gcc@12.1.0 
module load spectrum_mpi/10.4.0--binary 

./configure \
    F90=gfortran MPIF90=mpif90 \
    --enable-parallel \
    --enable-openacc \
    --enable-cublas=yes \
    --with-cuda-cc=70 \
    --with-cuda-runtime=11.3 \
    --with-cuda-path=$CUDA_HOME