Hi Mat,
Thank you for your reply!
Here are what I did:
- I cloned Nekbone repository, switched to “cuda-openacc” branch, then did some modifications according to my system.
diff --git a/src/makefile.template b/src/makefile.template
index 7dc50fc..dfb9ff0 100755
--- a/src/makefile.template
+++ b/src/makefile.template
@@ -88,16 +88,16 @@ L2=$(G) -O2
L3=$(G) -O3
L4=$(L3)
-FL0 = $(L0) $(P) $(PPS_F) -I$(CASEDIR) -I$S -I$(OPT_INCDIR)
-FL2i4 = $(L0) $(PPS_F) -I$(CASEDIR) -I$S -I$(OPT_INCDIR)
-FL2 = $(L2) $(P) $(PPS_F) -I$(CASEDIR) -I$S -I$(OPT_INCDIR)
-FL3 = $(L3) $(P) $(PPS_F) -I$(CASEDIR) -I$S -I$(OPT_INCDIR)
-FL4 = $(L4) $(P) $(PPS_F) -I$(CASEDIR) -I$S -I$(OPT_INCDIR)
-
-cFL0 = $(L0) $(PPS_C)
-cFL2 = $(L2) $(PPS_C)
-cFL3 = $(L3) $(PPS_C)
-cFL4 = $(L4) $(PPS_C)
+FL0 = $(L0) $(P) $(PPS_F) -I$(CASEDIR) -I$S -I$(OPT_INCDIR) -I/vol/.openmpi/include
+FL2i4 = $(L0) $(PPS_F) -I$(CASEDIR) -I$S -I$(OPT_INCDIR) -I/vol/.openmpi/include
+FL2 = $(L2) $(P) $(PPS_F) -I$(CASEDIR) -I$S -I$(OPT_INCDIR) -I/vol/.openmpi/include
+FL3 = $(L3) $(P) $(PPS_F) -I$(CASEDIR) -I$S -I$(OPT_INCDIR) -I/vol/.openmpi/include
+FL4 = $(L4) $(P) $(PPS_F) -I$(CASEDIR) -I$S -I$(OPT_INCDIR) -I/vol/.openmpi/include
+
+cFL0 = $(L0) $(PPS_C) -std=c++11 -I/vol/.openmpi/include
+cFL2 = $(L2) $(PPS_C) -std=c++11 -I/vol/.openmpi/include
+cFL3 = $(L3) $(PPS_C) -std=c++11 -I/vol/.openmpi/include
+cFL4 = $(L4) $(PPS_C) -std=c++11 -I/vol/.openmpi/include
################################################################################
all : nekbone
diff --git a/test/nek_gpu1/makenek.cuda b/test/nek_gpu1/makenek.cuda
index 6545794..0d3e77e 100755
--- a/test/nek_gpu1/makenek.cuda
+++ b/test/nek_gpu1/makenek.cuda
@@ -7,10 +7,12 @@
SOURCE_ROOT="../../src"
# Fortran compiler
-F77="mpif90"
+#F77="mpif90"
+F77="pgfortran"
# C compiler
-CC="mpicc"
+#CC="mpicc"
+CC="pgc++"
# pre-processor symbol list
# (set PPLIST=? to get a list of available symbols)
@@ -30,10 +32,12 @@ CC="mpicc"
#USR="foo.o"
# linking flags
-USR_LFLAGS="-Mcuda=cc50,cc60 -ta=nvidia:cc50,cc60"
+#USR_LFLAGS="-Mcuda=cc50,cc60 -ta=nvidia:cc50,cc60"
+USR_LFLAGS="-Mcuda=cc70 -ta=nvidia:cc70"
# generic compiler flags
-G="-acc -Minfo=accel -Mcuda=cc50,cc60 -ta=nvidia:cc50,cc60"
+#G="-acc -Minfo=accel -Mcuda=cc50,cc60 -ta=nvidia:cc50,cc60"
+G="-acc -Minfo=accel -Mcuda=cc70 -ta=nvidia:cc70"
# optimization flags
#OPT_FLAGS_STD=""
- Then under the the folder, test/nek_gpu1, executed the script, maknedk.cuda.
It gave me the following output:
pgfortran -c -acc -Minfo=accel -Mcuda=cc70 -ta=nvidia:cc70 -O3 -r8 -Mpreprocess -Mfixed -DPTRSIZE8 -DMPI -DLONGINT8 -DUNDERSCORE -DGLOBAL_LONG_LONG -I/vol/Nekbone/test/nek_gpu1 -I/vol/Nekbone/src -I./ -I/vol/.openmpi/include /vol/Nekbone/src/cg.f -o obj/cg.o
ax_acc:
421, Generating present(ut(:,:,:,:),gxyz(:,:,:,:,:),dxtm1(:,:),u(:,:,:,:),ur(:,:,:,:),us(:,:,:,:),wk(:,:,:,:),w(:,:,:,:),dxm1(:,:))
cg_acc:
570, Generating present(wk(:,:,:,:),c(:),p(:,:,:,:),ut(:,:,:,:),g(:,:),z(:),x(:),r(:),ur(:,:,:,:),us(:,:,:,:),w(:))
574, Generating update device(cmask(:),c(:),r(:),p(:,:,:,:))
maskit_acc:
636, Generating present(w(:),pmask(:))
640, Accelerator kernel generated
Generating Tesla code
641, !$acc loop gang, vector(128) ! blockidx%x threadidx%x
pgfortran -c -acc -Minfo=accel -Mcuda=cc70 -ta=nvidia:cc70 -O2 -r8 -Mpreprocess -Mfixed -DPTRSIZE8 -DMPI -DLONGINT8 -DUNDERSCORE -DGLOBAL_LONG_LONG -I/vol/Nekbone/test/nek_gpu1 -I/vol/Nekbone/src -I./ -I/vol/.openmpi/include /vol/Nekbone/src/driver.f -o obj/driver.o
nekbone:
54, Generating create(wk(:,:,:,:),dxtm1(:,:),p(:,:,:,:),ut(:,:,:,:),ids_ptr(:),z(:),x(:),ug(:),ur(:,:,:,:),us(:,:,:,:),w(:),r(:),f(:),cmask(:),dxm1(:,:),c(:),g(:,:),ids_lgl1(:),ids_lgl2(:))
66, Generating update device(ids_lgl2(:),ids_lgl1(:),ids_ptr(:))
73, Generating update device(dxm1(:,:),g(:,:),dxtm1(:,:))
set_multiplicity_acc:
583, Generating present(c(:))
589, Accelerator kernel generated
Generating Tesla code
590, !$acc loop gang, vector(128) ! blockidx%x threadidx%x
set_f_acc:
603, Generating present(c(:),f(:))
604, Accelerator kernel generated
Generating Tesla code
605, !$acc loop gang, vector(128) ! blockidx%x threadidx%x
pgfortran -c -acc -Minfo=accel -Mcuda=cc70 -ta=nvidia:cc70 -O3 -r8 -Mpreprocess -Mfixed -DPTRSIZE8 -DMPI -DLONGINT8 -DUNDERSCORE -DGLOBAL_LONG_LONG -I/vol/Nekbone/test/nek_gpu1 -I/vol/Nekbone/src -I./ -I/vol/.openmpi/include /vol/Nekbone/src/math.f -o obj/math.o
rzero_acc:
1391, Generating present(a(:n))
1392, Accelerator kernel generated
Generating Tesla code
1393, !$acc loop gang, vector(128) ! blockidx%x threadidx%x
rone_acc:
1405, Generating present(a(:n))
1406, Accelerator kernel generated
Generating Tesla code
1407, !$acc loop gang, vector(128) ! blockidx%x threadidx%x
copy_acc:
1419, Generating present(a(:n),b(:n))
1420, Accelerator kernel generated
Generating Tesla code
1421, !$acc loop gang, vector(128) ! blockidx%x threadidx%x
glsc3_acc:
1439, Generating present(a(:n),b(:n),mult(:n))
1440, Accelerator kernel generated
Generating Tesla code
1440, Generating reduction(+:tmp)
1441, !$acc loop gang, vector(128) ! blockidx%x threadidx%x
1440, Generating implicit copy(tmp)
add2s1_acc:
1455, Generating present(a(:n),b(:n))
1456, Accelerator kernel generated
Generating Tesla code
1457, !$acc loop gang, vector(128) ! blockidx%x threadidx%x
add2s2_acc:
1469, Generating present(a(:n),b(:n))
1470, Accelerator kernel generated
Generating Tesla code
1471, !$acc loop gang, vector(128) ! blockidx%x threadidx%x
vlsum_acc:
1486, Generating present(vec(:n))
1487, Accelerator kernel generated
Generating Tesla code
1487, Generating reduction(+:sum)
1488, !$acc loop gang, vector(128) ! blockidx%x threadidx%x
1487, Generating implicit copy(sum)
col2_acc:
1504, Generating present(a(:),b(:))
1506, Accelerator kernel generated
Generating Tesla code
1507, !$acc loop gang, vector(128) ! blockidx%x threadidx%x
pgfortran -c -acc -Minfo=accel -Mcuda=cc70 -ta=nvidia:cc70 -O2 -r8 -Mpreprocess -Mfixed -DPTRSIZE8 -DMPI -DLONGINT8 -DUNDERSCORE -DGLOBAL_LONG_LONG -I/vol/Nekbone/test/nek_gpu1 -I/vol/Nekbone/src -I./ -I/vol/.openmpi/include /vol/Nekbone/src/mxm_wrapper.f -o obj/mxm_wrapper.o
pgfortran -c -acc -Minfo=accel -Mcuda=cc70 -ta=nvidia:cc70 -O2 -r8 -Mpreprocess -Mfixed -DPTRSIZE8 -DMPI -DLONGINT8 -DUNDERSCORE -DGLOBAL_LONG_LONG -I/vol/Nekbone/test/nek_gpu1 -I/vol/Nekbone/src -I./ -I/vol/.openmpi/include /vol/Nekbone/src/prox_dssum.f -o obj/prox_dssum.o
PGF90-W-0119-Redundant specification for ug (/vol/Nekbone/src/prox_dssum.f: 438)
0 inform, 1 warnings, 0 severes, 0 fatal for dssum_acc
dssum_acc:
450, Generating present(ids_lgl1(:),ids_ptr(:nglobl+1),u(:),ug(:nglobl))
454, Accelerator kernel generated
Generating Tesla code
455, !$acc loop gang, vector(128) ! blockidx%x threadidx%x
459, !$acc loop seq
459, Complex loop carried dependence of ug prevents parallelization
Loop carried reuse of ug prevents parallelization
469, Generating update self(ug(:n_nonlocal))
473, Generating update device(ug(:n_nonlocal))
476, Accelerator kernel generated
Generating Tesla code
477, !$acc loop gang, vector(128) ! blockidx%x threadidx%x
480, !$acc loop seq
480, Loop carried reuse of u prevents parallelization
dssum2_acc:
570, Generating present(u(:))
pgfortran -c -acc -Minfo=accel -Mcuda=cc70 -ta=nvidia:cc70 -O3 -r8 -Mpreprocess -Mfixed -DPTRSIZE8 -DMPI -DLONGINT8 -DUNDERSCORE -DGLOBAL_LONG_LONG -I/vol/Nekbone/test/nek_gpu1 -I/vol/Nekbone/src -I./ -I/vol/.openmpi/include /vol/Nekbone/src/prox_setup.f -o obj/prox_setup.o
pgfortran -c -acc -Minfo=accel -Mcuda=cc70 -ta=nvidia:cc70 -O3 -r8 -Mpreprocess -Mfixed -DPTRSIZE8 -DMPI -DLONGINT8 -DUNDERSCORE -DGLOBAL_LONG_LONG -I/vol/Nekbone/test/nek_gpu1 -I/vol/Nekbone/src -I./ -I/vol/.openmpi/include /vol/Nekbone/src/semhat.f -o obj/semhat.o
pgfortran -c -acc -Minfo=accel -Mcuda=cc70 -ta=nvidia:cc70 -O2 -r8 -Mpreprocess -Mfixed -DPTRSIZE8 -DMPI -DLONGINT8 -DUNDERSCORE -DGLOBAL_LONG_LONG -I/vol/Nekbone/test/nek_gpu1 -I/vol/Nekbone/src -I./ -I/vol/.openmpi/include /vol/Nekbone/src/speclib.f -o obj/speclib.o
pgfortran -c -acc -Minfo=accel -Mcuda=cc70 -ta=nvidia:cc70 -O2 -r8 -Mpreprocess -Mfixed -DPTRSIZE8 -DMPI -DLONGINT8 -DUNDERSCORE -DGLOBAL_LONG_LONG -I/vol/Nekbone/test/nek_gpu1 -I/vol/Nekbone/src -I./ -I/vol/.openmpi/include /vol/Nekbone/src/delay_dum.f -o obj/delay_dum.o
pgfortran -c -acc -Minfo=accel -Mcuda=cc70 -ta=nvidia:cc70 -O2 -r8 -Mpreprocess -Mfixed -DPTRSIZE8 -DMPI -DLONGINT8 -DUNDERSCORE -DGLOBAL_LONG_LONG -I/vol/Nekbone/test/nek_gpu1 -I/vol/Nekbone/src -I./ -I/vol/.openmpi/include /vol/Nekbone/src/hsmg_dum.f -o obj/hsmg_dum.o
pgfortran -c -acc -Minfo=accel -Mcuda=cc70 -ta=nvidia:cc70 -O3 -r8 -Mpreprocess -Mfixed -DPTRSIZE8 -DMPI -DLONGINT8 -DUNDERSCORE -DGLOBAL_LONG_LONG -I/vol/Nekbone/test/nek_gpu1 -I/vol/Nekbone/src -I./ -I/vol/.openmpi/include /vol/Nekbone/src/ax_cuda.f -o obj/ax_cuda.o
pgfortran -c -acc -Minfo=accel -Mcuda=cc70 -ta=nvidia:cc70 -O2 -r8 -Mpreprocess -Mfixed -DPTRSIZE8 -DMPI -DLONGINT8 -DUNDERSCORE -DGLOBAL_LONG_LONG -I/vol/Nekbone/test/nek_gpu1 -I/vol/Nekbone/src -I./ -I/vol/.openmpi/include /vol/Nekbone/src/comm_mpi.f -o obj/comm_mpi.o
pgfortran -c -acc -Minfo=accel -Mcuda=cc70 -ta=nvidia:cc70 -O3 -r8 -Mpreprocess -Mfixed -DPTRSIZE8 -DMPI -DLONGINT8 -DUNDERSCORE -DGLOBAL_LONG_LONG -I/vol/Nekbone/test/nek_gpu1 -I/vol/Nekbone/src -I./ -I/vol/.openmpi/include /vol/Nekbone/src/mxm_std.f -o obj/mxm_std.o
pgfortran -c -acc -Minfo=accel -Mcuda=cc70 -ta=nvidia:cc70 -O0 -DPTRSIZE8 -DMPI -DLONGINT8 -DUNDERSCORE -DGLOBAL_LONG_LONG -I/vol/Nekbone/test/nek_gpu1 -I/vol/Nekbone/src -I./ -I/vol/.openmpi/include /vol/Nekbone/src/blas.f -o obj/blas.o
pgc++ -c -acc -Minfo=accel -Mcuda=cc70 -ta=nvidia:cc70 -O2 -DPTRSIZE8 -DMPI -DLONGINT8 -DUNDERSCORE -DGLOBAL_LONG_LONG -std=c++11 -I/vol/.openmpi/include -DPREFIX=jl_ /vol/Nekbone/src/jl/gs.c -o obj/jl_gs.o
"/usr/include/c++/5/iosfwd", line 147: error: basic_stringbuf is not a template
typedef basic_stringbuf<char> stringbuf;
^
"/usr/include/c++/5/iosfwd", line 150: error: basic_istringstream is not a
template
typedef basic_istringstream<char> istringstream;
^
"/usr/include/c++/5/iosfwd", line 153: error: basic_ostringstream is not a
template
typedef basic_ostringstream<char> ostringstream;
^
"/usr/include/c++/5/iosfwd", line 156: error: basic_stringstream is not a
template
typedef basic_stringstream<char> stringstream;
^
"/usr/include/c++/5/iosfwd", line 187: error: basic_stringbuf is not a template
typedef basic_stringbuf<wchar_t> wstringbuf;
^
"/usr/include/c++/5/iosfwd", line 190: error: basic_istringstream is not a
template
typedef basic_istringstream<wchar_t> wistringstream;
^
"/usr/include/c++/5/iosfwd", line 193: error: basic_ostringstream is not a
template
typedef basic_ostringstream<wchar_t> wostringstream;
^
"/usr/include/c++/5/iosfwd", line 196: error: basic_stringstream is not a
template
typedef basic_stringstream<wchar_t> wstringstream;
^
"/usr/include/c++/5/bits/basic_string.h", line 4782: error: basic_string is not
a template
basic_string<_CharT, _Traits, _Alloc>
^
"/usr/include/c++/5/bits/basic_string.h", line 4783: error: basic_string is not
a template
operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^
"/usr/include/c++/5/bits/basic_string.h", line 4784: error: basic_string is not
a template
const basic_string<_CharT, _Traits, _Alloc>& __rhs)
^
"/usr/include/c++/5/bits/basic_string.h", line 4783: error: nonmember operator
requires a parameter with class or enum type
operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^
"/usr/include/c++/5/bits/basic_string.h", line 4798: error: basic_string is not
a template
basic_string<_CharT,_Traits,_Alloc>
^
"/usr/include/c++/5/bits/basic_string.h", line 4800: error: basic_string is not
a template
const basic_string<_CharT,_Traits,_Alloc>& __rhs);
^
"/usr/include/c++/5/bits/basic_string.h", line 4799: error: nonmember operator
requires a parameter with class or enum type
operator+(const _CharT* __lhs,
^
"/usr/include/c++/5/bits/basic_string.h", line 4809: error: basic_string is not
a template
basic_string<_CharT,_Traits,_Alloc>
^
"/usr/include/c++/5/bits/basic_string.h", line 4810: error: basic_string is not
a template
operator+(_CharT __lhs, const basic_string<_CharT,_Traits,_Alloc>& __rhs);
^
"/usr/include/c++/5/bits/basic_string.h", line 4819: error: basic_string is not
a template
inline basic_string<_CharT, _Traits, _Alloc>
^
"/usr/include/c++/5/bits/basic_string.h", line 4820: error: basic_string is not
a template
operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^
"/usr/include/c++/5/bits/basic_string.h", line 4820: error: nonmember operator
requires a parameter with class or enum type
operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^
"/usr/include/c++/5/bits/basic_string.h", line 4835: error: basic_string is not
a template
inline basic_string<_CharT, _Traits, _Alloc>
^
"/usr/include/c++/5/bits/basic_string.h", line 4836: error: basic_string is not
a template
operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs, _CharT __rhs)
^
"/usr/include/c++/5/bits/basic_string.h", line 4847: error: basic_string is not
a template
inline basic_string<_CharT, _Traits, _Alloc>
^
"/usr/include/c++/5/bits/basic_string.h", line 4848: error: basic_string is not
a template
operator+(basic_string<_CharT, _Traits, _Alloc>&& __lhs,
^
"/usr/include/c++/5/bits/basic_string.h", line 4849: error: basic_string is not
a template
const basic_string<_CharT, _Traits, _Alloc>& __rhs)
^
"/usr/include/c++/5/bits/basic_string.h", line 4848: error: nonmember operator
requires a parameter with class or enum type
operator+(basic_string<_CharT, _Traits, _Alloc>&& __lhs,
^
"/usr/include/c++/5/bits/basic_string.h", line 4853: error: basic_string is not
a template
inline basic_string<_CharT, _Traits, _Alloc>
^
"/usr/include/c++/5/bits/basic_string.h", line 4854: error: basic_string is not
a template
operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^
"/usr/include/c++/5/bits/basic_string.h", line 4855: error: basic_string is not
a template
basic_string<_CharT, _Traits, _Alloc>&& __rhs)
^
"/usr/include/c++/5/bits/basic_string.h", line 4854: error: nonmember operator
requires a parameter with class or enum type
operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^
"/usr/include/c++/5/bits/basic_string.h", line 4859: error: basic_string is not
a template
inline basic_string<_CharT, _Traits, _Alloc>
^
"/usr/include/c++/5/bits/basic_string.h", line 4860: error: basic_string is not
a template
operator+(basic_string<_CharT, _Traits, _Alloc>&& __lhs,
^
"/usr/include/c++/5/bits/basic_string.h", line 4861: error: basic_string is not
a template
basic_string<_CharT, _Traits, _Alloc>&& __rhs)
^
"/usr/include/c++/5/bits/basic_string.h", line 4860: error: nonmember operator
requires a parameter with class or enum type
operator+(basic_string<_CharT, _Traits, _Alloc>&& __lhs,
^
"/usr/include/c++/5/bits/basic_string.h", line 4871: error: basic_string is not
a template
inline basic_string<_CharT, _Traits, _Alloc>
^
"/usr/include/c++/5/bits/basic_string.h", line 4873: error: basic_string is not
a template
basic_string<_CharT, _Traits, _Alloc>&& __rhs)
^
"/usr/include/c++/5/bits/basic_string.h", line 4872: error: nonmember operator
requires a parameter with class or enum type
operator+(const _CharT* __lhs,
^
"/usr/include/c++/5/bits/basic_string.h", line 4877: error: basic_string is not
a template
inline basic_string<_CharT, _Traits, _Alloc>
^
"/usr/include/c++/5/bits/basic_string.h", line 4879: error: basic_string is not
a template
basic_string<_CharT, _Traits, _Alloc>&& __rhs)
^
"/usr/include/c++/5/bits/basic_string.h", line 4883: error: basic_string is not
a template
inline basic_string<_CharT, _Traits, _Alloc>
^
"/usr/include/c++/5/bits/basic_string.h", line 4884: error: basic_string is not
a template
operator+(basic_string<_CharT, _Traits, _Alloc>&& __lhs,
^
"/usr/include/c++/5/bits/basic_string.h", line 4884: error: nonmember operator
requires a parameter with class or enum type
operator+(basic_string<_CharT, _Traits, _Alloc>&& __lhs,
^
"/usr/include/c++/5/bits/basic_string.h", line 4889: error: basic_string is not
a template
inline basic_string<_CharT, _Traits, _Alloc>
^
"/usr/include/c++/5/bits/basic_string.h", line 4890: error: basic_string is not
a template
operator+(basic_string<_CharT, _Traits, _Alloc>&& __lhs,
^
"/usr/include/c++/5/bits/basic_string.h", line 4904: error: basic_string is not
a template
operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^
"/usr/include/c++/5/bits/basic_string.h", line 4905: error: basic_string is not
a template
const basic_string<_CharT, _Traits, _Alloc>& __rhs)
^
"/usr/include/c++/5/bits/basic_string.h", line 4904: error: nonmember operator
requires a parameter with class or enum type
operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^
"/usr/include/c++/5/bits/basic_string.h", line 4911: error: basic_string is not
a template
operator==(const basic_string<_CharT>& __lhs,
^
"/usr/include/c++/5/bits/basic_string.h", line 4912: error: basic_string is not
a template
const basic_string<_CharT>& __rhs)
^
"/usr/include/c++/5/bits/basic_string.h", line 4911: error: nonmember operator
requires a parameter with class or enum type
operator==(const basic_string<_CharT>& __lhs,
^
"/usr/include/c++/5/bits/basic_string.h", line 4926: error: basic_string is not
a template
const basic_string<_CharT, _Traits, _Alloc>& __rhs)
^
"/usr/include/c++/5/bits/basic_string.h", line 4925: error: nonmember operator
requires a parameter with class or enum type
operator==(const _CharT* __lhs,
^
"/usr/include/c++/5/bits/basic_string.h", line 4937: error: basic_string is not
a template
operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^
"/usr/include/c++/5/bits/basic_string.h", line 4937: error: nonmember operator
requires a parameter with class or enum type
operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^
"/usr/include/c++/5/bits/basic_string.h", line 4950: error: basic_string is not
a template
operator!=(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^
"/usr/include/c++/5/bits/basic_string.h", line 4951: error: basic_string is not
a template
const basic_string<_CharT, _Traits, _Alloc>& __rhs)
^
"/usr/include/c++/5/bits/basic_string.h", line 4950: error: nonmember operator
requires a parameter with class or enum type
operator!=(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^
"/usr/include/c++/5/bits/basic_string.h", line 4963: error: basic_string is not
a template
const basic_string<_CharT, _Traits, _Alloc>& __rhs)
^
"/usr/include/c++/5/bits/basic_string.h", line 4962: error: nonmember operator
requires a parameter with class or enum type
operator!=(const _CharT* __lhs,
^
"/usr/include/c++/5/bits/basic_string.h", line 4974: error: basic_string is not
a template
operator!=(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^
"/usr/include/c++/5/bits/basic_string.h", line 4974: error: nonmember operator
requires a parameter with class or enum type
operator!=(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^
"/usr/include/c++/5/bits/basic_string.h", line 4987: error: basic_string is not
a template
operator<(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^
"/usr/include/c++/5/bits/basic_string.h", line 4988: error: basic_string is not
a template
const basic_string<_CharT, _Traits, _Alloc>& __rhs)
^
"/usr/include/c++/5/bits/basic_string.h", line 4987: error: nonmember operator
requires a parameter with class or enum type
operator<(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^
"/usr/include/c++/5/bits/basic_string.h", line 4999: error: basic_string is not
a template
operator<(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^
"/usr/include/c++/5/bits/basic_string.h", line 4999: error: nonmember operator
requires a parameter with class or enum type
operator<(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^
"/usr/include/c++/5/bits/basic_string.h", line 5012: error: basic_string is not
a template
const basic_string<_CharT, _Traits, _Alloc>& __rhs)
^
"/usr/include/c++/5/bits/basic_string.h", line 5011: error: nonmember operator
requires a parameter with class or enum type
operator<(const _CharT* __lhs,
^
"/usr/include/c++/5/bits/basic_string.h", line 5024: error: basic_string is not
a template
operator>(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^
"/usr/include/c++/5/bits/basic_string.h", line 5025: error: basic_string is not
a template
const basic_string<_CharT, _Traits, _Alloc>& __rhs)
^
"/usr/include/c++/5/bits/basic_string.h", line 5024: error: nonmember operator
requires a parameter with class or enum type
operator>(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^
"/usr/include/c++/5/bits/basic_string.h", line 5036: error: basic_string is not
a template
operator>(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^
"/usr/include/c++/5/bits/basic_string.h", line 5036: error: nonmember operator
requires a parameter with class or enum type
operator>(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^
"/usr/include/c++/5/bits/basic_string.h", line 5049: error: basic_string is not
a template
const basic_string<_CharT, _Traits, _Alloc>& __rhs)
^
"/usr/include/c++/5/bits/basic_string.h", line 5048: error: nonmember operator
requires a parameter with class or enum type
operator>(const _CharT* __lhs,
^
"/usr/include/c++/5/bits/basic_string.h", line 5061: error: basic_string is not
a template
operator<=(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^
"/usr/include/c++/5/bits/basic_string.h", line 5062: error: basic_string is not
a template
const basic_string<_CharT, _Traits, _Alloc>& __rhs)
^
"/usr/include/c++/5/bits/basic_string.h", line 5061: error: nonmember operator
requires a parameter with class or enum type
operator<=(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^
"/usr/include/c++/5/bits/basic_string.h", line 5073: error: basic_string is not
a template
operator<=(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^
"/usr/include/c++/5/bits/basic_string.h", line 5073: error: nonmember operator
requires a parameter with class or enum type
operator<=(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^
"/usr/include/c++/5/bits/basic_string.h", line 5086: error: basic_string is not
a template
const basic_string<_CharT, _Traits, _Alloc>& __rhs)
^
"/usr/include/c++/5/bits/basic_string.h", line 5085: error: nonmember operator
requires a parameter with class or enum type
operator<=(const _CharT* __lhs,
^
"/usr/include/c++/5/bits/basic_string.h", line 5098: error: basic_string is not
a template
operator>=(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^
"/usr/include/c++/5/bits/basic_string.h", line 5099: error: basic_string is not
a template
const basic_string<_CharT, _Traits, _Alloc>& __rhs)
^
"/usr/include/c++/5/bits/basic_string.h", line 5098: error: nonmember operator
requires a parameter with class or enum type
operator>=(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^
"/usr/include/c++/5/bits/basic_string.h", line 5110: error: basic_string is not
a template
operator>=(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^
"/usr/include/c++/5/bits/basic_string.h", line 5110: error: nonmember operator
requires a parameter with class or enum type
operator>=(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^
"/usr/include/c++/5/bits/basic_string.h", line 5123: error: basic_string is not
a template
const basic_string<_CharT, _Traits, _Alloc>& __rhs)
^
"/usr/include/c++/5/bits/basic_string.h", line 5122: error: nonmember operator
requires a parameter with class or enum type
operator>=(const _CharT* __lhs,
^
"/usr/include/c++/5/bits/basic_string.h", line 5135: error: basic_string is not
a template
swap(basic_string<_CharT, _Traits, _Alloc>& __lhs,
^
"/usr/include/c++/5/bits/basic_string.h", line 5136: error: basic_string is not
a template
basic_string<_CharT, _Traits, _Alloc>& __rhs)
^
"/usr/include/c++/5/bits/basic_string.h", line 5155: error: basic_string is not
a template
basic_string<_CharT, _Traits, _Alloc>& __str);
^
"/usr/include/c++/5/bits/basic_string.h", line 5159: error: basic_string is not
a template
operator>>(basic_istream<char>& __is, basic_string<char>& __str);
^
"/usr/include/c++/5/bits/basic_string.h", line 5159: error: no instance of
function template "std::operator>>" matches the specified type
operator>>(basic_istream<char>& __is, basic_string<char>& __str);
^
"/usr/include/c++/5/bits/basic_string.h", line 5173: error: basic_string is not
a template
const basic_string<_CharT, _Traits, _Alloc>& __str)
^
"/usr/include/c++/5/bits/basic_string.h", line 5196: error: basic_string is not
a template
basic_string<_CharT, _Traits, _Alloc>& __str, _CharT __delim);
^
"/usr/include/c++/5/bits/basic_string.h", line 5213: error: basic_string is not
a template
basic_string<_CharT, _Traits, _Alloc>& __str)
^
"/usr/include/c++/5/bits/basic_string.h", line 5221: error: basic_string is not
a template
basic_string<_CharT, _Traits, _Alloc>& __str, _CharT __delim)
^
"/usr/include/c++/5/bits/basic_string.h", line 5228: error: basic_string is not
a template
basic_string<_CharT, _Traits, _Alloc>& __str)
^
"/usr/include/c++/5/bits/basic_string.h", line 5234: error: basic_string is not
a template
getline(basic_istream<char>& __in, basic_string<char>& __str,
^
Error limit reached.
100 errors detected in the compilation of "/vol/Nekbone/src/jl/gs.c".
Compilation terminated.
makefile:166: recipe for target 'obj/jl_gs.o' failed
make: *** [obj/jl_gs.o] Error 2
I am looking forward to hearing some suggestions from you.
Thanks in advance!
Bambo