Csound Csound-dev Csound-tekno Search About

[Csnd-dev] CUDA (again)

Date2017-06-05 11:42
FromAnders Genell
Subject[Csnd-dev] CUDA (again)
Dear devs, particularly Prof. Lazzarini!

I just pulled from git and built on a fairly modern machine with a Nvidia GTX 780 hour. It has Ubuntu 17.04 installed, and I have installed the CUDA 8.0 toolkit. The build did not automatically find the CUDA libs, and when forcing the CUDA opcodes build, I get a build error. It doesn't really give much information about the error, just 

[ 62%] Building C object CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o
[ 63%] Linking C shared library libcsound64.so
[ 63%] Built target csound64
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2

I saw something somewhere that CUDA doesn't support gcc 5 yet, which might be the culprit. Has anyone else run into this?

Regards,

Date2017-06-05 12:10
FromVictor Lazzarini
SubjectRe: [Csnd-dev] CUDA (again)
The line you printed does not indicate a build  error with the cuda opcodes. Try building with  CMAKE_MAKEFILE_VERBOSE=1 so we can see what the errors are.

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

> On 5 Jun 2017, at 11:43, Anders Genell  wrote:
> 
> Dear devs, particularly Prof. Lazzarini!
> 
> I just pulled from git and built on a fairly modern machine with a Nvidia GTX 780 hour. It has Ubuntu 17.04 installed, and I have installed the CUDA 8.0 toolkit. The build did not automatically find the CUDA libs, and when forcing the CUDA opcodes build, I get a build error. It doesn't really give much information about the error, just 
> 
> [ 62%] Building C object CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o
> [ 63%] Linking C shared library libcsound64.so
> [ 63%] Built target csound64
> Makefile:160: recipe for target 'all' failed
> make: *** [all] Error 2
> 
> I saw something somewhere that CUDA doesn't support gcc 5 yet, which might be the culprit. Has anyone else run into this?
> 
> Regards,

Date2017-06-05 12:21
FromAnders Genell
SubjectRe: [Csnd-dev] CUDA (again)
Well, the build runs fine when I do not try to build the cuda opcodes.

Where do I put CMAKE_MAKEFILE_VERBOSE? As a -D flag for cmake?

Regards,
Anders

On Mon, Jun 5, 2017 at 1:10 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
The line you printed does not indicate a build  error with the cuda opcodes. Try building with  CMAKE_MAKEFILE_VERBOSE=1 so we can see what the errors are.

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

> On 5 Jun 2017, at 11:43, Anders Genell <anders.genell@GMAIL.COM> wrote:
>
> Dear devs, particularly Prof. Lazzarini!
>
> I just pulled from git and built on a fairly modern machine with a Nvidia GTX 780 hour. It has Ubuntu 17.04 installed, and I have installed the CUDA 8.0 toolkit. The build did not automatically find the CUDA libs, and when forcing the CUDA opcodes build, I get a build error. It doesn't really give much information about the error, just
>
> [ 62%] Building C object CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o
> [ 63%] Linking C shared library libcsound64.so
> [ 63%] Built target csound64
> Makefile:160: recipe for target 'all' failed
> make: *** [all] Error 2
>
> I saw something somewhere that CUDA doesn't support gcc 5 yet, which might be the culprit. Has anyone else run into this?
>
> Regards,
> Anders


Date2017-06-05 12:41
FromAnders Genell
SubjectRe: [Csnd-dev] CUDA (again)
Ok, got the verbosity up:

[ 62%] Building C object CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o
/usr/bin/cc  -DCS_DEFAULT_PLUGINDIR=\"/usr/local/lib/csound/plugins64-6.0\" -DHAVE_SOCKETS -DHAVE_STRTOD_L -DHAVE_STRTOK_R -DLINUX -DNO_FLTK_THREADS -DPIPES -DUSE_LRINT -D_CSOUND_RELEASE_ -D_GNU_SOURCE -Dcsound64_EXPORTS -I/home/sim/Src/csound/./H -I/home/sim/Src/csound/./include -I/home/sim/Src/csound/./Engine -I/home/sim/Src/csound/. -I/home/sim/Src/csound/csound6.09 -I/home/sim/Src/csound/csound6.09/include  -ffast-math -mfpmath=sse -msse2 -fomit-frame-pointer -fvisibility=hidden -DHAVE_ATOMIC_BUILTIN -DHAVE_PTHREAD -fPIC   -Wno-format   -D__BUILDING_LIBCSOUND -DHAVE_PTHREAD_SPIN_LOCK -DHAVE_PTHREAD_BARRIER_INIT -DPARCS -DGNU_GETTEXT -DHAVE_DIRENT_H -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H -DHAVE_VALUES_H -o CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o   -c /home/sim/Src/csound/Engine/cs_par_dispatch.c
[ 63%] Linking C shared library libcsound64.so
/usr/bin/cmake -E cmake_link_script CMakeFiles/csound64.dir/link.txt --verbose=1
/usr/bin/cc  -fPIC  -ffast-math -mfpmath=sse -msse2 -fomit-frame-pointer -fvisibility=hidden -DHAVE_ATOMIC_BUILTIN -DHAVE_PTHREAD  -shared -Wl,-soname,libcsound64.so.6.0 -o libcsound64.so.6.0 CMakeFiles/csound64.dir/Top/csound.c.o CMakeFiles/csound64.dir/Engine/auxfd.c.o CMakeFiles/csound64.dir/Engine/cfgvar.c.o CMakeFiles/csound64.dir/Engine/corfiles.c.o CMakeFiles/csound64.dir/Engine/entry1.c.o CMakeFiles/csound64.dir/Engine/envvar.c.o CMakeFiles/csound64.dir/Engine/extract.c.o CMakeFiles/csound64.dir/Engine/fgens.c.o CMakeFiles/csound64.dir/Engine/insert.c.o CMakeFiles/csound64.dir/Engine/linevent.c.o CMakeFiles/csound64.dir/Engine/memalloc.c.o CMakeFiles/csound64.dir/Engine/memfiles.c.o CMakeFiles/csound64.dir/Engine/musmon.c.o CMakeFiles/csound64.dir/Engine/namedins.c.o CMakeFiles/csound64.dir/Engine/rdscor.c.o CMakeFiles/csound64.dir/Engine/scsort.c.o CMakeFiles/csound64.dir/Engine/scxtract.c.o CMakeFiles/csound64.dir/Engine/sort.c.o CMakeFiles/csound64.dir/Engine/sread.c.o CMakeFiles/csound64.dir/Engine/swritestr.c.o CMakeFiles/csound64.dir/Engine/twarp.c.o CMakeFiles/csound64.dir/Engine/csound_type_system.c.o CMakeFiles/csound64.dir/Engine/csound_standard_types.c.o CMakeFiles/csound64.dir/Engine/csound_data_structures.c.o CMakeFiles/csound64.dir/Engine/pools.c.o CMakeFiles/csound64.dir/InOut/libsnd.c.o CMakeFiles/csound64.dir/InOut/libsnd_u.c.o CMakeFiles/csound64.dir/InOut/midifile.c.o CMakeFiles/csound64.dir/InOut/midirecv.c.o CMakeFiles/csound64.dir/InOut/midisend.c.o CMakeFiles/csound64.dir/InOut/winascii.c.o CMakeFiles/csound64.dir/InOut/windin.c.o CMakeFiles/csound64.dir/InOut/window.c.o CMakeFiles/csound64.dir/InOut/winEPS.c.o CMakeFiles/csound64.dir/InOut/circularbuffer.c.o CMakeFiles/csound64.dir/OOps/aops.c.o CMakeFiles/csound64.dir/OOps/bus.c.o CMakeFiles/csound64.dir/OOps/cmath.c.o CMakeFiles/csound64.dir/OOps/diskin2.c.o CMakeFiles/csound64.dir/OOps/disprep.c.o CMakeFiles/csound64.dir/OOps/dumpf.c.o CMakeFiles/csound64.dir/OOps/fftlib.c.o CMakeFiles/csound64.dir/OOps/pffft.c.o CMakeFiles/csound64.dir/OOps/goto_ops.c.o CMakeFiles/csound64.dir/OOps/midiinterop.c.o CMakeFiles/csound64.dir/OOps/midiops.c.o CMakeFiles/csound64.dir/OOps/midiout.c.o CMakeFiles/csound64.dir/OOps/mxfft.c.o CMakeFiles/csound64.dir/OOps/oscils.c.o CMakeFiles/csound64.dir/OOps/pstream.c.o CMakeFiles/csound64.dir/OOps/pvfileio.c.o CMakeFiles/csound64.dir/OOps/pvsanal.c.o CMakeFiles/csound64.dir/OOps/random.c.o CMakeFiles/csound64.dir/OOps/remote.c.o CMakeFiles/csound64.dir/OOps/schedule.c.o CMakeFiles/csound64.dir/OOps/sndinfUG.c.o CMakeFiles/csound64.dir/OOps/str_ops.c.o CMakeFiles/csound64.dir/OOps/ugens1.c.o CMakeFiles/csound64.dir/OOps/ugens2.c.o CMakeFiles/csound64.dir/OOps/ugens3.c.o CMakeFiles/csound64.dir/OOps/ugens4.c.o CMakeFiles/csound64.dir/OOps/ugens5.c.o CMakeFiles/csound64.dir/OOps/ugens6.c.o CMakeFiles/csound64.dir/OOps/ugtabs.c.o CMakeFiles/csound64.dir/OOps/ugrw1.c.o CMakeFiles/csound64.dir/OOps/ugrw2.c.o CMakeFiles/csound64.dir/OOps/vdelay.c.o CMakeFiles/csound64.dir/OOps/compile_ops.c.o CMakeFiles/csound64.dir/Opcodes/babo.c.o CMakeFiles/csound64.dir/Opcodes/bilbar.c.o CMakeFiles/csound64.dir/Opcodes/compress.c.o CMakeFiles/csound64.dir/Opcodes/eqfil.c.o CMakeFiles/csound64.dir/Opcodes/Vosim.c.o CMakeFiles/csound64.dir/Opcodes/pinker.c.o CMakeFiles/csound64.dir/Opcodes/pitch.c.o CMakeFiles/csound64.dir/Opcodes/pitch0.c.o CMakeFiles/csound64.dir/Opcodes/spectra.c.o CMakeFiles/csound64.dir/Opcodes/ambicode1.c.o CMakeFiles/csound64.dir/Opcodes/sfont.c.o CMakeFiles/csound64.dir/Opcodes/grain4.c.o CMakeFiles/csound64.dir/Opcodes/hrtferX.c.o CMakeFiles/csound64.dir/Opcodes/loscilx.c.o CMakeFiles/csound64.dir/Opcodes/minmax.c.o CMakeFiles/csound64.dir/Opcodes/pan2.c.o CMakeFiles/csound64.dir/Opcodes/arrays.c.o CMakeFiles/csound64.dir/Opcodes/phisem.c.o CMakeFiles/csound64.dir/Opcodes/hrtfopcodes.c.o CMakeFiles/csound64.dir/Opcodes/vbap.c.o CMakeFiles/csound64.dir/Opcodes/vbap1.c.o CMakeFiles/csound64.dir/Opcodes/vbap_n.c.o CMakeFiles/csound64.dir/Opcodes/vbap_zak.c.o CMakeFiles/csound64.dir/Opcodes/vaops.c.o CMakeFiles/csound64.dir/Opcodes/ugakbari.c.o CMakeFiles/csound64.dir/Opcodes/harmon.c.o CMakeFiles/csound64.dir/Opcodes/pitchtrack.c.o CMakeFiles/csound64.dir/Opcodes/partikkel.c.o CMakeFiles/csound64.dir/Opcodes/shape.c.o CMakeFiles/csound64.dir/Opcodes/tabsum.c.o CMakeFiles/csound64.dir/Opcodes/crossfm.c.o CMakeFiles/csound64.dir/Opcodes/pvlock.c.o CMakeFiles/csound64.dir/Opcodes/fareyseq.c.o CMakeFiles/csound64.dir/Opcodes/modmatrix.c.o CMakeFiles/csound64.dir/Opcodes/scoreline.c.o CMakeFiles/csound64.dir/Opcodes/modal4.c.o CMakeFiles/csound64.dir/Opcodes/physutil.c.o CMakeFiles/csound64.dir/Opcodes/physmod.c.o CMakeFiles/csound64.dir/Opcodes/mandolin.c.o CMakeFiles/csound64.dir/Opcodes/singwave.c.o CMakeFiles/csound64.dir/Opcodes/fm4op.c.o CMakeFiles/csound64.dir/Opcodes/moog1.c.o CMakeFiles/csound64.dir/Opcodes/shaker.c.o CMakeFiles/csound64.dir/Opcodes/bowedbar.c.o CMakeFiles/csound64.dir/Opcodes/gab/tabmorph.c.o CMakeFiles/csound64.dir/Opcodes/gab/hvs.c.o CMakeFiles/csound64.dir/Opcodes/gab/sliderTable.c.o CMakeFiles/csound64.dir/Opcodes/gab/newgabopc.c.o CMakeFiles/csound64.dir/Opcodes/ftest.c.o CMakeFiles/csound64.dir/Opcodes/hrtfearly.c.o CMakeFiles/csound64.dir/Opcodes/hrtfreverb.c.o CMakeFiles/csound64.dir/Opcodes/cpumeter.c.o CMakeFiles/csound64.dir/Opcodes/gendy.c.o CMakeFiles/csound64.dir/Opcodes/tl/sc_noise.c.o CMakeFiles/csound64.dir/Opcodes/afilters.c.o CMakeFiles/csound64.dir/Opcodes/wpfilters.c.o CMakeFiles/csound64.dir/Top/argdecode.c.o CMakeFiles/csound64.dir/Top/csdebug.c.o CMakeFiles/csound64.dir/Top/cscore_internal.c.o CMakeFiles/csound64.dir/Top/cscorfns.c.o CMakeFiles/csound64.dir/Top/csmodule.c.o CMakeFiles/csound64.dir/Top/getstring.c.o CMakeFiles/csound64.dir/Top/main.c.o CMakeFiles/csound64.dir/Top/new_opts.c.o CMakeFiles/csound64.dir/Top/one_file.c.o CMakeFiles/csound64.dir/Top/opcode.c.o CMakeFiles/csound64.dir/Top/threads.c.o CMakeFiles/csound64.dir/Top/utility.c.o CMakeFiles/csound64.dir/Top/threadsafe.c.o CMakeFiles/csound64.dir/Top/server.c.o CMakeFiles/csound64.dir/Opcodes/ambicode.c.o CMakeFiles/csound64.dir/Opcodes/bbcut.c.o CMakeFiles/csound64.dir/Opcodes/biquad.c.o CMakeFiles/csound64.dir/Opcodes/butter.c.o CMakeFiles/csound64.dir/Opcodes/clfilt.c.o CMakeFiles/csound64.dir/Opcodes/cross2.c.o CMakeFiles/csound64.dir/Opcodes/dam.c.o CMakeFiles/csound64.dir/Opcodes/dcblockr.c.o CMakeFiles/csound64.dir/Opcodes/filter.c.o CMakeFiles/csound64.dir/Opcodes/flanger.c.o CMakeFiles/csound64.dir/Opcodes/follow.c.o CMakeFiles/csound64.dir/Opcodes/fout.c.o CMakeFiles/csound64.dir/Opcodes/freeverb.c.o CMakeFiles/csound64.dir/Opcodes/ftconv.c.o CMakeFiles/csound64.dir/Opcodes/ftgen.c.o CMakeFiles/csound64.dir/Opcodes/gab/gab.c.o CMakeFiles/csound64.dir/Opcodes/gab/vectorial.c.o CMakeFiles/csound64.dir/Opcodes/grain.c.o CMakeFiles/csound64.dir/Opcodes/locsig.c.o CMakeFiles/csound64.dir/Opcodes/lowpassr.c.o CMakeFiles/csound64.dir/Opcodes/metro.c.o CMakeFiles/csound64.dir/Opcodes/midiops2.c.o CMakeFiles/csound64.dir/Opcodes/midiops3.c.o CMakeFiles/csound64.dir/Opcodes/newfils.c.o CMakeFiles/csound64.dir/Opcodes/nlfilt.c.o CMakeFiles/csound64.dir/Opcodes/oscbnk.c.o CMakeFiles/csound64.dir/Opcodes/pluck.c.o CMakeFiles/csound64.dir/Opcodes/paulstretch.c.o CMakeFiles/csound64.dir/Opcodes/repluck.c.o CMakeFiles/csound64.dir/Opcodes/reverbsc.c.o CMakeFiles/csound64.dir/Opcodes/seqtime.c.o CMakeFiles/csound64.dir/Opcodes/sndloop.c.o CMakeFiles/csound64.dir/Opcodes/sndwarp.c.o CMakeFiles/csound64.dir/Opcodes/space.c.o CMakeFiles/csound64.dir/Opcodes/spat3d.c.o CMakeFiles/csound64.dir/Opcodes/syncgrain.c.o CMakeFiles/csound64.dir/Opcodes/ugens7.c.o CMakeFiles/csound64.dir/Opcodes/ugens9.c.o CMakeFiles/csound64.dir/Opcodes/ugensa.c.o CMakeFiles/csound64.dir/Opcodes/uggab.c.o CMakeFiles/csound64.dir/Opcodes/ugmoss.c.o CMakeFiles/csound64.dir/Opcodes/ugnorman.c.o CMakeFiles/csound64.dir/Opcodes/ugsc.c.o CMakeFiles/csound64.dir/Opcodes/wave-terrain.c.o CMakeFiles/csound64.dir/Opcodes/stdopcod.c.o CMakeFiles/csound64.dir/Opcodes/socksend.c.o CMakeFiles/csound64.dir/Opcodes/sockrecv.c.o CMakeFiles/csound64.dir/Opcodes/ifd.c.o CMakeFiles/csound64.dir/Opcodes/partials.c.o CMakeFiles/csound64.dir/Opcodes/psynth.c.o CMakeFiles/csound64.dir/Opcodes/pvsbasic.c.o CMakeFiles/csound64.dir/Opcodes/pvscent.c.o CMakeFiles/csound64.dir/Opcodes/pvsdemix.c.o CMakeFiles/csound64.dir/Opcodes/pvs_ops.c.o CMakeFiles/csound64.dir/Opcodes/pvsband.c.o CMakeFiles/csound64.dir/Opcodes/pvsbuffer.c.o CMakeFiles/csound64.dir/Opcodes/pvsgendy.c.o CMakeFiles/csound64.dir/Opcodes/dsputil.c.o CMakeFiles/csound64.dir/Opcodes/pvadd.c.o CMakeFiles/csound64.dir/Opcodes/pvinterp.c.o CMakeFiles/csound64.dir/Opcodes/pvocext.c.o CMakeFiles/csound64.dir/Opcodes/pvread.c.o CMakeFiles/csound64.dir/Opcodes/ugens8.c.o CMakeFiles/csound64.dir/Opcodes/vpvoc.c.o CMakeFiles/csound64.dir/Opcodes/pvoc.c.o CMakeFiles/csound64.dir/Opcodes/mp3in.c.o CMakeFiles/csound64.dir/InOut/libmpadec/layer1.c.o CMakeFiles/csound64.dir/InOut/libmpadec/layer2.c.o CMakeFiles/csound64.dir/InOut/libmpadec/layer3.c.o CMakeFiles/csound64.dir/InOut/libmpadec/synth.c.o CMakeFiles/csound64.dir/InOut/libmpadec/tables.c.o CMakeFiles/csound64.dir/InOut/libmpadec/mpadec.c.o CMakeFiles/csound64.dir/InOut/libmpadec/mp3dec.c.o CMakeFiles/csound64.dir/csound_orclex.c.o CMakeFiles/csound64.dir/csound_orcparse.c.o CMakeFiles/csound64.dir/csound_prelex.c.o CMakeFiles/csound64.dir/Engine/csound_orc_semantics.c.o CMakeFiles/csound64.dir/Engine/csound_orc_expressions.c.o CMakeFiles/csound64.dir/Engine/csound_orc_optimize.c.o CMakeFiles/csound64.dir/Engine/csound_orc_compile.c.o CMakeFiles/csound64.dir/Engine/new_orc_parser.c.o CMakeFiles/csound64.dir/Engine/symbtab.c.o CMakeFiles/csound64.dir/csound_prslex.c.o CMakeFiles/csound64.dir/Engine/cs_new_dispatch.c.o CMakeFiles/csound64.dir/Engine/cs_par_base.c.o CMakeFiles/csound64.dir/Engine/cs_par_orc_semantic_analysis.c.o CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o -lsndfile -lpthread -lm -ldl -lrt
/usr/bin/cmake -E cmake_symlink_library libcsound64.so.6.0 libcsound64.so.6.0 libcsound64.so
make[2]: Leaving directory '/home/sim/Src/csound/csound6.09'
[ 63%] Built target csound64
make[1]: Leaving directory '/home/sim/Src/csound/csound6.09'
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2


On Mon, Jun 5, 2017 at 1:21 PM, Anders Genell <anders.genell@gmail.com> wrote:
Well, the build runs fine when I do not try to build the cuda opcodes.

Where do I put CMAKE_MAKEFILE_VERBOSE? As a -D flag for cmake?

Regards,
Anders

On Mon, Jun 5, 2017 at 1:10 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
The line you printed does not indicate a build  error with the cuda opcodes. Try building with  CMAKE_MAKEFILE_VERBOSE=1 so we can see what the errors are.

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

> On 5 Jun 2017, at 11:43, Anders Genell <anders.genell@GMAIL.COM> wrote:
>
> Dear devs, particularly Prof. Lazzarini!
>
> I just pulled from git and built on a fairly modern machine with a Nvidia GTX 780 hour. It has Ubuntu 17.04 installed, and I have installed the CUDA 8.0 toolkit. The build did not automatically find the CUDA libs, and when forcing the CUDA opcodes build, I get a build error. It doesn't really give much information about the error, just
>
> [ 62%] Building C object CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o
> [ 63%] Linking C shared library libcsound64.so
> [ 63%] Built target csound64
> Makefile:160: recipe for target 'all' failed
> make: *** [all] Error 2
>
> I saw something somewhere that CUDA doesn't support gcc 5 yet, which might be the culprit. Has anyone else run into this?
>
> Regards,
> Anders



Date2017-06-05 14:15
FromVictor Lazzarini
SubjectRe: [Csnd-dev] CUDA (again)
Are you building with make -j 6 ? I can't see where it is failing. If you are, try just 'make'

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 5 Jun 2017, at 12:41, Anders Genell <anders.genell@GMAIL.COM> wrote:

Ok, got the verbosity up:

[ 62%] Building C object CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o
/usr/bin/cc  -DCS_DEFAULT_PLUGINDIR=\"/usr/local/lib/csound/plugins64-6.0\" -DHAVE_SOCKETS -DHAVE_STRTOD_L -DHAVE_STRTOK_R -DLINUX -DNO_FLTK_THREADS -DPIPES -DUSE_LRINT -D_CSOUND_RELEASE_ -D_GNU_SOURCE -Dcsound64_EXPORTS -I/home/sim/Src/csound/./H -I/home/sim/Src/csound/./include -I/home/sim/Src/csound/./Engine -I/home/sim/Src/csound/. -I/home/sim/Src/csound/csound6.09 -I/home/sim/Src/csound/csound6.09/include  -ffast-math -mfpmath=sse -msse2 -fomit-frame-pointer -fvisibility=hidden -DHAVE_ATOMIC_BUILTIN -DHAVE_PTHREAD -fPIC   -Wno-format   -D__BUILDING_LIBCSOUND -DHAVE_PTHREAD_SPIN_LOCK -DHAVE_PTHREAD_BARRIER_INIT -DPARCS -DGNU_GETTEXT -DHAVE_DIRENT_H -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H -DHAVE_VALUES_H -o CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o   -c /home/sim/Src/csound/Engine/cs_par_dispatch.c
[ 63%] Linking C shared library libcsound64.so
/usr/bin/cmake -E cmake_link_script CMakeFiles/csound64.dir/link.txt --verbose=1
/usr/bin/cc  -fPIC  -ffast-math -mfpmath=sse -msse2 -fomit-frame-pointer -fvisibility=hidden -DHAVE_ATOMIC_BUILTIN -DHAVE_PTHREAD  -shared -Wl,-soname,libcsound64.so.6.0 -o libcsound64.so.6.0 CMakeFiles/csound64.dir/Top/csound.c.o CMakeFiles/csound64.dir/Engine/auxfd.c.o CMakeFiles/csound64.dir/Engine/cfgvar.c.o CMakeFiles/csound64.dir/Engine/corfiles.c.o CMakeFiles/csound64.dir/Engine/entry1.c.o CMakeFiles/csound64.dir/Engine/envvar.c.o CMakeFiles/csound64.dir/Engine/extract.c.o CMakeFiles/csound64.dir/Engine/fgens.c.o CMakeFiles/csound64.dir/Engine/insert.c.o CMakeFiles/csound64.dir/Engine/linevent.c.o CMakeFiles/csound64.dir/Engine/memalloc.c.o CMakeFiles/csound64.dir/Engine/memfiles.c.o CMakeFiles/csound64.dir/Engine/musmon.c.o CMakeFiles/csound64.dir/Engine/namedins.c.o CMakeFiles/csound64.dir/Engine/rdscor.c.o CMakeFiles/csound64.dir/Engine/scsort.c.o CMakeFiles/csound64.dir/Engine/scxtract.c.o CMakeFiles/csound64.dir/Engine/sort.c.o CMakeFiles/csound64.dir/Engine/sread.c.o CMakeFiles/csound64.dir/Engine/swritestr.c.o CMakeFiles/csound64.dir/Engine/twarp.c.o CMakeFiles/csound64.dir/Engine/csound_type_system.c.o CMakeFiles/csound64.dir/Engine/csound_standard_types.c.o CMakeFiles/csound64.dir/Engine/csound_data_structures.c.o CMakeFiles/csound64.dir/Engine/pools.c.o CMakeFiles/csound64.dir/InOut/libsnd.c.o CMakeFiles/csound64.dir/InOut/libsnd_u.c.o CMakeFiles/csound64.dir/InOut/midifile.c.o CMakeFiles/csound64.dir/InOut/midirecv.c.o CMakeFiles/csound64.dir/InOut/midisend.c.o CMakeFiles/csound64.dir/InOut/winascii.c.o CMakeFiles/csound64.dir/InOut/windin.c.o CMakeFiles/csound64.dir/InOut/window.c.o CMakeFiles/csound64.dir/InOut/winEPS.c.o CMakeFiles/csound64.dir/InOut/circularbuffer.c.o CMakeFiles/csound64.dir/OOps/aops.c.o CMakeFiles/csound64.dir/OOps/bus.c.o CMakeFiles/csound64.dir/OOps/cmath.c.o CMakeFiles/csound64.dir/OOps/diskin2.c.o CMakeFiles/csound64.dir/OOps/disprep.c.o CMakeFiles/csound64.dir/OOps/dumpf.c.o CMakeFiles/csound64.dir/OOps/fftlib.c.o CMakeFiles/csound64.dir/OOps/pffft.c.o CMakeFiles/csound64.dir/OOps/goto_ops.c.o CMakeFiles/csound64.dir/OOps/midiinterop.c.o CMakeFiles/csound64.dir/OOps/midiops.c.o CMakeFiles/csound64.dir/OOps/midiout.c.o CMakeFiles/csound64.dir/OOps/mxfft.c.o CMakeFiles/csound64.dir/OOps/oscils.c.o CMakeFiles/csound64.dir/OOps/pstream.c.o CMakeFiles/csound64.dir/OOps/pvfileio.c.o CMakeFiles/csound64.dir/OOps/pvsanal.c.o CMakeFiles/csound64.dir/OOps/random.c.o CMakeFiles/csound64.dir/OOps/remote.c.o CMakeFiles/csound64.dir/OOps/schedule.c.o CMakeFiles/csound64.dir/OOps/sndinfUG.c.o CMakeFiles/csound64.dir/OOps/str_ops.c.o CMakeFiles/csound64.dir/OOps/ugens1.c.o CMakeFiles/csound64.dir/OOps/ugens2.c.o CMakeFiles/csound64.dir/OOps/ugens3.c.o CMakeFiles/csound64.dir/OOps/ugens4.c.o CMakeFiles/csound64.dir/OOps/ugens5.c.o CMakeFiles/csound64.dir/OOps/ugens6.c.o CMakeFiles/csound64.dir/OOps/ugtabs.c.o CMakeFiles/csound64.dir/OOps/ugrw1.c.o CMakeFiles/csound64.dir/OOps/ugrw2.c.o CMakeFiles/csound64.dir/OOps/vdelay.c.o CMakeFiles/csound64.dir/OOps/compile_ops.c.o CMakeFiles/csound64.dir/Opcodes/babo.c.o CMakeFiles/csound64.dir/Opcodes/bilbar.c.o CMakeFiles/csound64.dir/Opcodes/compress.c.o CMakeFiles/csound64.dir/Opcodes/eqfil.c.o CMakeFiles/csound64.dir/Opcodes/Vosim.c.o CMakeFiles/csound64.dir/Opcodes/pinker.c.o CMakeFiles/csound64.dir/Opcodes/pitch.c.o CMakeFiles/csound64.dir/Opcodes/pitch0.c.o CMakeFiles/csound64.dir/Opcodes/spectra.c.o CMakeFiles/csound64.dir/Opcodes/ambicode1.c.o CMakeFiles/csound64.dir/Opcodes/sfont.c.o CMakeFiles/csound64.dir/Opcodes/grain4.c.o CMakeFiles/csound64.dir/Opcodes/hrtferX.c.o CMakeFiles/csound64.dir/Opcodes/loscilx.c.o CMakeFiles/csound64.dir/Opcodes/minmax.c.o CMakeFiles/csound64.dir/Opcodes/pan2.c.o CMakeFiles/csound64.dir/Opcodes/arrays.c.o CMakeFiles/csound64.dir/Opcodes/phisem.c.o CMakeFiles/csound64.dir/Opcodes/hrtfopcodes.c.o CMakeFiles/csound64.dir/Opcodes/vbap.c.o CMakeFiles/csound64.dir/Opcodes/vbap1.c.o CMakeFiles/csound64.dir/Opcodes/vbap_n.c.o CMakeFiles/csound64.dir/Opcodes/vbap_zak.c.o CMakeFiles/csound64.dir/Opcodes/vaops.c.o CMakeFiles/csound64.dir/Opcodes/ugakbari.c.o CMakeFiles/csound64.dir/Opcodes/harmon.c.o CMakeFiles/csound64.dir/Opcodes/pitchtrack.c.o CMakeFiles/csound64.dir/Opcodes/partikkel.c.o CMakeFiles/csound64.dir/Opcodes/shape.c.o CMakeFiles/csound64.dir/Opcodes/tabsum.c.o CMakeFiles/csound64.dir/Opcodes/crossfm.c.o CMakeFiles/csound64.dir/Opcodes/pvlock.c.o CMakeFiles/csound64.dir/Opcodes/fareyseq.c.o CMakeFiles/csound64.dir/Opcodes/modmatrix.c.o CMakeFiles/csound64.dir/Opcodes/scoreline.c.o CMakeFiles/csound64.dir/Opcodes/modal4.c.o CMakeFiles/csound64.dir/Opcodes/physutil.c.o CMakeFiles/csound64.dir/Opcodes/physmod.c.o CMakeFiles/csound64.dir/Opcodes/mandolin.c.o CMakeFiles/csound64.dir/Opcodes/singwave.c.o CMakeFiles/csound64.dir/Opcodes/fm4op.c.o CMakeFiles/csound64.dir/Opcodes/moog1.c.o CMakeFiles/csound64.dir/Opcodes/shaker.c.o CMakeFiles/csound64.dir/Opcodes/bowedbar.c.o CMakeFiles/csound64.dir/Opcodes/gab/tabmorph.c.o CMakeFiles/csound64.dir/Opcodes/gab/hvs.c.o CMakeFiles/csound64.dir/Opcodes/gab/sliderTable.c.o CMakeFiles/csound64.dir/Opcodes/gab/newgabopc.c.o CMakeFiles/csound64.dir/Opcodes/ftest.c.o CMakeFiles/csound64.dir/Opcodes/hrtfearly.c.o CMakeFiles/csound64.dir/Opcodes/hrtfreverb.c.o CMakeFiles/csound64.dir/Opcodes/cpumeter.c.o CMakeFiles/csound64.dir/Opcodes/gendy.c.o CMakeFiles/csound64.dir/Opcodes/tl/sc_noise.c.o CMakeFiles/csound64.dir/Opcodes/afilters.c.o CMakeFiles/csound64.dir/Opcodes/wpfilters.c.o CMakeFiles/csound64.dir/Top/argdecode.c.o CMakeFiles/csound64.dir/Top/csdebug.c.o CMakeFiles/csound64.dir/Top/cscore_internal.c.o CMakeFiles/csound64.dir/Top/cscorfns.c.o CMakeFiles/csound64.dir/Top/csmodule.c.o CMakeFiles/csound64.dir/Top/getstring.c.o CMakeFiles/csound64.dir/Top/main.c.o CMakeFiles/csound64.dir/Top/new_opts.c.o CMakeFiles/csound64.dir/Top/one_file.c.o CMakeFiles/csound64.dir/Top/opcode.c.o CMakeFiles/csound64.dir/Top/threads.c.o CMakeFiles/csound64.dir/Top/utility.c.o CMakeFiles/csound64.dir/Top/threadsafe.c.o CMakeFiles/csound64.dir/Top/server.c.o CMakeFiles/csound64.dir/Opcodes/ambicode.c.o CMakeFiles/csound64.dir/Opcodes/bbcut.c.o CMakeFiles/csound64.dir/Opcodes/biquad.c.o CMakeFiles/csound64.dir/Opcodes/butter.c.o CMakeFiles/csound64.dir/Opcodes/clfilt.c.o CMakeFiles/csound64.dir/Opcodes/cross2.c.o CMakeFiles/csound64.dir/Opcodes/dam.c.o CMakeFiles/csound64.dir/Opcodes/dcblockr.c.o CMakeFiles/csound64.dir/Opcodes/filter.c.o CMakeFiles/csound64.dir/Opcodes/flanger.c.o CMakeFiles/csound64.dir/Opcodes/follow.c.o CMakeFiles/csound64.dir/Opcodes/fout.c.o CMakeFiles/csound64.dir/Opcodes/freeverb.c.o CMakeFiles/csound64.dir/Opcodes/ftconv.c.o CMakeFiles/csound64.dir/Opcodes/ftgen.c.o CMakeFiles/csound64.dir/Opcodes/gab/gab.c.o CMakeFiles/csound64.dir/Opcodes/gab/vectorial.c.o CMakeFiles/csound64.dir/Opcodes/grain.c.o CMakeFiles/csound64.dir/Opcodes/locsig.c.o CMakeFiles/csound64.dir/Opcodes/lowpassr.c.o CMakeFiles/csound64.dir/Opcodes/metro.c.o CMakeFiles/csound64.dir/Opcodes/midiops2.c.o CMakeFiles/csound64.dir/Opcodes/midiops3.c.o CMakeFiles/csound64.dir/Opcodes/newfils.c.o CMakeFiles/csound64.dir/Opcodes/nlfilt.c.o CMakeFiles/csound64.dir/Opcodes/oscbnk.c.o CMakeFiles/csound64.dir/Opcodes/pluck.c.o CMakeFiles/csound64.dir/Opcodes/paulstretch.c.o CMakeFiles/csound64.dir/Opcodes/repluck.c.o CMakeFiles/csound64.dir/Opcodes/reverbsc.c.o CMakeFiles/csound64.dir/Opcodes/seqtime.c.o CMakeFiles/csound64.dir/Opcodes/sndloop.c.o CMakeFiles/csound64.dir/Opcodes/sndwarp.c.o CMakeFiles/csound64.dir/Opcodes/space.c.o CMakeFiles/csound64.dir/Opcodes/spat3d.c.o CMakeFiles/csound64.dir/Opcodes/syncgrain.c.o CMakeFiles/csound64.dir/Opcodes/ugens7.c.o CMakeFiles/csound64.dir/Opcodes/ugens9.c.o CMakeFiles/csound64.dir/Opcodes/ugensa.c.o CMakeFiles/csound64.dir/Opcodes/uggab.c.o CMakeFiles/csound64.dir/Opcodes/ugmoss.c.o CMakeFiles/csound64.dir/Opcodes/ugnorman.c.o CMakeFiles/csound64.dir/Opcodes/ugsc.c.o CMakeFiles/csound64.dir/Opcodes/wave-terrain.c.o CMakeFiles/csound64.dir/Opcodes/stdopcod.c.o CMakeFiles/csound64.dir/Opcodes/socksend.c.o CMakeFiles/csound64.dir/Opcodes/sockrecv.c.o CMakeFiles/csound64.dir/Opcodes/ifd.c.o CMakeFiles/csound64.dir/Opcodes/partials.c.o CMakeFiles/csound64.dir/Opcodes/psynth.c.o CMakeFiles/csound64.dir/Opcodes/pvsbasic.c.o CMakeFiles/csound64.dir/Opcodes/pvscent.c.o CMakeFiles/csound64.dir/Opcodes/pvsdemix.c.o CMakeFiles/csound64.dir/Opcodes/pvs_ops.c.o CMakeFiles/csound64.dir/Opcodes/pvsband.c.o CMakeFiles/csound64.dir/Opcodes/pvsbuffer.c.o CMakeFiles/csound64.dir/Opcodes/pvsgendy.c.o CMakeFiles/csound64.dir/Opcodes/dsputil.c.o CMakeFiles/csound64.dir/Opcodes/pvadd.c.o CMakeFiles/csound64.dir/Opcodes/pvinterp.c.o CMakeFiles/csound64.dir/Opcodes/pvocext.c.o CMakeFiles/csound64.dir/Opcodes/pvread.c.o CMakeFiles/csound64.dir/Opcodes/ugens8.c.o CMakeFiles/csound64.dir/Opcodes/vpvoc.c.o CMakeFiles/csound64.dir/Opcodes/pvoc.c.o CMakeFiles/csound64.dir/Opcodes/mp3in.c.o CMakeFiles/csound64.dir/InOut/libmpadec/layer1.c.o CMakeFiles/csound64.dir/InOut/libmpadec/layer2.c.o CMakeFiles/csound64.dir/InOut/libmpadec/layer3.c.o CMakeFiles/csound64.dir/InOut/libmpadec/synth.c.o CMakeFiles/csound64.dir/InOut/libmpadec/tables.c.o CMakeFiles/csound64.dir/InOut/libmpadec/mpadec.c.o CMakeFiles/csound64.dir/InOut/libmpadec/mp3dec.c.o CMakeFiles/csound64.dir/csound_orclex.c.o CMakeFiles/csound64.dir/csound_orcparse.c.o CMakeFiles/csound64.dir/csound_prelex.c.o CMakeFiles/csound64.dir/Engine/csound_orc_semantics.c.o CMakeFiles/csound64.dir/Engine/csound_orc_expressions.c.o CMakeFiles/csound64.dir/Engine/csound_orc_optimize.c.o CMakeFiles/csound64.dir/Engine/csound_orc_compile.c.o CMakeFiles/csound64.dir/Engine/new_orc_parser.c.o CMakeFiles/csound64.dir/Engine/symbtab.c.o CMakeFiles/csound64.dir/csound_prslex.c.o CMakeFiles/csound64.dir/Engine/cs_new_dispatch.c.o CMakeFiles/csound64.dir/Engine/cs_par_base.c.o CMakeFiles/csound64.dir/Engine/cs_par_orc_semantic_analysis.c.o CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o -lsndfile -lpthread -lm -ldl -lrt
/usr/bin/cmake -E cmake_symlink_library libcsound64.so.6.0 libcsound64.so.6.0 libcsound64.so
make[2]: Leaving directory '/home/sim/Src/csound/csound6.09'
[ 63%] Built target csound64
make[1]: Leaving directory '/home/sim/Src/csound/csound6.09'
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2


On Mon, Jun 5, 2017 at 1:21 PM, Anders Genell <anders.genell@gmail.com> wrote:
Well, the build runs fine when I do not try to build the cuda opcodes.

Where do I put CMAKE_MAKEFILE_VERBOSE? As a -D flag for cmake?

Regards,
Anders

On Mon, Jun 5, 2017 at 1:10 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
The line you printed does not indicate a build  error with the cuda opcodes. Try building with  CMAKE_MAKEFILE_VERBOSE=1 so we can see what the errors are.

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

> On 5 Jun 2017, at 11:43, Anders Genell <anders.genell@GMAIL.COM> wrote:
>
> Dear devs, particularly Prof. Lazzarini!
>
> I just pulled from git and built on a fairly modern machine with a Nvidia GTX 780 hour. It has Ubuntu 17.04 installed, and I have installed the CUDA 8.0 toolkit. The build did not automatically find the CUDA libs, and when forcing the CUDA opcodes build, I get a build error. It doesn't really give much information about the error, just
>
> [ 62%] Building C object CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o
> [ 63%] Linking C shared library libcsound64.so
> [ 63%] Built target csound64
> Makefile:160: recipe for target 'all' failed
> make: *** [all] Error 2
>
> I saw something somewhere that CUDA doesn't support gcc 5 yet, which might be the culprit. Has anyone else run into this?
>
> Regards,
> Anders



Date2017-06-05 14:20
Fromjpff
SubjectRe: [Csnd-dev] CUDA (again)
It looks to me tat the error is earlier if building with -j6 o te ie

Tese messagesare OK and suggest aa broken .o file


On Mon, 5 Jun 2017, Victor Lazzarini wrote:

> Are you building with make -j 6 ? I can't see where it is failing. If you are,
> try just 'make'
> 
> Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy
> Maynooth University
> Ireland
> 
> On 5 Jun 2017, at 12:41, Anders Genell  wrote:
>
>       Ok, got the verbosity up:
>
>       [ 62%] Building C object
>       CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o
>       /usr/bin/cc 
>       -DCS_DEFAULT_PLUGINDIR=\"/usr/local/lib/csound/plugins64-6.0\"
>       -DHAVE_SOCKETS -DHAVE_STRTOD_L -DHAVE_STRTOK_R -DLINUX
>       -DNO_FLTK_THREADS -DPIPES -DUSE_LRINT -D_CSOUND_RELEASE_
>       -D_GNU_SOURCE -Dcsound64_EXPORTS -I/home/sim/Src/csound/./H
>       -I/home/sim/Src/csound/./include -I/home/sim/Src/csound/./Engine
>       -I/home/sim/Src/csound/. -I/home/sim/Src/csound/csound6.09
>       -I/home/sim/Src/csound/csound6.09/include  -ffast-math
>       -mfpmath=sse -msse2 -fomit-frame-pointer -fvisibility=hidden
>       -DHAVE_ATOMIC_BUILTIN -DHAVE_PTHREAD -fPIC   -Wno-format  
>       -D__BUILDING_LIBCSOUND -DHAVE_PTHREAD_SPIN_LOCK
>       -DHAVE_PTHREAD_BARRIER_INIT -DPARCS -DGNU_GETTEXT -DHAVE_DIRENT_H
>       -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H
>       -DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H -DHAVE_VALUES_H -o
>       CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o   -c
>       /home/sim/Src/csound/Engine/cs_par_dispatch.c
>       [ 63%] Linking C shared library libcsound64.so
>       /usr/bin/cmake -E cmake_link_script
>       CMakeFiles/csound64.dir/link.txt --verbose=1
>       /usr/bin/cc  -fPIC  -ffast-math -mfpmath=sse -msse2
>       -fomit-frame-pointer -fvisibility=hidden -DHAVE_ATOMIC_BUILTIN
>       -DHAVE_PTHREAD  -shared -Wl,-soname,libcsound64.so.6.0 -o
>       libcsound64.so.6.0 CMakeFiles/csound64.dir/Top/csound.c.o
>       CMakeFiles/csound64.dir/Engine/auxfd.c.o
>       CMakeFiles/csound64.dir/Engine/cfgvar.c.o
>       CMakeFiles/csound64.dir/Engine/corfiles.c.o
>       CMakeFiles/csound64.dir/Engine/entry1.c.o
>       CMakeFiles/csound64.dir/Engine/envvar.c.o
>       CMakeFiles/csound64.dir/Engine/extract.c.o
>       CMakeFiles/csound64.dir/Engine/fgens.c.o
>       CMakeFiles/csound64.dir/Engine/insert.c.o
>       CMakeFiles/csound64.dir/Engine/linevent.c.o
>       CMakeFiles/csound64.dir/Engine/memalloc.c.o
>       CMakeFiles/csound64.dir/Engine/memfiles.c.o
>       CMakeFiles/csound64.dir/Engine/musmon.c.o
>       CMakeFiles/csound64.dir/Engine/namedins.c.o
>       CMakeFiles/csound64.dir/Engine/rdscor.c.o
>       CMakeFiles/csound64.dir/Engine/scsort.c.o
>       CMakeFiles/csound64.dir/Engine/scxtract.c.o
>       CMakeFiles/csound64.dir/Engine/sort.c.o
>       CMakeFiles/csound64.dir/Engine/sread.c.o
>       CMakeFiles/csound64.dir/Engine/swritestr.c.o
>       CMakeFiles/csound64.dir/Engine/twarp.c.o
>       CMakeFiles/csound64.dir/Engine/csound_type_system.c.o
>       CMakeFiles/csound64.dir/Engine/csound_standard_types.c.o
>       CMakeFiles/csound64.dir/Engine/csound_data_structures.c.o
>       CMakeFiles/csound64.dir/Engine/pools.c.o
>       CMakeFiles/csound64.dir/InOut/libsnd.c.o
>       CMakeFiles/csound64.dir/InOut/libsnd_u.c.o
>       CMakeFiles/csound64.dir/InOut/midifile.c.o
>       CMakeFiles/csound64.dir/InOut/midirecv.c.o
>       CMakeFiles/csound64.dir/InOut/midisend.c.o
>       CMakeFiles/csound64.dir/InOut/winascii.c.o
>       CMakeFiles/csound64.dir/InOut/windin.c.o
>       CMakeFiles/csound64.dir/InOut/window.c.o
>       CMakeFiles/csound64.dir/InOut/winEPS.c.o
>       CMakeFiles/csound64.dir/InOut/circularbuffer.c.o
>       CMakeFiles/csound64.dir/OOps/aops.c.o
>       CMakeFiles/csound64.dir/OOps/bus.c.o
>       CMakeFiles/csound64.dir/OOps/cmath.c.o
>       CMakeFiles/csound64.dir/OOps/diskin2.c.o
>       CMakeFiles/csound64.dir/OOps/disprep.c.o
>       CMakeFiles/csound64.dir/OOps/dumpf.c.o
>       CMakeFiles/csound64.dir/OOps/fftlib.c.o
>       CMakeFiles/csound64.dir/OOps/pffft.c.o
>       CMakeFiles/csound64.dir/OOps/goto_ops.c.o
>       CMakeFiles/csound64.dir/OOps/midiinterop.c.o
>       CMakeFiles/csound64.dir/OOps/midiops.c.o
>       CMakeFiles/csound64.dir/OOps/midiout.c.o
>       CMakeFiles/csound64.dir/OOps/mxfft.c.o
>       CMakeFiles/csound64.dir/OOps/oscils.c.o
>       CMakeFiles/csound64.dir/OOps/pstream.c.o
>       CMakeFiles/csound64.dir/OOps/pvfileio.c.o
>       CMakeFiles/csound64.dir/OOps/pvsanal.c.o
>       CMakeFiles/csound64.dir/OOps/random.c.o
>       CMakeFiles/csound64.dir/OOps/remote.c.o
>       CMakeFiles/csound64.dir/OOps/schedule.c.o
>       CMakeFiles/csound64.dir/OOps/sndinfUG.c.o
>       CMakeFiles/csound64.dir/OOps/str_ops.c.o
>       CMakeFiles/csound64.dir/OOps/ugens1.c.o
>       CMakeFiles/csound64.dir/OOps/ugens2.c.o
>       CMakeFiles/csound64.dir/OOps/ugens3.c.o
>       CMakeFiles/csound64.dir/OOps/ugens4.c.o
>       CMakeFiles/csound64.dir/OOps/ugens5.c.o
>       CMakeFiles/csound64.dir/OOps/ugens6.c.o
>       CMakeFiles/csound64.dir/OOps/ugtabs.c.o
>       CMakeFiles/csound64.dir/OOps/ugrw1.c.o
>       CMakeFiles/csound64.dir/OOps/ugrw2.c.o
>       CMakeFiles/csound64.dir/OOps/vdelay.c.o
>       CMakeFiles/csound64.dir/OOps/compile_ops.c.o
>       CMakeFiles/csound64.dir/Opcodes/babo.c.o
>       CMakeFiles/csound64.dir/Opcodes/bilbar.c.o
>       CMakeFiles/csound64.dir/Opcodes/compress.c.o
>       CMakeFiles/csound64.dir/Opcodes/eqfil.c.o
>       CMakeFiles/csound64.dir/Opcodes/Vosim.c.o
>       CMakeFiles/csound64.dir/Opcodes/pinker.c.o
>       CMakeFiles/csound64.dir/Opcodes/pitch.c.o
>       CMakeFiles/csound64.dir/Opcodes/pitch0.c.o
>       CMakeFiles/csound64.dir/Opcodes/spectra.c.o
>       CMakeFiles/csound64.dir/Opcodes/ambicode1.c.o
>       CMakeFiles/csound64.dir/Opcodes/sfont.c.o
>       CMakeFiles/csound64.dir/Opcodes/grain4.c.o
>       CMakeFiles/csound64.dir/Opcodes/hrtferX.c.o
>       CMakeFiles/csound64.dir/Opcodes/loscilx.c.o
>       CMakeFiles/csound64.dir/Opcodes/minmax.c.o
>       CMakeFiles/csound64.dir/Opcodes/pan2.c.o
>       CMakeFiles/csound64.dir/Opcodes/arrays.c.o
>       CMakeFiles/csound64.dir/Opcodes/phisem.c.o
>       CMakeFiles/csound64.dir/Opcodes/hrtfopcodes.c.o
>       CMakeFiles/csound64.dir/Opcodes/vbap.c.o
>       CMakeFiles/csound64.dir/Opcodes/vbap1.c.o
>       CMakeFiles/csound64.dir/Opcodes/vbap_n.c.o
>       CMakeFiles/csound64.dir/Opcodes/vbap_zak.c.o
>       CMakeFiles/csound64.dir/Opcodes/vaops.c.o
>       CMakeFiles/csound64.dir/Opcodes/ugakbari.c.o
>       CMakeFiles/csound64.dir/Opcodes/harmon.c.o
>       CMakeFiles/csound64.dir/Opcodes/pitchtrack.c.o
>       CMakeFiles/csound64.dir/Opcodes/partikkel.c.o
>       CMakeFiles/csound64.dir/Opcodes/shape.c.o
>       CMakeFiles/csound64.dir/Opcodes/tabsum.c.o
>       CMakeFiles/csound64.dir/Opcodes/crossfm.c.o
>       CMakeFiles/csound64.dir/Opcodes/pvlock.c.o
>       CMakeFiles/csound64.dir/Opcodes/fareyseq.c.o
>       CMakeFiles/csound64.dir/Opcodes/modmatrix.c.o
>       CMakeFiles/csound64.dir/Opcodes/scoreline.c.o
>       CMakeFiles/csound64.dir/Opcodes/modal4.c.o
>       CMakeFiles/csound64.dir/Opcodes/physutil.c.o
>       CMakeFiles/csound64.dir/Opcodes/physmod.c.o
>       CMakeFiles/csound64.dir/Opcodes/mandolin.c.o
>       CMakeFiles/csound64.dir/Opcodes/singwave.c.o
>       CMakeFiles/csound64.dir/Opcodes/fm4op.c.o
>       CMakeFiles/csound64.dir/Opcodes/moog1.c.o
>       CMakeFiles/csound64.dir/Opcodes/shaker.c.o
>       CMakeFiles/csound64.dir/Opcodes/bowedbar.c.o
>       CMakeFiles/csound64.dir/Opcodes/gab/tabmorph.c.o
>       CMakeFiles/csound64.dir/Opcodes/gab/hvs.c.o
>       CMakeFiles/csound64.dir/Opcodes/gab/sliderTable.c.o
>       CMakeFiles/csound64.dir/Opcodes/gab/newgabopc.c.o
>       CMakeFiles/csound64.dir/Opcodes/ftest.c.o
>       CMakeFiles/csound64.dir/Opcodes/hrtfearly.c.o
>       CMakeFiles/csound64.dir/Opcodes/hrtfreverb.c.o
>       CMakeFiles/csound64.dir/Opcodes/cpumeter.c.o
>       CMakeFiles/csound64.dir/Opcodes/gendy.c.o
>       CMakeFiles/csound64.dir/Opcodes/tl/sc_noise.c.o
>       CMakeFiles/csound64.dir/Opcodes/afilters.c.o
>       CMakeFiles/csound64.dir/Opcodes/wpfilters.c.o
>       CMakeFiles/csound64.dir/Top/argdecode.c.o
>       CMakeFiles/csound64.dir/Top/csdebug.c.o
>       CMakeFiles/csound64.dir/Top/cscore_internal.c.o
>       CMakeFiles/csound64.dir/Top/cscorfns.c.o
>       CMakeFiles/csound64.dir/Top/csmodule.c.o
>       CMakeFiles/csound64.dir/Top/getstring.c.o
>       CMakeFiles/csound64.dir/Top/main.c.o
>       CMakeFiles/csound64.dir/Top/new_opts.c.o
>       CMakeFiles/csound64.dir/Top/one_file.c.o
>       CMakeFiles/csound64.dir/Top/opcode.c.o
>       CMakeFiles/csound64.dir/Top/threads.c.o
>       CMakeFiles/csound64.dir/Top/utility.c.o
>       CMakeFiles/csound64.dir/Top/threadsafe.c.o
>       CMakeFiles/csound64.dir/Top/server.c.o
>       CMakeFiles/csound64.dir/Opcodes/ambicode.c.o
>       CMakeFiles/csound64.dir/Opcodes/bbcut.c.o
>       CMakeFiles/csound64.dir/Opcodes/biquad.c.o
>       CMakeFiles/csound64.dir/Opcodes/butter.c.o
>       CMakeFiles/csound64.dir/Opcodes/clfilt.c.o
>       CMakeFiles/csound64.dir/Opcodes/cross2.c.o
>       CMakeFiles/csound64.dir/Opcodes/dam.c.o
>       CMakeFiles/csound64.dir/Opcodes/dcblockr.c.o
>       CMakeFiles/csound64.dir/Opcodes/filter.c.o
>       CMakeFiles/csound64.dir/Opcodes/flanger.c.o
>       CMakeFiles/csound64.dir/Opcodes/follow.c.o
>       CMakeFiles/csound64.dir/Opcodes/fout.c.o
>       CMakeFiles/csound64.dir/Opcodes/freeverb.c.o
>       CMakeFiles/csound64.dir/Opcodes/ftconv.c.o
>       CMakeFiles/csound64.dir/Opcodes/ftgen.c.o
>       CMakeFiles/csound64.dir/Opcodes/gab/gab.c.o
>       CMakeFiles/csound64.dir/Opcodes/gab/vectorial.c.o
>       CMakeFiles/csound64.dir/Opcodes/grain.c.o
>       CMakeFiles/csound64.dir/Opcodes/locsig.c.o
>       CMakeFiles/csound64.dir/Opcodes/lowpassr.c.o
>       CMakeFiles/csound64.dir/Opcodes/metro.c.o
>       CMakeFiles/csound64.dir/Opcodes/midiops2.c.o
>       CMakeFiles/csound64.dir/Opcodes/midiops3.c.o
>       CMakeFiles/csound64.dir/Opcodes/newfils.c.o
>       CMakeFiles/csound64.dir/Opcodes/nlfilt.c.o
>       CMakeFiles/csound64.dir/Opcodes/oscbnk.c.o
>       CMakeFiles/csound64.dir/Opcodes/pluck.c.o
>       CMakeFiles/csound64.dir/Opcodes/paulstretch.c.o
>       CMakeFiles/csound64.dir/Opcodes/repluck.c.o
>       CMakeFiles/csound64.dir/Opcodes/reverbsc.c.o
>       CMakeFiles/csound64.dir/Opcodes/seqtime.c.o
>       CMakeFiles/csound64.dir/Opcodes/sndloop.c.o
>       CMakeFiles/csound64.dir/Opcodes/sndwarp.c.o
>       CMakeFiles/csound64.dir/Opcodes/space.c.o
>       CMakeFiles/csound64.dir/Opcodes/spat3d.c.o
>       CMakeFiles/csound64.dir/Opcodes/syncgrain.c.o
>       CMakeFiles/csound64.dir/Opcodes/ugens7.c.o
>       CMakeFiles/csound64.dir/Opcodes/ugens9.c.o
>       CMakeFiles/csound64.dir/Opcodes/ugensa.c.o
>       CMakeFiles/csound64.dir/Opcodes/uggab.c.o
>       CMakeFiles/csound64.dir/Opcodes/ugmoss.c.o
>       CMakeFiles/csound64.dir/Opcodes/ugnorman.c.o
>       CMakeFiles/csound64.dir/Opcodes/ugsc.c.o
>       CMakeFiles/csound64.dir/Opcodes/wave-terrain.c.o
>       CMakeFiles/csound64.dir/Opcodes/stdopcod.c.o
>       CMakeFiles/csound64.dir/Opcodes/socksend.c.o
>       CMakeFiles/csound64.dir/Opcodes/sockrecv.c.o
>       CMakeFiles/csound64.dir/Opcodes/ifd.c.o
>       CMakeFiles/csound64.dir/Opcodes/partials.c.o
>       CMakeFiles/csound64.dir/Opcodes/psynth.c.o
>       CMakeFiles/csound64.dir/Opcodes/pvsbasic.c.o
>       CMakeFiles/csound64.dir/Opcodes/pvscent.c.o
>       CMakeFiles/csound64.dir/Opcodes/pvsdemix.c.o
>       CMakeFiles/csound64.dir/Opcodes/pvs_ops.c.o
>       CMakeFiles/csound64.dir/Opcodes/pvsband.c.o
>       CMakeFiles/csound64.dir/Opcodes/pvsbuffer.c.o
>       CMakeFiles/csound64.dir/Opcodes/pvsgendy.c.o
>       CMakeFiles/csound64.dir/Opcodes/dsputil.c.o
>       CMakeFiles/csound64.dir/Opcodes/pvadd.c.o
>       CMakeFiles/csound64.dir/Opcodes/pvinterp.c.o
>       CMakeFiles/csound64.dir/Opcodes/pvocext.c.o
>       CMakeFiles/csound64.dir/Opcodes/pvread.c.o
>       CMakeFiles/csound64.dir/Opcodes/ugens8.c.o
>       CMakeFiles/csound64.dir/Opcodes/vpvoc.c.o
>       CMakeFiles/csound64.dir/Opcodes/pvoc.c.o
>       CMakeFiles/csound64.dir/Opcodes/mp3in.c.o
>       CMakeFiles/csound64.dir/InOut/libmpadec/layer1.c.o
>       CMakeFiles/csound64.dir/InOut/libmpadec/layer2.c.o
>       CMakeFiles/csound64.dir/InOut/libmpadec/layer3.c.o
>       CMakeFiles/csound64.dir/InOut/libmpadec/synth.c.o
>       CMakeFiles/csound64.dir/InOut/libmpadec/tables.c.o
>       CMakeFiles/csound64.dir/InOut/libmpadec/mpadec.c.o
>       CMakeFiles/csound64.dir/InOut/libmpadec/mp3dec.c.o
>       CMakeFiles/csound64.dir/csound_orclex.c.o
>       CMakeFiles/csound64.dir/csound_orcparse.c.o
>       CMakeFiles/csound64.dir/csound_prelex.c.o
>       CMakeFiles/csound64.dir/Engine/csound_orc_semantics.c.o
>       CMakeFiles/csound64.dir/Engine/csound_orc_expressions.c.o
>       CMakeFiles/csound64.dir/Engine/csound_orc_optimize.c.o
>       CMakeFiles/csound64.dir/Engine/csound_orc_compile.c.o
>       CMakeFiles/csound64.dir/Engine/new_orc_parser.c.o
>       CMakeFiles/csound64.dir/Engine/symbtab.c.o
>       CMakeFiles/csound64.dir/csound_prslex.c.o
>       CMakeFiles/csound64.dir/Engine/cs_new_dispatch.c.o
>       CMakeFiles/csound64.dir/Engine/cs_par_base.c.o
>       CMakeFiles/csound64.dir/Engine/cs_par_orc_semantic_analysis.c.o
>       CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o -lsndfile
>       -lpthread -lm -ldl -lrt
>       /usr/bin/cmake -E cmake_symlink_library libcsound64.so.6.0
>       libcsound64.so.6.0 libcsound64.so
>       make[2]: Leaving directory '/home/sim/Src/csound/csound6.09'
>       [ 63%] Built target csound64
>       make[1]: Leaving directory '/home/sim/Src/csound/csound6.09'
>       Makefile:160: recipe for target 'all' failed
>       make: *** [all] Error 2
> 
> 
> On Mon, Jun 5, 2017 at 1:21 PM, Anders Genell 
> wrote:
>       Well, the build runs fine when I do not try to build the
>       cuda opcodes.
> 
> Where do I put CMAKE_MAKEFILE_VERBOSE? As a -D flag for cmake?
> 
> Regards,
> Anders
> 
> On Mon, Jun 5, 2017 at 1:10 PM, Victor Lazzarini
>  wrote:
>       The line you printed does not indicate a build  error
>       with the cuda opcodes. Try building with 
>       CMAKE_MAKEFILE_VERBOSE=1 so we can see what the errors
>       are.
>
>       Victor Lazzarini
>       Dean of Arts, Celtic Studies, and Philosophy
>       Maynooth University
>       Ireland
>
>       > On 5 Jun 2017, at 11:43, Anders Genell
>        wrote:
>       >
>       > Dear devs, particularly Prof. Lazzarini!
>       >
>       > I just pulled from git and built on a fairly modern
>       machine with a Nvidia GTX 780 hour. It has Ubuntu
>       17.04 installed, and I have installed the CUDA 8.0
>       toolkit. The build did not automatically find the CUDA
>       libs, and when forcing the CUDA opcodes build, I get a
>       build error. It doesn't really give much information
>       about the error, just
>       >
>       > [ 62%] Building C object
>       CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o
>       > [ 63%] Linking C shared library libcsound64.so
>       > [ 63%] Built target csound64
>       > Makefile:160: recipe for target 'all' failed
>       > make: *** [all] Error 2
>       >
>       > I saw something somewhere that CUDA doesn't support
>       gcc 5 yet, which might be the culprit. Has anyone else
>       run into this?
>       >
>       > Regards,
>       > Anders
> 
> 
> 
> 
>

Date2017-06-05 15:15
FromAnders Genell
SubjectRe: [Csnd-dev] CUDA (again)
Just using "make" without -j6 shows a bit more info, and it now does seem to be cuda related...

[ 63%] Building NVCC (Device) object Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o
CMake Warning (dev) at cudaop3_generated_slidingm.cu.o.cmake:81:
  Syntax Warning in cmake code at column 75

  Argument not separated from preceding token by whitespace.
This warning is for project developers.  Use -Wno-dev to suppress it.

nvcc fatal   : Stray '"' character
CMake Error at cudaop3_generated_slidingm.cu.o.cmake:222 (message):
  Error generating
  /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o


Opcodes/cuda/CMakeFiles/cudaop3.dir/build.make:63: recipe for target 'Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o' failed
make[2]: *** [Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o] Error 1
CMakeFiles/Makefile2:1656: recipe for target 'Opcodes/cuda/CMakeFiles/cudaop3.dir/all' failed
make[1]: *** [Opcodes/cuda/CMakeFiles/cudaop3.dir/all] Error 2
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2

On Mon, Jun 5, 2017 at 3:20 PM, jpff <jpff@codemist.co.uk> wrote:
It looks to me tat the error is earlier if building with -j6 o te ie

Tese messagesare OK and suggest aa broken .o file



On Mon, 5 Jun 2017, Victor Lazzarini wrote:

Are you building with make -j 6 ? I can't see where it is failing. If you are,
try just 'make'

Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 5 Jun 2017, at 12:41, Anders Genell <anders.genell@GMAIL.COM> wrote:

      Ok, got the verbosity up:

      [ 62%] Building C object
      CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o
      /usr/bin/cc 
      -DCS_DEFAULT_PLUGINDIR=\"/usr/local/lib/csound/plugins64-6.0\"
      -DHAVE_SOCKETS -DHAVE_STRTOD_L -DHAVE_STRTOK_R -DLINUX
      -DNO_FLTK_THREADS -DPIPES -DUSE_LRINT -D_CSOUND_RELEASE_
      -D_GNU_SOURCE -Dcsound64_EXPORTS -I/home/sim/Src/csound/./H
      -I/home/sim/Src/csound/./include -I/home/sim/Src/csound/./Engine
      -I/home/sim/Src/csound/. -I/home/sim/Src/csound/csound6.09
      -I/home/sim/Src/csound/csound6.09/include  -ffast-math
      -mfpmath=sse -msse2 -fomit-frame-pointer -fvisibility=hidden
      -DHAVE_ATOMIC_BUILTIN -DHAVE_PTHREAD -fPIC   -Wno-format  
      -D__BUILDING_LIBCSOUND -DHAVE_PTHREAD_SPIN_LOCK
      -DHAVE_PTHREAD_BARRIER_INIT -DPARCS -DGNU_GETTEXT -DHAVE_DIRENT_H
      -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H
      -DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H -DHAVE_VALUES_H -o
      CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o   -c
      /home/sim/Src/csound/Engine/cs_par_dispatch.c
      [ 63%] Linking C shared library libcsound64.so
      /usr/bin/cmake -E cmake_link_script
      CMakeFiles/csound64.dir/link.txt --verbose=1
      /usr/bin/cc  -fPIC  -ffast-math -mfpmath=sse -msse2
      -fomit-frame-pointer -fvisibility=hidden -DHAVE_ATOMIC_BUILTIN
      -DHAVE_PTHREAD  -shared -Wl,-soname,libcsound64.so.6.0 -o
      libcsound64.so.6.0 CMakeFiles/csound64.dir/Top/csound.c.o
      CMakeFiles/csound64.dir/Engine/auxfd.c.o
      CMakeFiles/csound64.dir/Engine/cfgvar.c.o
      CMakeFiles/csound64.dir/Engine/corfiles.c.o
      CMakeFiles/csound64.dir/Engine/entry1.c.o
      CMakeFiles/csound64.dir/Engine/envvar.c.o
      CMakeFiles/csound64.dir/Engine/extract.c.o
      CMakeFiles/csound64.dir/Engine/fgens.c.o
      CMakeFiles/csound64.dir/Engine/insert.c.o
      CMakeFiles/csound64.dir/Engine/linevent.c.o
      CMakeFiles/csound64.dir/Engine/memalloc.c.o
      CMakeFiles/csound64.dir/Engine/memfiles.c.o
      CMakeFiles/csound64.dir/Engine/musmon.c.o
      CMakeFiles/csound64.dir/Engine/namedins.c.o
      CMakeFiles/csound64.dir/Engine/rdscor.c.o
      CMakeFiles/csound64.dir/Engine/scsort.c.o
      CMakeFiles/csound64.dir/Engine/scxtract.c.o
      CMakeFiles/csound64.dir/Engine/sort.c.o
      CMakeFiles/csound64.dir/Engine/sread.c.o
      CMakeFiles/csound64.dir/Engine/swritestr.c.o
      CMakeFiles/csound64.dir/Engine/twarp.c.o
      CMakeFiles/csound64.dir/Engine/csound_type_system.c.o
      CMakeFiles/csound64.dir/Engine/csound_standard_types.c.o
      CMakeFiles/csound64.dir/Engine/csound_data_structures.c.o
      CMakeFiles/csound64.dir/Engine/pools.c.o
      CMakeFiles/csound64.dir/InOut/libsnd.c.o
      CMakeFiles/csound64.dir/InOut/libsnd_u.c.o
      CMakeFiles/csound64.dir/InOut/midifile.c.o
      CMakeFiles/csound64.dir/InOut/midirecv.c.o
      CMakeFiles/csound64.dir/InOut/midisend.c.o
      CMakeFiles/csound64.dir/InOut/winascii.c.o
      CMakeFiles/csound64.dir/InOut/windin.c.o
      CMakeFiles/csound64.dir/InOut/window.c.o
      CMakeFiles/csound64.dir/InOut/winEPS.c.o
      CMakeFiles/csound64.dir/InOut/circularbuffer.c.o
      CMakeFiles/csound64.dir/OOps/aops.c.o
      CMakeFiles/csound64.dir/OOps/bus.c.o
      CMakeFiles/csound64.dir/OOps/cmath.c.o
      CMakeFiles/csound64.dir/OOps/diskin2.c.o
      CMakeFiles/csound64.dir/OOps/disprep.c.o
      CMakeFiles/csound64.dir/OOps/dumpf.c.o
      CMakeFiles/csound64.dir/OOps/fftlib.c.o
      CMakeFiles/csound64.dir/OOps/pffft.c.o
      CMakeFiles/csound64.dir/OOps/goto_ops.c.o
      CMakeFiles/csound64.dir/OOps/midiinterop.c.o
      CMakeFiles/csound64.dir/OOps/midiops.c.o
      CMakeFiles/csound64.dir/OOps/midiout.c.o
      CMakeFiles/csound64.dir/OOps/mxfft.c.o
      CMakeFiles/csound64.dir/OOps/oscils.c.o
      CMakeFiles/csound64.dir/OOps/pstream.c.o
      CMakeFiles/csound64.dir/OOps/pvfileio.c.o
      CMakeFiles/csound64.dir/OOps/pvsanal.c.o
      CMakeFiles/csound64.dir/OOps/random.c.o
      CMakeFiles/csound64.dir/OOps/remote.c.o
      CMakeFiles/csound64.dir/OOps/schedule.c.o
      CMakeFiles/csound64.dir/OOps/sndinfUG.c.o
      CMakeFiles/csound64.dir/OOps/str_ops.c.o
      CMakeFiles/csound64.dir/OOps/ugens1.c.o
      CMakeFiles/csound64.dir/OOps/ugens2.c.o
      CMakeFiles/csound64.dir/OOps/ugens3.c.o
      CMakeFiles/csound64.dir/OOps/ugens4.c.o
      CMakeFiles/csound64.dir/OOps/ugens5.c.o
      CMakeFiles/csound64.dir/OOps/ugens6.c.o
      CMakeFiles/csound64.dir/OOps/ugtabs.c.o
      CMakeFiles/csound64.dir/OOps/ugrw1.c.o
      CMakeFiles/csound64.dir/OOps/ugrw2.c.o
      CMakeFiles/csound64.dir/OOps/vdelay.c.o
      CMakeFiles/csound64.dir/OOps/compile_ops.c.o
      CMakeFiles/csound64.dir/Opcodes/babo.c.o
      CMakeFiles/csound64.dir/Opcodes/bilbar.c.o
      CMakeFiles/csound64.dir/Opcodes/compress.c.o
      CMakeFiles/csound64.dir/Opcodes/eqfil.c.o
      CMakeFiles/csound64.dir/Opcodes/Vosim.c.o
      CMakeFiles/csound64.dir/Opcodes/pinker.c.o
      CMakeFiles/csound64.dir/Opcodes/pitch.c.o
      CMakeFiles/csound64.dir/Opcodes/pitch0.c.o
      CMakeFiles/csound64.dir/Opcodes/spectra.c.o
      CMakeFiles/csound64.dir/Opcodes/ambicode1.c.o
      CMakeFiles/csound64.dir/Opcodes/sfont.c.o
      CMakeFiles/csound64.dir/Opcodes/grain4.c.o
      CMakeFiles/csound64.dir/Opcodes/hrtferX.c.o
      CMakeFiles/csound64.dir/Opcodes/loscilx.c.o
      CMakeFiles/csound64.dir/Opcodes/minmax.c.o
      CMakeFiles/csound64.dir/Opcodes/pan2.c.o
      CMakeFiles/csound64.dir/Opcodes/arrays.c.o
      CMakeFiles/csound64.dir/Opcodes/phisem.c.o
      CMakeFiles/csound64.dir/Opcodes/hrtfopcodes.c.o
      CMakeFiles/csound64.dir/Opcodes/vbap.c.o
      CMakeFiles/csound64.dir/Opcodes/vbap1.c.o
      CMakeFiles/csound64.dir/Opcodes/vbap_n.c.o
      CMakeFiles/csound64.dir/Opcodes/vbap_zak.c.o
      CMakeFiles/csound64.dir/Opcodes/vaops.c.o
      CMakeFiles/csound64.dir/Opcodes/ugakbari.c.o
      CMakeFiles/csound64.dir/Opcodes/harmon.c.o
      CMakeFiles/csound64.dir/Opcodes/pitchtrack.c.o
      CMakeFiles/csound64.dir/Opcodes/partikkel.c.o
      CMakeFiles/csound64.dir/Opcodes/shape.c.o
      CMakeFiles/csound64.dir/Opcodes/tabsum.c.o
      CMakeFiles/csound64.dir/Opcodes/crossfm.c.o
      CMakeFiles/csound64.dir/Opcodes/pvlock.c.o
      CMakeFiles/csound64.dir/Opcodes/fareyseq.c.o
      CMakeFiles/csound64.dir/Opcodes/modmatrix.c.o
      CMakeFiles/csound64.dir/Opcodes/scoreline.c.o
      CMakeFiles/csound64.dir/Opcodes/modal4.c.o
      CMakeFiles/csound64.dir/Opcodes/physutil.c.o
      CMakeFiles/csound64.dir/Opcodes/physmod.c.o
      CMakeFiles/csound64.dir/Opcodes/mandolin.c.o
      CMakeFiles/csound64.dir/Opcodes/singwave.c.o
      CMakeFiles/csound64.dir/Opcodes/fm4op.c.o
      CMakeFiles/csound64.dir/Opcodes/moog1.c.o
      CMakeFiles/csound64.dir/Opcodes/shaker.c.o
      CMakeFiles/csound64.dir/Opcodes/bowedbar.c.o
      CMakeFiles/csound64.dir/Opcodes/gab/tabmorph.c.o
      CMakeFiles/csound64.dir/Opcodes/gab/hvs.c.o
      CMakeFiles/csound64.dir/Opcodes/gab/sliderTable.c.o
      CMakeFiles/csound64.dir/Opcodes/gab/newgabopc.c.o
      CMakeFiles/csound64.dir/Opcodes/ftest.c.o
      CMakeFiles/csound64.dir/Opcodes/hrtfearly.c.o
      CMakeFiles/csound64.dir/Opcodes/hrtfreverb.c.o
      CMakeFiles/csound64.dir/Opcodes/cpumeter.c.o
      CMakeFiles/csound64.dir/Opcodes/gendy.c.o
      CMakeFiles/csound64.dir/Opcodes/tl/sc_noise.c.o
      CMakeFiles/csound64.dir/Opcodes/afilters.c.o
      CMakeFiles/csound64.dir/Opcodes/wpfilters.c.o
      CMakeFiles/csound64.dir/Top/argdecode.c.o
      CMakeFiles/csound64.dir/Top/csdebug.c.o
      CMakeFiles/csound64.dir/Top/cscore_internal.c.o
      CMakeFiles/csound64.dir/Top/cscorfns.c.o
      CMakeFiles/csound64.dir/Top/csmodule.c.o
      CMakeFiles/csound64.dir/Top/getstring.c.o
      CMakeFiles/csound64.dir/Top/main.c.o
      CMakeFiles/csound64.dir/Top/new_opts.c.o
      CMakeFiles/csound64.dir/Top/one_file.c.o
      CMakeFiles/csound64.dir/Top/opcode.c.o
      CMakeFiles/csound64.dir/Top/threads.c.o
      CMakeFiles/csound64.dir/Top/utility.c.o
      CMakeFiles/csound64.dir/Top/threadsafe.c.o
      CMakeFiles/csound64.dir/Top/server.c.o
      CMakeFiles/csound64.dir/Opcodes/ambicode.c.o
      CMakeFiles/csound64.dir/Opcodes/bbcut.c.o
      CMakeFiles/csound64.dir/Opcodes/biquad.c.o
      CMakeFiles/csound64.dir/Opcodes/butter.c.o
      CMakeFiles/csound64.dir/Opcodes/clfilt.c.o
      CMakeFiles/csound64.dir/Opcodes/cross2.c.o
      CMakeFiles/csound64.dir/Opcodes/dam.c.o
      CMakeFiles/csound64.dir/Opcodes/dcblockr.c.o
      CMakeFiles/csound64.dir/Opcodes/filter.c.o
      CMakeFiles/csound64.dir/Opcodes/flanger.c.o
      CMakeFiles/csound64.dir/Opcodes/follow.c.o
      CMakeFiles/csound64.dir/Opcodes/fout.c.o
      CMakeFiles/csound64.dir/Opcodes/freeverb.c.o
      CMakeFiles/csound64.dir/Opcodes/ftconv.c.o
      CMakeFiles/csound64.dir/Opcodes/ftgen.c.o
      CMakeFiles/csound64.dir/Opcodes/gab/gab.c.o
      CMakeFiles/csound64.dir/Opcodes/gab/vectorial.c.o
      CMakeFiles/csound64.dir/Opcodes/grain.c.o
      CMakeFiles/csound64.dir/Opcodes/locsig.c.o
      CMakeFiles/csound64.dir/Opcodes/lowpassr.c.o
      CMakeFiles/csound64.dir/Opcodes/metro.c.o
      CMakeFiles/csound64.dir/Opcodes/midiops2.c.o
      CMakeFiles/csound64.dir/Opcodes/midiops3.c.o
      CMakeFiles/csound64.dir/Opcodes/newfils.c.o
      CMakeFiles/csound64.dir/Opcodes/nlfilt.c.o
      CMakeFiles/csound64.dir/Opcodes/oscbnk.c.o
      CMakeFiles/csound64.dir/Opcodes/pluck.c.o
      CMakeFiles/csound64.dir/Opcodes/paulstretch.c.o
      CMakeFiles/csound64.dir/Opcodes/repluck.c.o
      CMakeFiles/csound64.dir/Opcodes/reverbsc.c.o
      CMakeFiles/csound64.dir/Opcodes/seqtime.c.o
      CMakeFiles/csound64.dir/Opcodes/sndloop.c.o
      CMakeFiles/csound64.dir/Opcodes/sndwarp.c.o
      CMakeFiles/csound64.dir/Opcodes/space.c.o
      CMakeFiles/csound64.dir/Opcodes/spat3d.c.o
      CMakeFiles/csound64.dir/Opcodes/syncgrain.c.o
      CMakeFiles/csound64.dir/Opcodes/ugens7.c.o
      CMakeFiles/csound64.dir/Opcodes/ugens9.c.o
      CMakeFiles/csound64.dir/Opcodes/ugensa.c.o
      CMakeFiles/csound64.dir/Opcodes/uggab.c.o
      CMakeFiles/csound64.dir/Opcodes/ugmoss.c.o
      CMakeFiles/csound64.dir/Opcodes/ugnorman.c.o
      CMakeFiles/csound64.dir/Opcodes/ugsc.c.o
      CMakeFiles/csound64.dir/Opcodes/wave-terrain.c.o
      CMakeFiles/csound64.dir/Opcodes/stdopcod.c.o
      CMakeFiles/csound64.dir/Opcodes/socksend.c.o
      CMakeFiles/csound64.dir/Opcodes/sockrecv.c.o
      CMakeFiles/csound64.dir/Opcodes/ifd.c.o
      CMakeFiles/csound64.dir/Opcodes/partials.c.o
      CMakeFiles/csound64.dir/Opcodes/psynth.c.o
      CMakeFiles/csound64.dir/Opcodes/pvsbasic.c.o
      CMakeFiles/csound64.dir/Opcodes/pvscent.c.o
      CMakeFiles/csound64.dir/Opcodes/pvsdemix.c.o
      CMakeFiles/csound64.dir/Opcodes/pvs_ops.c.o
      CMakeFiles/csound64.dir/Opcodes/pvsband.c.o
      CMakeFiles/csound64.dir/Opcodes/pvsbuffer.c.o
      CMakeFiles/csound64.dir/Opcodes/pvsgendy.c.o
      CMakeFiles/csound64.dir/Opcodes/dsputil.c.o
      CMakeFiles/csound64.dir/Opcodes/pvadd.c.o
      CMakeFiles/csound64.dir/Opcodes/pvinterp.c.o
      CMakeFiles/csound64.dir/Opcodes/pvocext.c.o
      CMakeFiles/csound64.dir/Opcodes/pvread.c.o
      CMakeFiles/csound64.dir/Opcodes/ugens8.c.o
      CMakeFiles/csound64.dir/Opcodes/vpvoc.c.o
      CMakeFiles/csound64.dir/Opcodes/pvoc.c.o
      CMakeFiles/csound64.dir/Opcodes/mp3in.c.o
      CMakeFiles/csound64.dir/InOut/libmpadec/layer1.c.o
      CMakeFiles/csound64.dir/InOut/libmpadec/layer2.c.o
      CMakeFiles/csound64.dir/InOut/libmpadec/layer3.c.o
      CMakeFiles/csound64.dir/InOut/libmpadec/synth.c.o
      CMakeFiles/csound64.dir/InOut/libmpadec/tables.c.o
      CMakeFiles/csound64.dir/InOut/libmpadec/mpadec.c.o
      CMakeFiles/csound64.dir/InOut/libmpadec/mp3dec.c.o
      CMakeFiles/csound64.dir/csound_orclex.c.o
      CMakeFiles/csound64.dir/csound_orcparse.c.o
      CMakeFiles/csound64.dir/csound_prelex.c.o
      CMakeFiles/csound64.dir/Engine/csound_orc_semantics.c.o
      CMakeFiles/csound64.dir/Engine/csound_orc_expressions.c.o
      CMakeFiles/csound64.dir/Engine/csound_orc_optimize.c.o
      CMakeFiles/csound64.dir/Engine/csound_orc_compile.c.o
      CMakeFiles/csound64.dir/Engine/new_orc_parser.c.o
      CMakeFiles/csound64.dir/Engine/symbtab.c.o
      CMakeFiles/csound64.dir/csound_prslex.c.o
      CMakeFiles/csound64.dir/Engine/cs_new_dispatch.c.o
      CMakeFiles/csound64.dir/Engine/cs_par_base.c.o
      CMakeFiles/csound64.dir/Engine/cs_par_orc_semantic_analysis.c.o
      CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o -lsndfile
      -lpthread -lm -ldl -lrt
      /usr/bin/cmake -E cmake_symlink_library libcsound64.so.6.0
      libcsound64.so.6.0 libcsound64.so
      make[2]: Leaving directory '/home/sim/Src/csound/csound6.09'
      [ 63%] Built target csound64
      make[1]: Leaving directory '/home/sim/Src/csound/csound6.09'
      Makefile:160: recipe for target 'all' failed
      make: *** [all] Error 2


On Mon, Jun 5, 2017 at 1:21 PM, Anders Genell <anders.genell@gmail.com>
wrote:
      Well, the build runs fine when I do not try to build the
      cuda opcodes.

Where do I put CMAKE_MAKEFILE_VERBOSE? As a -D flag for cmake?

Regards,
Anders

On Mon, Jun 5, 2017 at 1:10 PM, Victor Lazzarini
<Victor.Lazzarini@nuim.ie> wrote:
      The line you printed does not indicate a build  error
      with the cuda opcodes. Try building with 
      CMAKE_MAKEFILE_VERBOSE=1 so we can see what the errors
      are.

      Victor Lazzarini
      Dean of Arts, Celtic Studies, and Philosophy
      Maynooth University
      Ireland

      > On 5 Jun 2017, at 11:43, Anders Genell
      <anders.genell@GMAIL.COM> wrote:
      >
      > Dear devs, particularly Prof. Lazzarini!
      >
      > I just pulled from git and built on a fairly modern
      machine with a Nvidia GTX 780 hour. It has Ubuntu
      17.04 installed, and I have installed the CUDA 8.0
      toolkit. The build did not automatically find the CUDA
      libs, and when forcing the CUDA opcodes build, I get a
      build error. It doesn't really give much information
      about the error, just
      >
      > [ 62%] Building C object
      CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o
      > [ 63%] Linking C shared library libcsound64.so
      > [ 63%] Built target csound64
      > Makefile:160: recipe for target 'all' failed
      > make: *** [all] Error 2
      >
      > I saw something somewhere that CUDA doesn't support
      gcc 5 yet, which might be the culprit. Has anyone else
      run into this?
      >
      > Regards,
      > Anders






Date2017-06-05 19:13
FromVictor Lazzarini
SubjectRe: [Csnd-dev] CUDA (again)
can you do a make clean, then just make ?

I want to see what happened in the compilation of the .o file.
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 5 Jun 2017, at 15:15, Anders Genell  wrote:
> 
> Just using "make" without -j6 shows a bit more info, and it now does seem to be cuda related...
> 
> [ 63%] Building NVCC (Device) object Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o
> CMake Warning (dev) at cudaop3_generated_slidingm.cu.o.cmake:81:
>   Syntax Warning in cmake code at column 75
> 
>   Argument not separated from preceding token by whitespace.
> This warning is for project developers.  Use -Wno-dev to suppress it.
> 
> nvcc fatal   : Stray '"' character
> CMake Error at cudaop3_generated_slidingm.cu.o.cmake:222 (message):
>   Error generating
>   /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o
> 
> 
> Opcodes/cuda/CMakeFiles/cudaop3.dir/build.make:63: recipe for target 'Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o' failed
> make[2]: *** [Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o] Error 1
> CMakeFiles/Makefile2:1656: recipe for target 'Opcodes/cuda/CMakeFiles/cudaop3.dir/all' failed
> make[1]: *** [Opcodes/cuda/CMakeFiles/cudaop3.dir/all] Error 2
> Makefile:160: recipe for target 'all' failed
> make: *** [all] Error 2
> 
> On Mon, Jun 5, 2017 at 3:20 PM, jpff  wrote:
> It looks to me tat the error is earlier if building with -j6 o te ie
> 
> Tese messagesare OK and suggest aa broken .o file
> 
> 
> 
> On Mon, 5 Jun 2017, Victor Lazzarini wrote:
> 
> Are you building with make -j 6 ? I can't see where it is failing. If you are,
> try just 'make'
> 
> Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy
> Maynooth University
> Ireland
> 
> On 5 Jun 2017, at 12:41, Anders Genell  wrote:
> 
>       Ok, got the verbosity up:
> 
>       [ 62%] Building C object
>       CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o
>       /usr/bin/cc 
>       -DCS_DEFAULT_PLUGINDIR=\"/usr/local/lib/csound/plugins64-6.0\"
>       -DHAVE_SOCKETS -DHAVE_STRTOD_L -DHAVE_STRTOK_R -DLINUX
>       -DNO_FLTK_THREADS -DPIPES -DUSE_LRINT -D_CSOUND_RELEASE_
>       -D_GNU_SOURCE -Dcsound64_EXPORTS -I/home/sim/Src/csound/./H
>       -I/home/sim/Src/csound/./include -I/home/sim/Src/csound/./Engine
>       -I/home/sim/Src/csound/. -I/home/sim/Src/csound/csound6.09
>       -I/home/sim/Src/csound/csound6.09/include  -ffast-math
>       -mfpmath=sse -msse2 -fomit-frame-pointer -fvisibility=hidden
>       -DHAVE_ATOMIC_BUILTIN -DHAVE_PTHREAD -fPIC   -Wno-format  
>       -D__BUILDING_LIBCSOUND -DHAVE_PTHREAD_SPIN_LOCK
>       -DHAVE_PTHREAD_BARRIER_INIT -DPARCS -DGNU_GETTEXT -DHAVE_DIRENT_H
>       -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H
>       -DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H -DHAVE_VALUES_H -o
>       CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o   -c
>       /home/sim/Src/csound/Engine/cs_par_dispatch.c
>       [ 63%] Linking C shared library libcsound64.so
>       /usr/bin/cmake -E cmake_link_script
>       CMakeFiles/csound64.dir/link.txt --verbose=1
>       /usr/bin/cc  -fPIC  -ffast-math -mfpmath=sse -msse2
>       -fomit-frame-pointer -fvisibility=hidden -DHAVE_ATOMIC_BUILTIN
>       -DHAVE_PTHREAD  -shared -Wl,-soname,libcsound64.so.6.0 -o
>       libcsound64.so.6.0 CMakeFiles/csound64.dir/Top/csound.c.o
>       CMakeFiles/csound64.dir/Engine/auxfd.c.o
>       CMakeFiles/csound64.dir/Engine/cfgvar.c.o
>       CMakeFiles/csound64.dir/Engine/corfiles.c.o
>       CMakeFiles/csound64.dir/Engine/entry1.c.o
>       CMakeFiles/csound64.dir/Engine/envvar.c.o
>       CMakeFiles/csound64.dir/Engine/extract.c.o
>       CMakeFiles/csound64.dir/Engine/fgens.c.o
>       CMakeFiles/csound64.dir/Engine/insert.c.o
>       CMakeFiles/csound64.dir/Engine/linevent.c.o
>       CMakeFiles/csound64.dir/Engine/memalloc.c.o
>       CMakeFiles/csound64.dir/Engine/memfiles.c.o
>       CMakeFiles/csound64.dir/Engine/musmon.c.o
>       CMakeFiles/csound64.dir/Engine/namedins.c.o
>       CMakeFiles/csound64.dir/Engine/rdscor.c.o
>       CMakeFiles/csound64.dir/Engine/scsort.c.o
>       CMakeFiles/csound64.dir/Engine/scxtract.c.o
>       CMakeFiles/csound64.dir/Engine/sort.c.o
>       CMakeFiles/csound64.dir/Engine/sread.c.o
>       CMakeFiles/csound64.dir/Engine/swritestr.c.o
>       CMakeFiles/csound64.dir/Engine/twarp.c.o
>       CMakeFiles/csound64.dir/Engine/csound_type_system.c.o
>       CMakeFiles/csound64.dir/Engine/csound_standard_types.c.o
>       CMakeFiles/csound64.dir/Engine/csound_data_structures.c.o
>       CMakeFiles/csound64.dir/Engine/pools.c.o
>       CMakeFiles/csound64.dir/InOut/libsnd.c.o
>       CMakeFiles/csound64.dir/InOut/libsnd_u.c.o
>       CMakeFiles/csound64.dir/InOut/midifile.c.o
>       CMakeFiles/csound64.dir/InOut/midirecv.c.o
>       CMakeFiles/csound64.dir/InOut/midisend.c.o
>       CMakeFiles/csound64.dir/InOut/winascii.c.o
>       CMakeFiles/csound64.dir/InOut/windin.c.o
>       CMakeFiles/csound64.dir/InOut/window.c.o
>       CMakeFiles/csound64.dir/InOut/winEPS.c.o
>       CMakeFiles/csound64.dir/InOut/circularbuffer.c.o
>       CMakeFiles/csound64.dir/OOps/aops.c.o
>       CMakeFiles/csound64.dir/OOps/bus.c.o
>       CMakeFiles/csound64.dir/OOps/cmath.c.o
>       CMakeFiles/csound64.dir/OOps/diskin2.c.o
>       CMakeFiles/csound64.dir/OOps/disprep.c.o
>       CMakeFiles/csound64.dir/OOps/dumpf.c.o
>       CMakeFiles/csound64.dir/OOps/fftlib.c.o
>       CMakeFiles/csound64.dir/OOps/pffft.c.o
>       CMakeFiles/csound64.dir/OOps/goto_ops.c.o
>       CMakeFiles/csound64.dir/OOps/midiinterop.c.o
>       CMakeFiles/csound64.dir/OOps/midiops.c.o
>       CMakeFiles/csound64.dir/OOps/midiout.c.o
>       CMakeFiles/csound64.dir/OOps/mxfft.c.o
>       CMakeFiles/csound64.dir/OOps/oscils.c.o
>       CMakeFiles/csound64.dir/OOps/pstream.c.o
>       CMakeFiles/csound64.dir/OOps/pvfileio.c.o
>       CMakeFiles/csound64.dir/OOps/pvsanal.c.o
>       CMakeFiles/csound64.dir/OOps/random.c.o
>       CMakeFiles/csound64.dir/OOps/remote.c.o
>       CMakeFiles/csound64.dir/OOps/schedule.c.o
>       CMakeFiles/csound64.dir/OOps/sndinfUG.c.o
>       CMakeFiles/csound64.dir/OOps/str_ops.c.o
>       CMakeFiles/csound64.dir/OOps/ugens1.c.o
>       CMakeFiles/csound64.dir/OOps/ugens2.c.o
>       CMakeFiles/csound64.dir/OOps/ugens3.c.o
>       CMakeFiles/csound64.dir/OOps/ugens4.c.o
>       CMakeFiles/csound64.dir/OOps/ugens5.c.o
>       CMakeFiles/csound64.dir/OOps/ugens6.c.o
>       CMakeFiles/csound64.dir/OOps/ugtabs.c.o
>       CMakeFiles/csound64.dir/OOps/ugrw1.c.o
>       CMakeFiles/csound64.dir/OOps/ugrw2.c.o
>       CMakeFiles/csound64.dir/OOps/vdelay.c.o
>       CMakeFiles/csound64.dir/OOps/compile_ops.c.o
>       CMakeFiles/csound64.dir/Opcodes/babo.c.o
>       CMakeFiles/csound64.dir/Opcodes/bilbar.c.o
>       CMakeFiles/csound64.dir/Opcodes/compress.c.o
>       CMakeFiles/csound64.dir/Opcodes/eqfil.c.o
>       CMakeFiles/csound64.dir/Opcodes/Vosim.c.o
>       CMakeFiles/csound64.dir/Opcodes/pinker.c.o
>       CMakeFiles/csound64.dir/Opcodes/pitch.c.o
>       CMakeFiles/csound64.dir/Opcodes/pitch0.c.o
>       CMakeFiles/csound64.dir/Opcodes/spectra.c.o
>       CMakeFiles/csound64.dir/Opcodes/ambicode1.c.o
>       CMakeFiles/csound64.dir/Opcodes/sfont.c.o
>       CMakeFiles/csound64.dir/Opcodes/grain4.c.o
>       CMakeFiles/csound64.dir/Opcodes/hrtferX.c.o
>       CMakeFiles/csound64.dir/Opcodes/loscilx.c.o
>       CMakeFiles/csound64.dir/Opcodes/minmax.c.o
>       CMakeFiles/csound64.dir/Opcodes/pan2.c.o
>       CMakeFiles/csound64.dir/Opcodes/arrays.c.o
>       CMakeFiles/csound64.dir/Opcodes/phisem.c.o
>       CMakeFiles/csound64.dir/Opcodes/hrtfopcodes.c.o
>       CMakeFiles/csound64.dir/Opcodes/vbap.c.o
>       CMakeFiles/csound64.dir/Opcodes/vbap1.c.o
>       CMakeFiles/csound64.dir/Opcodes/vbap_n.c.o
>       CMakeFiles/csound64.dir/Opcodes/vbap_zak.c.o
>       CMakeFiles/csound64.dir/Opcodes/vaops.c.o
>       CMakeFiles/csound64.dir/Opcodes/ugakbari.c.o
>       CMakeFiles/csound64.dir/Opcodes/harmon.c.o
>       CMakeFiles/csound64.dir/Opcodes/pitchtrack.c.o
>       CMakeFiles/csound64.dir/Opcodes/partikkel.c.o
>       CMakeFiles/csound64.dir/Opcodes/shape.c.o
>       CMakeFiles/csound64.dir/Opcodes/tabsum.c.o
>       CMakeFiles/csound64.dir/Opcodes/crossfm.c.o
>       CMakeFiles/csound64.dir/Opcodes/pvlock.c.o
>       CMakeFiles/csound64.dir/Opcodes/fareyseq.c.o
>       CMakeFiles/csound64.dir/Opcodes/modmatrix.c.o
>       CMakeFiles/csound64.dir/Opcodes/scoreline.c.o
>       CMakeFiles/csound64.dir/Opcodes/modal4.c.o
>       CMakeFiles/csound64.dir/Opcodes/physutil.c.o
>       CMakeFiles/csound64.dir/Opcodes/physmod.c.o
>       CMakeFiles/csound64.dir/Opcodes/mandolin.c.o
>       CMakeFiles/csound64.dir/Opcodes/singwave.c.o
>       CMakeFiles/csound64.dir/Opcodes/fm4op.c.o
>       CMakeFiles/csound64.dir/Opcodes/moog1.c.o
>       CMakeFiles/csound64.dir/Opcodes/shaker.c.o
>       CMakeFiles/csound64.dir/Opcodes/bowedbar.c.o
>       CMakeFiles/csound64.dir/Opcodes/gab/tabmorph.c.o
>       CMakeFiles/csound64.dir/Opcodes/gab/hvs.c.o
>       CMakeFiles/csound64.dir/Opcodes/gab/sliderTable.c.o
>       CMakeFiles/csound64.dir/Opcodes/gab/newgabopc.c.o
>       CMakeFiles/csound64.dir/Opcodes/ftest.c.o
>       CMakeFiles/csound64.dir/Opcodes/hrtfearly.c.o
>       CMakeFiles/csound64.dir/Opcodes/hrtfreverb.c.o
>       CMakeFiles/csound64.dir/Opcodes/cpumeter.c.o
>       CMakeFiles/csound64.dir/Opcodes/gendy.c.o
>       CMakeFiles/csound64.dir/Opcodes/tl/sc_noise.c.o
>       CMakeFiles/csound64.dir/Opcodes/afilters.c.o
>       CMakeFiles/csound64.dir/Opcodes/wpfilters.c.o
>       CMakeFiles/csound64.dir/Top/argdecode.c.o
>       CMakeFiles/csound64.dir/Top/csdebug.c.o
>       CMakeFiles/csound64.dir/Top/cscore_internal.c.o
>       CMakeFiles/csound64.dir/Top/cscorfns.c.o
>       CMakeFiles/csound64.dir/Top/csmodule.c.o
>       CMakeFiles/csound64.dir/Top/getstring.c.o
>       CMakeFiles/csound64.dir/Top/main.c.o
>       CMakeFiles/csound64.dir/Top/new_opts.c.o
>       CMakeFiles/csound64.dir/Top/one_file.c.o
>       CMakeFiles/csound64.dir/Top/opcode.c.o
>       CMakeFiles/csound64.dir/Top/threads.c.o
>       CMakeFiles/csound64.dir/Top/utility.c.o
>       CMakeFiles/csound64.dir/Top/threadsafe.c.o
>       CMakeFiles/csound64.dir/Top/server.c.o
>       CMakeFiles/csound64.dir/Opcodes/ambicode.c.o
>       CMakeFiles/csound64.dir/Opcodes/bbcut.c.o
>       CMakeFiles/csound64.dir/Opcodes/biquad.c.o
>       CMakeFiles/csound64.dir/Opcodes/butter.c.o
>       CMakeFiles/csound64.dir/Opcodes/clfilt.c.o
>       CMakeFiles/csound64.dir/Opcodes/cross2.c.o
>       CMakeFiles/csound64.dir/Opcodes/dam.c.o
>       CMakeFiles/csound64.dir/Opcodes/dcblockr.c.o
>       CMakeFiles/csound64.dir/Opcodes/filter.c.o
>       CMakeFiles/csound64.dir/Opcodes/flanger.c.o
>       CMakeFiles/csound64.dir/Opcodes/follow.c.o
>       CMakeFiles/csound64.dir/Opcodes/fout.c.o
>       CMakeFiles/csound64.dir/Opcodes/freeverb.c.o
>       CMakeFiles/csound64.dir/Opcodes/ftconv.c.o
>       CMakeFiles/csound64.dir/Opcodes/ftgen.c.o
>       CMakeFiles/csound64.dir/Opcodes/gab/gab.c.o
>       CMakeFiles/csound64.dir/Opcodes/gab/vectorial.c.o
>       CMakeFiles/csound64.dir/Opcodes/grain.c.o
>       CMakeFiles/csound64.dir/Opcodes/locsig.c.o
>       CMakeFiles/csound64.dir/Opcodes/lowpassr.c.o
>       CMakeFiles/csound64.dir/Opcodes/metro.c.o
>       CMakeFiles/csound64.dir/Opcodes/midiops2.c.o
>       CMakeFiles/csound64.dir/Opcodes/midiops3.c.o
>       CMakeFiles/csound64.dir/Opcodes/newfils.c.o
>       CMakeFiles/csound64.dir/Opcodes/nlfilt.c.o
>       CMakeFiles/csound64.dir/Opcodes/oscbnk.c.o
>       CMakeFiles/csound64.dir/Opcodes/pluck.c.o
>       CMakeFiles/csound64.dir/Opcodes/paulstretch.c.o
>       CMakeFiles/csound64.dir/Opcodes/repluck.c.o
>       CMakeFiles/csound64.dir/Opcodes/reverbsc.c.o
>       CMakeFiles/csound64.dir/Opcodes/seqtime.c.o
>       CMakeFiles/csound64.dir/Opcodes/sndloop.c.o
>       CMakeFiles/csound64.dir/Opcodes/sndwarp.c.o
>       CMakeFiles/csound64.dir/Opcodes/space.c.o
>       CMakeFiles/csound64.dir/Opcodes/spat3d.c.o
>       CMakeFiles/csound64.dir/Opcodes/syncgrain.c.o
>       CMakeFiles/csound64.dir/Opcodes/ugens7.c.o
>       CMakeFiles/csound64.dir/Opcodes/ugens9.c.o
>       CMakeFiles/csound64.dir/Opcodes/ugensa.c.o
>       CMakeFiles/csound64.dir/Opcodes/uggab.c.o
>       CMakeFiles/csound64.dir/Opcodes/ugmoss.c.o
>       CMakeFiles/csound64.dir/Opcodes/ugnorman.c.o
>       CMakeFiles/csound64.dir/Opcodes/ugsc.c.o
>       CMakeFiles/csound64.dir/Opcodes/wave-terrain.c.o
>       CMakeFiles/csound64.dir/Opcodes/stdopcod.c.o
>       CMakeFiles/csound64.dir/Opcodes/socksend.c.o
>       CMakeFiles/csound64.dir/Opcodes/sockrecv.c.o
>       CMakeFiles/csound64.dir/Opcodes/ifd.c.o
>       CMakeFiles/csound64.dir/Opcodes/partials.c.o
>       CMakeFiles/csound64.dir/Opcodes/psynth.c.o
>       CMakeFiles/csound64.dir/Opcodes/pvsbasic.c.o
>       CMakeFiles/csound64.dir/Opcodes/pvscent.c.o
>       CMakeFiles/csound64.dir/Opcodes/pvsdemix.c.o
>       CMakeFiles/csound64.dir/Opcodes/pvs_ops.c.o
>       CMakeFiles/csound64.dir/Opcodes/pvsband.c.o
>       CMakeFiles/csound64.dir/Opcodes/pvsbuffer.c.o
>       CMakeFiles/csound64.dir/Opcodes/pvsgendy.c.o
>       CMakeFiles/csound64.dir/Opcodes/dsputil.c.o
>       CMakeFiles/csound64.dir/Opcodes/pvadd.c.o
>       CMakeFiles/csound64.dir/Opcodes/pvinterp.c.o
>       CMakeFiles/csound64.dir/Opcodes/pvocext.c.o
>       CMakeFiles/csound64.dir/Opcodes/pvread.c.o
>       CMakeFiles/csound64.dir/Opcodes/ugens8.c.o
>       CMakeFiles/csound64.dir/Opcodes/vpvoc.c.o
>       CMakeFiles/csound64.dir/Opcodes/pvoc.c.o
>       CMakeFiles/csound64.dir/Opcodes/mp3in.c.o
>       CMakeFiles/csound64.dir/InOut/libmpadec/layer1.c.o
>       CMakeFiles/csound64.dir/InOut/libmpadec/layer2.c.o
>       CMakeFiles/csound64.dir/InOut/libmpadec/layer3.c.o
>       CMakeFiles/csound64.dir/InOut/libmpadec/synth.c.o
>       CMakeFiles/csound64.dir/InOut/libmpadec/tables.c.o
>       CMakeFiles/csound64.dir/InOut/libmpadec/mpadec.c.o
>       CMakeFiles/csound64.dir/InOut/libmpadec/mp3dec.c.o
>       CMakeFiles/csound64.dir/csound_orclex.c.o
>       CMakeFiles/csound64.dir/csound_orcparse.c.o
>       CMakeFiles/csound64.dir/csound_prelex.c.o
>       CMakeFiles/csound64.dir/Engine/csound_orc_semantics.c.o
>       CMakeFiles/csound64.dir/Engine/csound_orc_expressions.c.o
>       CMakeFiles/csound64.dir/Engine/csound_orc_optimize.c.o
>       CMakeFiles/csound64.dir/Engine/csound_orc_compile.c.o
>       CMakeFiles/csound64.dir/Engine/new_orc_parser.c.o
>       CMakeFiles/csound64.dir/Engine/symbtab.c.o
>       CMakeFiles/csound64.dir/csound_prslex.c.o
>       CMakeFiles/csound64.dir/Engine/cs_new_dispatch.c.o
>       CMakeFiles/csound64.dir/Engine/cs_par_base.c.o
>       CMakeFiles/csound64.dir/Engine/cs_par_orc_semantic_analysis.c.o
>       CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o -lsndfile
>       -lpthread -lm -ldl -lrt
>       /usr/bin/cmake -E cmake_symlink_library libcsound64.so.6.0
>       libcsound64.so.6.0 libcsound64.so
>       make[2]: Leaving directory '/home/sim/Src/csound/csound6.09'
>       [ 63%] Built target csound64
>       make[1]: Leaving directory '/home/sim/Src/csound/csound6.09'
>       Makefile:160: recipe for target 'all' failed
>       make: *** [all] Error 2
> 
> 
> On Mon, Jun 5, 2017 at 1:21 PM, Anders Genell 
> wrote:
>       Well, the build runs fine when I do not try to build the
>       cuda opcodes.
> 
> Where do I put CMAKE_MAKEFILE_VERBOSE? As a -D flag for cmake?
> 
> Regards,
> Anders
> 
> On Mon, Jun 5, 2017 at 1:10 PM, Victor Lazzarini
>  wrote:
>       The line you printed does not indicate a build  error
>       with the cuda opcodes. Try building with 
>       CMAKE_MAKEFILE_VERBOSE=1 so we can see what the errors
>       are.
> 
>       Victor Lazzarini
>       Dean of Arts, Celtic Studies, and Philosophy
>       Maynooth University
>       Ireland
> 
>       > On 5 Jun 2017, at 11:43, Anders Genell
>        wrote:
>       >
>       > Dear devs, particularly Prof. Lazzarini!
>       >
>       > I just pulled from git and built on a fairly modern
>       machine with a Nvidia GTX 780 hour. It has Ubuntu
>       17.04 installed, and I have installed the CUDA 8.0
>       toolkit. The build did not automatically find the CUDA
>       libs, and when forcing the CUDA opcodes build, I get a
>       build error. It doesn't really give much information
>       about the error, just
>       >
>       > [ 62%] Building C object
>       CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o
>       > [ 63%] Linking C shared library libcsound64.so
>       > [ 63%] Built target csound64
>       > Makefile:160: recipe for target 'all' failed
>       > make: *** [all] Error 2
>       >
>       > I saw something somewhere that CUDA doesn't support
>       gcc 5 yet, which might be the culprit. Has anyone else
>       run into this?
>       >
>       > Regards,
>       > Anders
> 
> 
> 
> 

Date2017-06-05 19:24
FromVictor Lazzarini
SubjectRe: [Csnd-dev] CUDA (again)
It appears to be a CMake issue. It’s been reported happening in other projects: https://github.com/colmap/colmap/issues/53
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 5 Jun 2017, at 15:15, Anders Genell  wrote:
> 
> Just using "make" without -j6 shows a bit more info, and it now does seem to be cuda related...
> 
> [ 63%] Building NVCC (Device) object Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o
> CMake Warning (dev) at cudaop3_generated_slidingm.cu.o.cmake:81:
>   Syntax Warning in cmake code at column 75
> 
>   Argument not separated from preceding token by whitespace.
> This warning is for project developers.  Use -Wno-dev to suppress it.
> 
> nvcc fatal   : Stray '"' character
> CMake Error at cudaop3_generated_slidingm.cu.o.cmake:222 (message):
>   Error generating
>   /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o
> 
> 
> Opcodes/cuda/CMakeFiles/cudaop3.dir/build.make:63: recipe for target 'Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o' failed
> make[2]: *** [Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o] Error 1
> CMakeFiles/Makefile2:1656: recipe for target 'Opcodes/cuda/CMakeFiles/cudaop3.dir/all' failed
> make[1]: *** [Opcodes/cuda/CMakeFiles/cudaop3.dir/all] Error 2
> Makefile:160: recipe for target 'all' failed
> make: *** [all] Error 2
> 
> On Mon, Jun 5, 2017 at 3:20 PM, jpff  wrote:
> It looks to me tat the error is earlier if building with -j6 o te ie
> 
> Tese messagesare OK and suggest aa broken .o file
> 
> 
> 
> On Mon, 5 Jun 2017, Victor Lazzarini wrote:
> 
> Are you building with make -j 6 ? I can't see where it is failing. If you are,
> try just 'make'
> 
> Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy
> Maynooth University
> Ireland
> 
> On 5 Jun 2017, at 12:41, Anders Genell  wrote:
> 
>       Ok, got the verbosity up:
> 
>       [ 62%] Building C object
>       CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o
>       /usr/bin/cc 
>       -DCS_DEFAULT_PLUGINDIR=\"/usr/local/lib/csound/plugins64-6.0\"
>       -DHAVE_SOCKETS -DHAVE_STRTOD_L -DHAVE_STRTOK_R -DLINUX
>       -DNO_FLTK_THREADS -DPIPES -DUSE_LRINT -D_CSOUND_RELEASE_
>       -D_GNU_SOURCE -Dcsound64_EXPORTS -I/home/sim/Src/csound/./H
>       -I/home/sim/Src/csound/./include -I/home/sim/Src/csound/./Engine
>       -I/home/sim/Src/csound/. -I/home/sim/Src/csound/csound6.09
>       -I/home/sim/Src/csound/csound6.09/include  -ffast-math
>       -mfpmath=sse -msse2 -fomit-frame-pointer -fvisibility=hidden
>       -DHAVE_ATOMIC_BUILTIN -DHAVE_PTHREAD -fPIC   -Wno-format  
>       -D__BUILDING_LIBCSOUND -DHAVE_PTHREAD_SPIN_LOCK
>       -DHAVE_PTHREAD_BARRIER_INIT -DPARCS -DGNU_GETTEXT -DHAVE_DIRENT_H
>       -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H
>       -DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H -DHAVE_VALUES_H -o
>       CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o   -c
>       /home/sim/Src/csound/Engine/cs_par_dispatch.c
>       [ 63%] Linking C shared library libcsound64.so
>       /usr/bin/cmake -E cmake_link_script
>       CMakeFiles/csound64.dir/link.txt --verbose=1
>       /usr/bin/cc  -fPIC  -ffast-math -mfpmath=sse -msse2
>       -fomit-frame-pointer -fvisibility=hidden -DHAVE_ATOMIC_BUILTIN
>       -DHAVE_PTHREAD  -shared -Wl,-soname,libcsound64.so.6.0 -o
>       libcsound64.so.6.0 CMakeFiles/csound64.dir/Top/csound.c.o
>       CMakeFiles/csound64.dir/Engine/auxfd.c.o
>       CMakeFiles/csound64.dir/Engine/cfgvar.c.o
>       CMakeFiles/csound64.dir/Engine/corfiles.c.o
>       CMakeFiles/csound64.dir/Engine/entry1.c.o
>       CMakeFiles/csound64.dir/Engine/envvar.c.o
>       CMakeFiles/csound64.dir/Engine/extract.c.o
>       CMakeFiles/csound64.dir/Engine/fgens.c.o
>       CMakeFiles/csound64.dir/Engine/insert.c.o
>       CMakeFiles/csound64.dir/Engine/linevent.c.o
>       CMakeFiles/csound64.dir/Engine/memalloc.c.o
>       CMakeFiles/csound64.dir/Engine/memfiles.c.o
>       CMakeFiles/csound64.dir/Engine/musmon.c.o
>       CMakeFiles/csound64.dir/Engine/namedins.c.o
>       CMakeFiles/csound64.dir/Engine/rdscor.c.o
>       CMakeFiles/csound64.dir/Engine/scsort.c.o
>       CMakeFiles/csound64.dir/Engine/scxtract.c.o
>       CMakeFiles/csound64.dir/Engine/sort.c.o
>       CMakeFiles/csound64.dir/Engine/sread.c.o
>       CMakeFiles/csound64.dir/Engine/swritestr.c.o
>       CMakeFiles/csound64.dir/Engine/twarp.c.o
>       CMakeFiles/csound64.dir/Engine/csound_type_system.c.o
>       CMakeFiles/csound64.dir/Engine/csound_standard_types.c.o
>       CMakeFiles/csound64.dir/Engine/csound_data_structures.c.o
>       CMakeFiles/csound64.dir/Engine/pools.c.o
>       CMakeFiles/csound64.dir/InOut/libsnd.c.o
>       CMakeFiles/csound64.dir/InOut/libsnd_u.c.o
>       CMakeFiles/csound64.dir/InOut/midifile.c.o
>       CMakeFiles/csound64.dir/InOut/midirecv.c.o
>       CMakeFiles/csound64.dir/InOut/midisend.c.o
>       CMakeFiles/csound64.dir/InOut/winascii.c.o
>       CMakeFiles/csound64.dir/InOut/windin.c.o
>       CMakeFiles/csound64.dir/InOut/window.c.o
>       CMakeFiles/csound64.dir/InOut/winEPS.c.o
>       CMakeFiles/csound64.dir/InOut/circularbuffer.c.o
>       CMakeFiles/csound64.dir/OOps/aops.c.o
>       CMakeFiles/csound64.dir/OOps/bus.c.o
>       CMakeFiles/csound64.dir/OOps/cmath.c.o
>       CMakeFiles/csound64.dir/OOps/diskin2.c.o
>       CMakeFiles/csound64.dir/OOps/disprep.c.o
>       CMakeFiles/csound64.dir/OOps/dumpf.c.o
>       CMakeFiles/csound64.dir/OOps/fftlib.c.o
>       CMakeFiles/csound64.dir/OOps/pffft.c.o
>       CMakeFiles/csound64.dir/OOps/goto_ops.c.o
>       CMakeFiles/csound64.dir/OOps/midiinterop.c.o
>       CMakeFiles/csound64.dir/OOps/midiops.c.o
>       CMakeFiles/csound64.dir/OOps/midiout.c.o
>       CMakeFiles/csound64.dir/OOps/mxfft.c.o
>       CMakeFiles/csound64.dir/OOps/oscils.c.o
>       CMakeFiles/csound64.dir/OOps/pstream.c.o
>       CMakeFiles/csound64.dir/OOps/pvfileio.c.o
>       CMakeFiles/csound64.dir/OOps/pvsanal.c.o
>       CMakeFiles/csound64.dir/OOps/random.c.o
>       CMakeFiles/csound64.dir/OOps/remote.c.o
>       CMakeFiles/csound64.dir/OOps/schedule.c.o
>       CMakeFiles/csound64.dir/OOps/sndinfUG.c.o
>       CMakeFiles/csound64.dir/OOps/str_ops.c.o
>       CMakeFiles/csound64.dir/OOps/ugens1.c.o
>       CMakeFiles/csound64.dir/OOps/ugens2.c.o
>       CMakeFiles/csound64.dir/OOps/ugens3.c.o
>       CMakeFiles/csound64.dir/OOps/ugens4.c.o
>       CMakeFiles/csound64.dir/OOps/ugens5.c.o
>       CMakeFiles/csound64.dir/OOps/ugens6.c.o
>       CMakeFiles/csound64.dir/OOps/ugtabs.c.o
>       CMakeFiles/csound64.dir/OOps/ugrw1.c.o
>       CMakeFiles/csound64.dir/OOps/ugrw2.c.o
>       CMakeFiles/csound64.dir/OOps/vdelay.c.o
>       CMakeFiles/csound64.dir/OOps/compile_ops.c.o
>       CMakeFiles/csound64.dir/Opcodes/babo.c.o
>       CMakeFiles/csound64.dir/Opcodes/bilbar.c.o
>       CMakeFiles/csound64.dir/Opcodes/compress.c.o
>       CMakeFiles/csound64.dir/Opcodes/eqfil.c.o
>       CMakeFiles/csound64.dir/Opcodes/Vosim.c.o
>       CMakeFiles/csound64.dir/Opcodes/pinker.c.o
>       CMakeFiles/csound64.dir/Opcodes/pitch.c.o
>       CMakeFiles/csound64.dir/Opcodes/pitch0.c.o
>       CMakeFiles/csound64.dir/Opcodes/spectra.c.o
>       CMakeFiles/csound64.dir/Opcodes/ambicode1.c.o
>       CMakeFiles/csound64.dir/Opcodes/sfont.c.o
>       CMakeFiles/csound64.dir/Opcodes/grain4.c.o
>       CMakeFiles/csound64.dir/Opcodes/hrtferX.c.o
>       CMakeFiles/csound64.dir/Opcodes/loscilx.c.o
>       CMakeFiles/csound64.dir/Opcodes/minmax.c.o
>       CMakeFiles/csound64.dir/Opcodes/pan2.c.o
>       CMakeFiles/csound64.dir/Opcodes/arrays.c.o
>       CMakeFiles/csound64.dir/Opcodes/phisem.c.o
>       CMakeFiles/csound64.dir/Opcodes/hrtfopcodes.c.o
>       CMakeFiles/csound64.dir/Opcodes/vbap.c.o
>       CMakeFiles/csound64.dir/Opcodes/vbap1.c.o
>       CMakeFiles/csound64.dir/Opcodes/vbap_n.c.o
>       CMakeFiles/csound64.dir/Opcodes/vbap_zak.c.o
>       CMakeFiles/csound64.dir/Opcodes/vaops.c.o
>       CMakeFiles/csound64.dir/Opcodes/ugakbari.c.o
>       CMakeFiles/csound64.dir/Opcodes/harmon.c.o
>       CMakeFiles/csound64.dir/Opcodes/pitchtrack.c.o
>       CMakeFiles/csound64.dir/Opcodes/partikkel.c.o
>       CMakeFiles/csound64.dir/Opcodes/shape.c.o
>       CMakeFiles/csound64.dir/Opcodes/tabsum.c.o
>       CMakeFiles/csound64.dir/Opcodes/crossfm.c.o
>       CMakeFiles/csound64.dir/Opcodes/pvlock.c.o
>       CMakeFiles/csound64.dir/Opcodes/fareyseq.c.o
>       CMakeFiles/csound64.dir/Opcodes/modmatrix.c.o
>       CMakeFiles/csound64.dir/Opcodes/scoreline.c.o
>       CMakeFiles/csound64.dir/Opcodes/modal4.c.o
>       CMakeFiles/csound64.dir/Opcodes/physutil.c.o
>       CMakeFiles/csound64.dir/Opcodes/physmod.c.o
>       CMakeFiles/csound64.dir/Opcodes/mandolin.c.o
>       CMakeFiles/csound64.dir/Opcodes/singwave.c.o
>       CMakeFiles/csound64.dir/Opcodes/fm4op.c.o
>       CMakeFiles/csound64.dir/Opcodes/moog1.c.o
>       CMakeFiles/csound64.dir/Opcodes/shaker.c.o
>       CMakeFiles/csound64.dir/Opcodes/bowedbar.c.o
>       CMakeFiles/csound64.dir/Opcodes/gab/tabmorph.c.o
>       CMakeFiles/csound64.dir/Opcodes/gab/hvs.c.o
>       CMakeFiles/csound64.dir/Opcodes/gab/sliderTable.c.o
>       CMakeFiles/csound64.dir/Opcodes/gab/newgabopc.c.o
>       CMakeFiles/csound64.dir/Opcodes/ftest.c.o
>       CMakeFiles/csound64.dir/Opcodes/hrtfearly.c.o
>       CMakeFiles/csound64.dir/Opcodes/hrtfreverb.c.o
>       CMakeFiles/csound64.dir/Opcodes/cpumeter.c.o
>       CMakeFiles/csound64.dir/Opcodes/gendy.c.o
>       CMakeFiles/csound64.dir/Opcodes/tl/sc_noise.c.o
>       CMakeFiles/csound64.dir/Opcodes/afilters.c.o
>       CMakeFiles/csound64.dir/Opcodes/wpfilters.c.o
>       CMakeFiles/csound64.dir/Top/argdecode.c.o
>       CMakeFiles/csound64.dir/Top/csdebug.c.o
>       CMakeFiles/csound64.dir/Top/cscore_internal.c.o
>       CMakeFiles/csound64.dir/Top/cscorfns.c.o
>       CMakeFiles/csound64.dir/Top/csmodule.c.o
>       CMakeFiles/csound64.dir/Top/getstring.c.o
>       CMakeFiles/csound64.dir/Top/main.c.o
>       CMakeFiles/csound64.dir/Top/new_opts.c.o
>       CMakeFiles/csound64.dir/Top/one_file.c.o
>       CMakeFiles/csound64.dir/Top/opcode.c.o
>       CMakeFiles/csound64.dir/Top/threads.c.o
>       CMakeFiles/csound64.dir/Top/utility.c.o
>       CMakeFiles/csound64.dir/Top/threadsafe.c.o
>       CMakeFiles/csound64.dir/Top/server.c.o
>       CMakeFiles/csound64.dir/Opcodes/ambicode.c.o
>       CMakeFiles/csound64.dir/Opcodes/bbcut.c.o
>       CMakeFiles/csound64.dir/Opcodes/biquad.c.o
>       CMakeFiles/csound64.dir/Opcodes/butter.c.o
>       CMakeFiles/csound64.dir/Opcodes/clfilt.c.o
>       CMakeFiles/csound64.dir/Opcodes/cross2.c.o
>       CMakeFiles/csound64.dir/Opcodes/dam.c.o
>       CMakeFiles/csound64.dir/Opcodes/dcblockr.c.o
>       CMakeFiles/csound64.dir/Opcodes/filter.c.o
>       CMakeFiles/csound64.dir/Opcodes/flanger.c.o
>       CMakeFiles/csound64.dir/Opcodes/follow.c.o
>       CMakeFiles/csound64.dir/Opcodes/fout.c.o
>       CMakeFiles/csound64.dir/Opcodes/freeverb.c.o
>       CMakeFiles/csound64.dir/Opcodes/ftconv.c.o
>       CMakeFiles/csound64.dir/Opcodes/ftgen.c.o
>       CMakeFiles/csound64.dir/Opcodes/gab/gab.c.o
>       CMakeFiles/csound64.dir/Opcodes/gab/vectorial.c.o
>       CMakeFiles/csound64.dir/Opcodes/grain.c.o
>       CMakeFiles/csound64.dir/Opcodes/locsig.c.o
>       CMakeFiles/csound64.dir/Opcodes/lowpassr.c.o
>       CMakeFiles/csound64.dir/Opcodes/metro.c.o
>       CMakeFiles/csound64.dir/Opcodes/midiops2.c.o
>       CMakeFiles/csound64.dir/Opcodes/midiops3.c.o
>       CMakeFiles/csound64.dir/Opcodes/newfils.c.o
>       CMakeFiles/csound64.dir/Opcodes/nlfilt.c.o
>       CMakeFiles/csound64.dir/Opcodes/oscbnk.c.o
>       CMakeFiles/csound64.dir/Opcodes/pluck.c.o
>       CMakeFiles/csound64.dir/Opcodes/paulstretch.c.o
>       CMakeFiles/csound64.dir/Opcodes/repluck.c.o
>       CMakeFiles/csound64.dir/Opcodes/reverbsc.c.o
>       CMakeFiles/csound64.dir/Opcodes/seqtime.c.o
>       CMakeFiles/csound64.dir/Opcodes/sndloop.c.o
>       CMakeFiles/csound64.dir/Opcodes/sndwarp.c.o
>       CMakeFiles/csound64.dir/Opcodes/space.c.o
>       CMakeFiles/csound64.dir/Opcodes/spat3d.c.o
>       CMakeFiles/csound64.dir/Opcodes/syncgrain.c.o
>       CMakeFiles/csound64.dir/Opcodes/ugens7.c.o
>       CMakeFiles/csound64.dir/Opcodes/ugens9.c.o
>       CMakeFiles/csound64.dir/Opcodes/ugensa.c.o
>       CMakeFiles/csound64.dir/Opcodes/uggab.c.o
>       CMakeFiles/csound64.dir/Opcodes/ugmoss.c.o
>       CMakeFiles/csound64.dir/Opcodes/ugnorman.c.o
>       CMakeFiles/csound64.dir/Opcodes/ugsc.c.o
>       CMakeFiles/csound64.dir/Opcodes/wave-terrain.c.o
>       CMakeFiles/csound64.dir/Opcodes/stdopcod.c.o
>       CMakeFiles/csound64.dir/Opcodes/socksend.c.o
>       CMakeFiles/csound64.dir/Opcodes/sockrecv.c.o
>       CMakeFiles/csound64.dir/Opcodes/ifd.c.o
>       CMakeFiles/csound64.dir/Opcodes/partials.c.o
>       CMakeFiles/csound64.dir/Opcodes/psynth.c.o
>       CMakeFiles/csound64.dir/Opcodes/pvsbasic.c.o
>       CMakeFiles/csound64.dir/Opcodes/pvscent.c.o
>       CMakeFiles/csound64.dir/Opcodes/pvsdemix.c.o
>       CMakeFiles/csound64.dir/Opcodes/pvs_ops.c.o
>       CMakeFiles/csound64.dir/Opcodes/pvsband.c.o
>       CMakeFiles/csound64.dir/Opcodes/pvsbuffer.c.o
>       CMakeFiles/csound64.dir/Opcodes/pvsgendy.c.o
>       CMakeFiles/csound64.dir/Opcodes/dsputil.c.o
>       CMakeFiles/csound64.dir/Opcodes/pvadd.c.o
>       CMakeFiles/csound64.dir/Opcodes/pvinterp.c.o
>       CMakeFiles/csound64.dir/Opcodes/pvocext.c.o
>       CMakeFiles/csound64.dir/Opcodes/pvread.c.o
>       CMakeFiles/csound64.dir/Opcodes/ugens8.c.o
>       CMakeFiles/csound64.dir/Opcodes/vpvoc.c.o
>       CMakeFiles/csound64.dir/Opcodes/pvoc.c.o
>       CMakeFiles/csound64.dir/Opcodes/mp3in.c.o
>       CMakeFiles/csound64.dir/InOut/libmpadec/layer1.c.o
>       CMakeFiles/csound64.dir/InOut/libmpadec/layer2.c.o
>       CMakeFiles/csound64.dir/InOut/libmpadec/layer3.c.o
>       CMakeFiles/csound64.dir/InOut/libmpadec/synth.c.o
>       CMakeFiles/csound64.dir/InOut/libmpadec/tables.c.o
>       CMakeFiles/csound64.dir/InOut/libmpadec/mpadec.c.o
>       CMakeFiles/csound64.dir/InOut/libmpadec/mp3dec.c.o
>       CMakeFiles/csound64.dir/csound_orclex.c.o
>       CMakeFiles/csound64.dir/csound_orcparse.c.o
>       CMakeFiles/csound64.dir/csound_prelex.c.o
>       CMakeFiles/csound64.dir/Engine/csound_orc_semantics.c.o
>       CMakeFiles/csound64.dir/Engine/csound_orc_expressions.c.o
>       CMakeFiles/csound64.dir/Engine/csound_orc_optimize.c.o
>       CMakeFiles/csound64.dir/Engine/csound_orc_compile.c.o
>       CMakeFiles/csound64.dir/Engine/new_orc_parser.c.o
>       CMakeFiles/csound64.dir/Engine/symbtab.c.o
>       CMakeFiles/csound64.dir/csound_prslex.c.o
>       CMakeFiles/csound64.dir/Engine/cs_new_dispatch.c.o
>       CMakeFiles/csound64.dir/Engine/cs_par_base.c.o
>       CMakeFiles/csound64.dir/Engine/cs_par_orc_semantic_analysis.c.o
>       CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o -lsndfile
>       -lpthread -lm -ldl -lrt
>       /usr/bin/cmake -E cmake_symlink_library libcsound64.so.6.0
>       libcsound64.so.6.0 libcsound64.so
>       make[2]: Leaving directory '/home/sim/Src/csound/csound6.09'
>       [ 63%] Built target csound64
>       make[1]: Leaving directory '/home/sim/Src/csound/csound6.09'
>       Makefile:160: recipe for target 'all' failed
>       make: *** [all] Error 2
> 
> 
> On Mon, Jun 5, 2017 at 1:21 PM, Anders Genell 
> wrote:
>       Well, the build runs fine when I do not try to build the
>       cuda opcodes.
> 
> Where do I put CMAKE_MAKEFILE_VERBOSE? As a -D flag for cmake?
> 
> Regards,
> Anders
> 
> On Mon, Jun 5, 2017 at 1:10 PM, Victor Lazzarini
>  wrote:
>       The line you printed does not indicate a build  error
>       with the cuda opcodes. Try building with 
>       CMAKE_MAKEFILE_VERBOSE=1 so we can see what the errors
>       are.
> 
>       Victor Lazzarini
>       Dean of Arts, Celtic Studies, and Philosophy
>       Maynooth University
>       Ireland
> 
>       > On 5 Jun 2017, at 11:43, Anders Genell
>        wrote:
>       >
>       > Dear devs, particularly Prof. Lazzarini!
>       >
>       > I just pulled from git and built on a fairly modern
>       machine with a Nvidia GTX 780 hour. It has Ubuntu
>       17.04 installed, and I have installed the CUDA 8.0
>       toolkit. The build did not automatically find the CUDA
>       libs, and when forcing the CUDA opcodes build, I get a
>       build error. It doesn't really give much information
>       about the error, just
>       >
>       > [ 62%] Building C object
>       CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o
>       > [ 63%] Linking C shared library libcsound64.so
>       > [ 63%] Built target csound64
>       > Makefile:160: recipe for target 'all' failed
>       > make: *** [all] Error 2
>       >
>       > I saw something somewhere that CUDA doesn't support
>       gcc 5 yet, which might be the culprit. Has anyone else
>       run into this?
>       >
>       > Re

Date2017-06-05 19:28
FromAnders Genell
SubjectRe: [Csnd-dev] CUDA (again)
[ 63%] Building NVCC (Device) object Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o
cd /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir && /usr/bin/cmake -E make_directory /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//.
cd /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir && /usr/bin/cmake -D verbose:BOOL=1 -D build_configuration:STRING= -D generated_file:STRING=/home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o -D generated_cubin_file:STRING=/home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o.cubin.txt -P /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//cudaop3_generated_slidingm.cu.o.cmake
CMake Warning (dev) at cudaop3_generated_slidingm.cu.o.cmake:81:
  Syntax Warning in cmake code at column 75

  Argument not separated from preceding token by whitespace.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Removing /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o
/usr/bin/cmake -E remove /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o
-- Generating dependency file: /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//cudaop3_generated_slidingm.cu.o.NVCC-depend
/usr/bin/nvcc -M -D__CUDACC__ /home/sim/Src/csound/Opcodes/cuda/slidingm.cu -o /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//cudaop3_generated_slidingm.cu.o.NVCC-depend -ccbin /usr/bin/cc -m64 -Dcudaop3_EXPORTS -D_CSOUND_RELEASE_ -DCS_DEFAULT_PLUGINDIR= -D/usr/local/lib/csound/plugins-6.0\" -DUSE_LRINT -DLINUX -DPIPES -DNO_FLTK_THREADS -D_GNU_SOURCE -DHAVE_SOCKETS -DHAVE_STRTOK_R -DHAVE_STRTOD_L\" -Xcompiler ,\"-ffast-math\",\"-mfpmath=sse\",\"-msse2\",\"-fomit-frame-pointer\",\"-fvisibility=hidden\",\"-DHAVE_ATOMIC_BUILTIN\",\"-fopenmp\",\"-fPIC\",\"-g\" -arch=sm_20 -use_fast_math -DNVCC -I/usr/include -I/home/sim/Src/csound/./H -I/home/sim/Src/csound/./include -I/home/sim/Src/csound/./Engine -I/home/sim/Src/csound/. -I/home/sim/Src/csound/csound6.09 -I/home/sim/Src/csound/csound6.09/include -I/usr/include/python2.7 -I/home/sim/Src/csound/include -I/usr/local/include
nvcc fatal   : Stray '"' character
CMake Error at cudaop3_generated_slidingm.cu.o.cmake:222 (message):
  Error generating
  /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o


Opcodes/cuda/CMakeFiles/cudaop3.dir/build.make:63: recipe for target 'Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o' failed
make[2]: *** [Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o] Error 1
make[2]: Leaving directory '/home/sim/Src/csound/csound6.09'
CMakeFiles/Makefile2:1656: recipe for target 'Opcodes/cuda/CMakeFiles/cudaop3.dir/all' failed
make[1]: *** [Opcodes/cuda/CMakeFiles/cudaop3.dir/all] Error 2
make[1]: Leaving directory '/home/sim/Src/csound/csound6.09'
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2


> 5 juni 2017 kl. 20:13 skrev Victor Lazzarini :
> 
> can you do a make clean, then just make ?
> 
> I want to see what happened in the compilation of the .o file.
> ========================
> Prof. Victor Lazzarini
> Dean of Arts, Celtic Studies, and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952 
> 
>> On 5 Jun 2017, at 15:15, Anders Genell  wrote:
>> 
>> Just using "make" without -j6 shows a bit more info, and it now does seem to be cuda related...
>> 
>> [ 63%] Building NVCC (Device) object Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o
>> CMake Warning (dev) at cudaop3_generated_slidingm.cu.o.cmake:81:
>>  Syntax Warning in cmake code at column 75
>> 
>>  Argument not separated from preceding token by whitespace.
>> This warning is for project developers.  Use -Wno-dev to suppress it.
>> 
>> nvcc fatal   : Stray '"' character
>> CMake Error at cudaop3_generated_slidingm.cu.o.cmake:222 (message):
>>  Error generating
>>  /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o
>> 
>> 
>> Opcodes/cuda/CMakeFiles/cudaop3.dir/build.make:63: recipe for target 'Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o' failed
>> make[2]: *** [Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o] Error 1
>> CMakeFiles/Makefile2:1656: recipe for target 'Opcodes/cuda/CMakeFiles/cudaop3.dir/all' failed
>> make[1]: *** [Opcodes/cuda/CMakeFiles/cudaop3.dir/all] Error 2
>> Makefile:160: recipe for target 'all' failed
>> make: *** [all] Error 2
>> 
>> On Mon, Jun 5, 2017 at 3:20 PM, jpff  wrote:
>> It looks to me tat the error is earlier if building with -j6 o te ie
>> 
>> Tese messagesare OK and suggest aa broken .o file
>> 
>> 
>> 
>> On Mon, 5 Jun 2017, Victor Lazzarini wrote:
>> 
>> Are you building with make -j 6 ? I can't see where it is failing. If you are,
>> try just 'make'
>> 
>> Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy
>> Maynooth University
>> Ireland
>> 
>> On 5 Jun 2017, at 12:41, Anders Genell  wrote:
>> 
>>      Ok, got the verbosity up:
>> 
>>      [ 62%] Building C object
>>      CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o
>>      /usr/bin/cc 
>>      -DCS_DEFAULT_PLUGINDIR=\"/usr/local/lib/csound/plugins64-6.0\"
>>      -DHAVE_SOCKETS -DHAVE_STRTOD_L -DHAVE_STRTOK_R -DLINUX
>>      -DNO_FLTK_THREADS -DPIPES -DUSE_LRINT -D_CSOUND_RELEASE_
>>      -D_GNU_SOURCE -Dcsound64_EXPORTS -I/home/sim/Src/csound/./H
>>      -I/home/sim/Src/csound/./include -I/home/sim/Src/csound/./Engine
>>      -I/home/sim/Src/csound/. -I/home/sim/Src/csound/csound6.09
>>      -I/home/sim/Src/csound/csound6.09/include  -ffast-math
>>      -mfpmath=sse -msse2 -fomit-frame-pointer -fvisibility=hidden
>>      -DHAVE_ATOMIC_BUILTIN -DHAVE_PTHREAD -fPIC   -Wno-format  
>>      -D__BUILDING_LIBCSOUND -DHAVE_PTHREAD_SPIN_LOCK
>>      -DHAVE_PTHREAD_BARRIER_INIT -DPARCS -DGNU_GETTEXT -DHAVE_DIRENT_H
>>      -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H
>>      -DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H -DHAVE_VALUES_H -o
>>      CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o   -c
>>      /home/sim/Src/csound/Engine/cs_par_dispatch.c
>>      [ 63%] Linking C shared library libcsound64.so
>>      /usr/bin/cmake -E cmake_link_script
>>      CMakeFiles/csound64.dir/link.txt --verbose=1
>>      /usr/bin/cc  -fPIC  -ffast-math -mfpmath=sse -msse2
>>      -fomit-frame-pointer -fvisibility=hidden -DHAVE_ATOMIC_BUILTIN
>>      -DHAVE_PTHREAD  -shared -Wl,-soname,libcsound64.so.6.0 -o
>>      libcsound64.so.6.0 CMakeFiles/csound64.dir/Top/csound.c.o
>>      CMakeFiles/csound64.dir/Engine/auxfd.c.o
>>      CMakeFiles/csound64.dir/Engine/cfgvar.c.o
>>      CMakeFiles/csound64.dir/Engine/corfiles.c.o
>>      CMakeFiles/csound64.dir/Engine/entry1.c.o
>>      CMakeFiles/csound64.dir/Engine/envvar.c.o
>>      CMakeFiles/csound64.dir/Engine/extract.c.o
>>      CMakeFiles/csound64.dir/Engine/fgens.c.o
>>      CMakeFiles/csound64.dir/Engine/insert.c.o
>>      CMakeFiles/csound64.dir/Engine/linevent.c.o
>>      CMakeFiles/csound64.dir/Engine/memalloc.c.o
>>      CMakeFiles/csound64.dir/Engine/memfiles.c.o
>>      CMakeFiles/csound64.dir/Engine/musmon.c.o
>>      CMakeFiles/csound64.dir/Engine/namedins.c.o
>>      CMakeFiles/csound64.dir/Engine/rdscor.c.o
>>      CMakeFiles/csound64.dir/Engine/scsort.c.o
>>      CMakeFiles/csound64.dir/Engine/scxtract.c.o
>>      CMakeFiles/csound64.dir/Engine/sort.c.o
>>      CMakeFiles/csound64.dir/Engine/sread.c.o
>>      CMakeFiles/csound64.dir/Engine/swritestr.c.o
>>      CMakeFiles/csound64.dir/Engine/twarp.c.o
>>      CMakeFiles/csound64.dir/Engine/csound_type_system.c.o
>>      CMakeFiles/csound64.dir/Engine/csound_standard_types.c.o
>>      CMakeFiles/csound64.dir/Engine/csound_data_structures.c.o
>>      CMakeFiles/csound64.dir/Engine/pools.c.o
>>      CMakeFiles/csound64.dir/InOut/libsnd.c.o
>>      CMakeFiles/csound64.dir/InOut/libsnd_u.c.o
>>      CMakeFiles/csound64.dir/InOut/midifile.c.o
>>      CMakeFiles/csound64.dir/InOut/midirecv.c.o
>>      CMakeFiles/csound64.dir/InOut/midisend.c.o
>>      CMakeFiles/csound64.dir/InOut/winascii.c.o
>>      CMakeFiles/csound64.dir/InOut/windin.c.o
>>      CMakeFiles/csound64.dir/InOut/window.c.o
>>      CMakeFiles/csound64.dir/InOut/winEPS.c.o
>>      CMakeFiles/csound64.dir/InOut/circularbuffer.c.o
>>      CMakeFiles/csound64.dir/OOps/aops.c.o
>>      CMakeFiles/csound64.dir/OOps/bus.c.o
>>      CMakeFiles/csound64.dir/OOps/cmath.c.o
>>      CMakeFiles/csound64.dir/OOps/diskin2.c.o
>>      CMakeFiles/csound64.dir/OOps/disprep.c.o
>>      CMakeFiles/csound64.dir/OOps/dumpf.c.o
>>      CMakeFiles/csound64.dir/OOps/fftlib.c.o
>>      CMakeFiles/csound64.dir/OOps/pffft.c.o
>>      CMakeFiles/csound64.dir/OOps/goto_ops.c.o
>>      CMakeFiles/csound64.dir/OOps/midiinterop.c.o
>>      CMakeFiles/csound64.dir/OOps/midiops.c.o
>>      CMakeFiles/csound64.dir/OOps/midiout.c.o
>>      CMakeFiles/csound64.dir/OOps/mxfft.c.o
>>      CMakeFiles/csound64.dir/OOps/oscils.c.o
>>      CMakeFiles/csound64.dir/OOps/pstream.c.o
>>      CMakeFiles/csound64.dir/OOps/pvfileio.c.o
>>      CMakeFiles/csound64.dir/OOps/pvsanal.c.o
>>      CMakeFiles/csound64.dir/OOps/random.c.o
>>      CMakeFiles/csound64.dir/OOps/remote.c.o
>>      CMakeFiles/csound64.dir/OOps/schedule.c.o
>>      CMakeFiles/csound64.dir/OOps/sndinfUG.c.o
>>      CMakeFiles/csound64.dir/OOps/str_ops.c.o
>>      CMakeFiles/csound64.dir/OOps/ugens1.c.o
>>      CMakeFiles/csound64.dir/OOps/ugens2.c.o
>>      CMakeFiles/csound64.dir/OOps/ugens3.c.o
>>      CMakeFiles/csound64.dir/OOps/ugens4.c.o
>>      CMakeFiles/csound64.dir/OOps/ugens5.c.o
>>      CMakeFiles/csound64.dir/OOps/ugens6.c.o
>>      CMakeFiles/csound64.dir/OOps/ugtabs.c.o
>>      CMakeFiles/csound64.dir/OOps/ugrw1.c.o
>>      CMakeFiles/csound64.dir/OOps/ugrw2.c.o
>>      CMakeFiles/csound64.dir/OOps/vdelay.c.o
>>      CMakeFiles/csound64.dir/OOps/compile_ops.c.o
>>      CMakeFiles/csound64.dir/Opcodes/babo.c.o
>>      CMakeFiles/csound64.dir/Opcodes/bilbar.c.o
>>      CMakeFiles/csound64.dir/Opcodes/compress.c.o
>>      CMakeFiles/csound64.dir/Opcodes/eqfil.c.o
>>      CMakeFiles/csound64.dir/Opcodes/Vosim.c.o
>>      CMakeFiles/csound64.dir/Opcodes/pinker.c.o
>>      CMakeFiles/csound64.dir/Opcodes/pitch.c.o
>>      CMakeFiles/csound64.dir/Opcodes/pitch0.c.o
>>      CMakeFiles/csound64.dir/Opcodes/spectra.c.o
>>      CMakeFiles/csound64.dir/Opcodes/ambicode1.c.o
>>      CMakeFiles/csound64.dir/Opcodes/sfont.c.o
>>      CMakeFiles/csound64.dir/Opcodes/grain4.c.o
>>      CMakeFiles/csound64.dir/Opcodes/hrtferX.c.o
>>      CMakeFiles/csound64.dir/Opcodes/loscilx.c.o
>>      CMakeFiles/csound64.dir/Opcodes/minmax.c.o
>>      CMakeFiles/csound64.dir/Opcodes/pan2.c.o
>>      CMakeFiles/csound64.dir/Opcodes/arrays.c.o
>>      CMakeFiles/csound64.dir/Opcodes/phisem.c.o
>>      CMakeFiles/csound64.dir/Opcodes/hrtfopcodes.c.o
>>      CMakeFiles/csound64.dir/Opcodes/vbap.c.o
>>      CMakeFiles/csound64.dir/Opcodes/vbap1.c.o
>>      CMakeFiles/csound64.dir/Opcodes/vbap_n.c.o
>>      CMakeFiles/csound64.dir/Opcodes/vbap_zak.c.o
>>      CMakeFiles/csound64.dir/Opcodes/vaops.c.o
>>      CMakeFiles/csound64.dir/Opcodes/ugakbari.c.o
>>      CMakeFiles/csound64.dir/Opcodes/harmon.c.o
>>      CMakeFiles/csound64.dir/Opcodes/pitchtrack.c.o
>>      CMakeFiles/csound64.dir/Opcodes/partikkel.c.o
>>      CMakeFiles/csound64.dir/Opcodes/shape.c.o
>>      CMakeFiles/csound64.dir/Opcodes/tabsum.c.o
>>      CMakeFiles/csound64.dir/Opcodes/crossfm.c.o
>>      CMakeFiles/csound64.dir/Opcodes/pvlock.c.o
>>      CMakeFiles/csound64.dir/Opcodes/fareyseq.c.o
>>      CMakeFiles/csound64.dir/Opcodes/modmatrix.c.o
>>      CMakeFiles/csound64.dir/Opcodes/scoreline.c.o
>>      CMakeFiles/csound64.dir/Opcodes/modal4.c.o
>>      CMakeFiles/csound64.dir/Opcodes/physutil.c.o
>>      CMakeFiles/csound64.dir/Opcodes/physmod.c.o
>>      CMakeFiles/csound64.dir/Opcodes/mandolin.c.o
>>      CMakeFiles/csound64.dir/Opcodes/singwave.c.o
>>      CMakeFiles/csound64.dir/Opcodes/fm4op.c.o
>>      CMakeFiles/csound64.dir/Opcodes/moog1.c.o
>>      CMakeFiles/csound64.dir/Opcodes/shaker.c.o
>>      CMakeFiles/csound64.dir/Opcodes/bowedbar.c.o
>>      CMakeFiles/csound64.dir/Opcodes/gab/tabmorph.c.o
>>      CMakeFiles/csound64.dir/Opcodes/gab/hvs.c.o
>>      CMakeFiles/csound64.dir/Opcodes/gab/sliderTable.c.o
>>      CMakeFiles/csound64.dir/Opcodes/gab/newgabopc.c.o
>>      CMakeFiles/csound64.dir/Opcodes/ftest.c.o
>>      CMakeFiles/csound64.dir/Opcodes/hrtfearly.c.o
>>      CMakeFiles/csound64.dir/Opcodes/hrtfreverb.c.o
>>      CMakeFiles/csound64.dir/Opcodes/cpumeter.c.o
>>      CMakeFiles/csound64.dir/Opcodes/gendy.c.o
>>      CMakeFiles/csound64.dir/Opcodes/tl/sc_noise.c.o
>>      CMakeFiles/csound64.dir/Opcodes/afilters.c.o
>>      CMakeFiles/csound64.dir/Opcodes/wpfilters.c.o
>>      CMakeFiles/csound64.dir/Top/argdecode.c.o
>>      CMakeFiles/csound64.dir/Top/csdebug.c.o
>>      CMakeFiles/csound64.dir/Top/cscore_internal.c.o
>>      CMakeFiles/csound64.dir/Top/cscorfns.c.o
>>      CMakeFiles/csound64.dir/Top/csmodule.c.o
>>      CMakeFiles/csound64.dir/Top/getstring.c.o
>>      CMakeFiles/csound64.dir/Top/main.c.o
>>      CMakeFiles/csound64.dir/Top/new_opts.c.o
>>      CMakeFiles/csound64.dir/Top/one_file.c.o
>>      CMakeFiles/csound64.dir/Top/opcode.c.o
>>      CMakeFiles/csound64.dir/Top/threads.c.o
>>      CMakeFiles/csound64.dir/Top/utility.c.o
>>      CMakeFiles/csound64.dir/Top/threadsafe.c.o
>>      CMakeFiles/csound64.dir/Top/server.c.o
>>      CMakeFiles/csound64.dir/Opcodes/ambicode.c.o
>>      CMakeFiles/csound64.dir/Opcodes/bbcut.c.o
>>      CMakeFiles/csound64.dir/Opcodes/biquad.c.o
>>      CMakeFiles/csound64.dir/Opcodes/butter.c.o
>>      CMakeFiles/csound64.dir/Opcodes/clfilt.c.o
>>      CMakeFiles/csound64.dir/Opcodes/cross2.c.o
>>      CMakeFiles/csound64.dir/Opcodes/dam.c.o
>>      CMakeFiles/csound64.dir/Opcodes/dcblockr.c.o
>>      CMakeFiles/csound64.dir/Opcodes/filter.c.o
>>      CMakeFiles/csound64.dir/Opcodes/flanger.c.o
>>      CMakeFiles/csound64.dir/Opcodes/follow.c.o
>>      CMakeFiles/csound64.dir/Opcodes/fout.c.o
>>      CMakeFiles/csound64.dir/Opcodes/freeverb.c.o
>>      CMakeFiles/csound64.dir/Opcodes/ftconv.c.o
>>      CMakeFiles/csound64.dir/Opcodes/ftgen.c.o
>>      CMakeFiles/csound64.dir/Opcodes/gab/gab.c.o
>>      CMakeFiles/csound64.dir/Opcodes/gab/vectorial.c.o
>>      CMakeFiles/csound64.dir/Opcodes/grain.c.o
>>      CMakeFiles/csound64.dir/Opcodes/locsig.c.o
>>      CMakeFiles/csound64.dir/Opcodes/lowpassr.c.o
>>      CMakeFiles/csound64.dir/Opcodes/metro.c.o
>>      CMakeFiles/csound64.dir/Opcodes/midiops2.c.o
>>      CMakeFiles/csound64.dir/Opcodes/midiops3.c.o
>>      CMakeFiles/csound64.dir/Opcodes/newfils.c.o
>>      CMakeFiles/csound64.dir/Opcodes/nlfilt.c.o
>>      CMakeFiles/csound64.dir/Opcodes/oscbnk.c.o
>>      CMakeFiles/csound64.dir/Opcodes/pluck.c.o
>>      CMakeFiles/csound64.dir/Opcodes/paulstretch.c.o
>>      CMakeFiles/csound64.dir/Opcodes/repluck.c.o
>>      CMakeFiles/csound64.dir/Opcodes/reverbsc.c.o
>>      CMakeFiles/csound64.dir/Opcodes/seqtime.c.o
>>      CMakeFiles/csound64.dir/Opcodes/sndloop.c.o
>>      CMakeFiles/csound64.dir/Opcodes/sndwarp.c.o
>>      CMakeFiles/csound64.dir/Opcodes/space.c.o
>>      CMakeFiles/csound64.dir/Opcodes/spat3d.c.o
>>      CMakeFiles/csound64.dir/Opcodes/syncgrain.c.o
>>      CMakeFiles/csound64.dir/Opcodes/ugens7.c.o
>>      CMakeFiles/csound64.dir/Opcodes/ugens9.c.o
>>      CMakeFiles/csound64.dir/Opcodes/ugensa.c.o
>>      CMakeFiles/csound64.dir/Opcodes/uggab.c.o
>>      CMakeFiles/csound64.dir/Opcodes/ugmoss.c.o
>>      CMakeFiles/csound64.dir/Opcodes/ugnorman.c.o
>>      CMakeFiles/csound64.dir/Opcodes/ugsc.c.o
>>      CMakeFiles/csound64.dir/Opcodes/wave-terrain.c.o
>>      CMakeFiles/csound64.dir/Opcodes/stdopcod.c.o
>>      CMakeFiles/csound64.dir/Opcodes/socksend.c.o
>>      CMakeFiles/csound64.dir/Opcodes/sockrecv.c.o
>>      CMakeFiles/csound64.dir/Opcodes/ifd.c.o
>>      CMakeFiles/csound64.dir/Opcodes/partials.c.o
>>      CMakeFiles/csound64.dir/Opcodes/psynth.c.o
>>      CMakeFiles/csound64.dir/Opcodes/pvsbasic.c.o
>>      CMakeFiles/csound64.dir/Opcodes/pvscent.c.o
>>      CMakeFiles/csound64.dir/Opcodes/pvsdemix.c.o
>>      CMakeFiles/csound64.dir/Opcodes/pvs_ops.c.o
>>      CMakeFiles/csound64.dir/Opcodes/pvsband.c.o
>>      CMakeFiles/csound64.dir/Opcodes/pvsbuffer.c.o
>>      CMakeFiles/csound64.dir/Opcodes/pvsgendy.c.o
>>      CMakeFiles/csound64.dir/Opcodes/dsputil.c.o
>>      CMakeFiles/csound64.dir/Opcodes/pvadd.c.o
>>      CMakeFiles/csound64.dir/Opcodes/pvinterp.c.o
>>      CMakeFiles/csound64.dir/Opcodes/pvocext.c.o
>>      CMakeFiles/csound64.dir/Opcodes/pvread.c.o
>>      CMakeFiles/csound64.dir/Opcodes/ugens8.c.o
>>      CMakeFiles/csound64.dir/Opcodes/vpvoc.c.o
>>      CMakeFiles/csound64.dir/Opcodes/pvoc.c.o
>>      CMakeFiles/csound64.dir/Opcodes/mp3in.c.o
>>      CMakeFiles/csound64.dir/InOut/libmpadec/layer1.c.o
>>      CMakeFiles/csound64.dir/InOut/libmpadec/layer2.c.o
>>      CMakeFiles/csound64.dir/InOut/libmpadec/layer3.c.o
>>      CMakeFiles/csound64.dir/InOut/libmpadec/synth.c.o
>>      CMakeFiles/csound64.dir/InOut/libmpadec/tables.c.o
>>      CMakeFiles/csound64.dir/InOut/libmpadec/mpadec.c.o
>>      CMakeFiles/csound64.dir/InOut/libmpadec/mp3dec.c.o
>>      CMakeFiles/csound64.dir/csound_orclex.c.o
>>      CMakeFiles/csound64.dir/csound_orcparse.c.o
>>      CMakeFiles/csound64.dir/csound_prelex.c.o
>>      CMakeFiles/csound64.dir/Engine/csound_orc_semantics.c.o
>>      CMakeFiles/csound64.dir/Engine/csound_orc_expressions.c.o
>>      CMakeFiles/csound64.dir/Engine/csound_orc_optimize.c.o
>>      CMakeFiles/csound64.dir/Engine/csound_orc_compile.c.o
>>      CMakeFiles/csound64.dir/Engine/new_orc_parser.c.o
>>      CMakeFiles/csound64.dir/Engine/symbtab.c.o
>>      CMakeFiles/csound64.dir/csound_prslex.c.o
>>      CMakeFiles/csound64.dir/Engine/cs_new_dispatch.c.o
>>      CMakeFiles/csound64.dir/Engine/cs_par_base.c.o
>>      CMakeFiles/csound64.dir/Engine/cs_par_orc_semantic_analysis.c.o
>>      CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o -lsndfile
>>      -lpthread -lm -ldl -lrt
>>      /usr/bin/cmake -E cmake_symlink_library libcsound64.so.6.0
>>      libcsound64.so.6.0 libcsound64.so
>>      make[2]: Leaving directory '/home/sim/Src/csound/csound6.09'
>>      [ 63%] Built target csound64
>>      make[1]: Leaving directory '/home/sim/Src/csound/csound6.09'
>>      Makefile:160: recipe for target 'all' failed
>>      make: *** [all] Error 2
>> 
>> 
>> On Mon, Jun 5, 2017 at 1:21 PM, Anders Genell 
>> wrote:
>>      Well, the build runs fine when I do not try to build the
>>      cuda opcodes.
>> 
>> Where do I put CMAKE_MAKEFILE_VERBOSE? As a -D flag for cmake?
>> 
>> Regards,
>> Anders
>> 
>> On Mon, Jun 5, 2017 at 1:10 PM, Victor Lazzarini
>>  wrote:
>>      The line you printed does not indicate a build  error
>>      with the cuda opcodes. Try building with 
>>      CMAKE_MAKEFILE_VERBOSE=1 so we can see what the errors
>>      are.
>> 
>>      Victor Lazzarini
>>      Dean of Arts, Celtic Studies, and Philosophy
>>      Maynooth University
>>      Ireland
>> 
>>> On 5 Jun 2017, at 11:43, Anders Genell
>>       wrote:
>>> 
>>> Dear devs, particularly Prof. Lazzarini!
>>> 
>>> I just pulled from git and built on a fairly modern
>>      machine with a Nvidia GTX 780 hour. It has Ubuntu
>>      17.04 installed, and I have installed the CUDA 8.0
>>      toolkit. The build did not automatically find the CUDA
>>      libs, and when forcing the CUDA opcodes build, I get a
>>      build error. It doesn't really give much information
>>      about the error, just
>>> 
>>> [ 62%] Building C object
>>      CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o
>>> [ 63%] Linking C shared library libcsound64.so
>>> [ 63%] Built target csound64
>>> Makefile:160: recipe for target 'all' failed
>>> make: *** [all] Error 2
>>> 
>>> I saw something somewhere that CUDA doesn't support
>>      gcc 5 yet, which might be the culprit. Has anyone else
>>      run into this?
>>> 
>>> Regards,
>>> Anders
>> 
>> 
>> 
>> 

Date2017-06-05 19:32
FromVictor Lazzarini
SubjectRe: [Csnd-dev] CUDA (again)
It’s a CMake problem, apparently. I’ve updated my CMake to 3.8 and now I am having the same problem as you. 
Not sure whether there is a fix beyond reverting to 3.6, but I’ll see what I find out.
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 5 Jun 2017, at 19:28, Anders Genell  wrote:
> 
> [ 63%] Building NVCC (Device) object Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o
> cd /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir && /usr/bin/cmake -E make_directory /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//.
> cd /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir && /usr/bin/cmake -D verbose:BOOL=1 -D build_configuration:STRING= -D generated_file:STRING=/home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o -D generated_cubin_file:STRING=/home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o.cubin.txt -P /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//cudaop3_generated_slidingm.cu.o.cmake
> CMake Warning (dev) at cudaop3_generated_slidingm.cu.o.cmake:81:
>  Syntax Warning in cmake code at column 75
> 
>  Argument not separated from preceding token by whitespace.
> This warning is for project developers.  Use -Wno-dev to suppress it.
> 
> -- Removing /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o
> /usr/bin/cmake -E remove /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o
> -- Generating dependency file: /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//cudaop3_generated_slidingm.cu.o.NVCC-depend
> /usr/bin/nvcc -M -D__CUDACC__ /home/sim/Src/csound/Opcodes/cuda/slidingm.cu -o /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//cudaop3_generated_slidingm.cu.o.NVCC-depend -ccbin /usr/bin/cc -m64 -Dcudaop3_EXPORTS -D_CSOUND_RELEASE_ -DCS_DEFAULT_PLUGINDIR= -D/usr/local/lib/csound/plugins-6.0\" -DUSE_LRINT -DLINUX -DPIPES -DNO_FLTK_THREADS -D_GNU_SOURCE -DHAVE_SOCKETS -DHAVE_STRTOK_R -DHAVE_STRTOD_L\" -Xcompiler ,\"-ffast-math\",\"-mfpmath=sse\",\"-msse2\",\"-fomit-frame-pointer\",\"-fvisibility=hidden\",\"-DHAVE_ATOMIC_BUILTIN\",\"-fopenmp\",\"-fPIC\",\"-g\" -arch=sm_20 -use_fast_math -DNVCC -I/usr/include -I/home/sim/Src/csound/./H -I/home/sim/Src/csound/./include -I/home/sim/Src/csound/./Engine -I/home/sim/Src/csound/. -I/home/sim/Src/csound/csound6.09 -I/home/sim/Src/csound/csound6.09/include -I/usr/include/python2.7 -I/home/sim/Src/csound/include -I/usr/local/include
> nvcc fatal   : Stray '"' character
> CMake Error at cudaop3_generated_slidingm.cu.o.cmake:222 (message):
>  Error generating
>  /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o
> 
> 
> Opcodes/cuda/CMakeFiles/cudaop3.dir/build.make:63: recipe for target 'Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o' failed
> make[2]: *** [Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o] Error 1
> make[2]: Leaving directory '/home/sim/Src/csound/csound6.09'
> CMakeFiles/Makefile2:1656: recipe for target 'Opcodes/cuda/CMakeFiles/cudaop3.dir/all' failed
> make[1]: *** [Opcodes/cuda/CMakeFiles/cudaop3.dir/all] Error 2
> make[1]: Leaving directory '/home/sim/Src/csound/csound6.09'
> Makefile:160: recipe for target 'all' failed
> make: *** [all] Error 2
> 
> 
>> 5 juni 2017 kl. 20:13 skrev Victor Lazzarini :
>> 
>> can you do a make clean, then just make ?
>> 
>> I want to see what happened in the compilation of the .o file.
>> ========================
>> Prof. Victor Lazzarini
>> Dean of Arts, Celtic Studies, and Philosophy,
>> Maynooth University,
>> Maynooth, Co Kildare, Ireland
>> Tel: 00 353 7086936
>> Fax: 00 353 1 7086952 
>> 
>>> On 5 Jun 2017, at 15:15, Anders Genell  wrote:
>>> 
>>> Just using "make" without -j6 shows a bit more info, and it now does seem to be cuda related...
>>> 
>>> [ 63%] Building NVCC (Device) object Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o
>>> CMake Warning (dev) at cudaop3_generated_slidingm.cu.o.cmake:81:
>>> Syntax Warning in cmake code at column 75
>>> 
>>> Argument not separated from preceding token by whitespace.
>>> This warning is for project developers.  Use -Wno-dev to suppress it.
>>> 
>>> nvcc fatal   : Stray '"' character
>>> CMake Error at cudaop3_generated_slidingm.cu.o.cmake:222 (message):
>>> Error generating
>>> /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o
>>> 
>>> 
>>> Opcodes/cuda/CMakeFiles/cudaop3.dir/build.make:63: recipe for target 'Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o' failed
>>> make[2]: *** [Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o] Error 1
>>> CMakeFiles/Makefile2:1656: recipe for target 'Opcodes/cuda/CMakeFiles/cudaop3.dir/all' failed
>>> make[1]: *** [Opcodes/cuda/CMakeFiles/cudaop3.dir/all] Error 2
>>> Makefile:160: recipe for target 'all' failed
>>> make: *** [all] Error 2
>>> 
>>> On Mon, Jun 5, 2017 at 3:20 PM, jpff  wrote:
>>> It looks to me tat the error is earlier if building with -j6 o te ie
>>> 
>>> Tese messagesare OK and suggest aa broken .o file
>>> 
>>> 
>>> 
>>> On Mon, 5 Jun 2017, Victor Lazzarini wrote:
>>> 
>>> Are you building with make -j 6 ? I can't see where it is failing. If you are,
>>> try just 'make'
>>> 
>>> Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy
>>> Maynooth University
>>> Ireland
>>> 
>>> On 5 Jun 2017, at 12:41, Anders Genell  wrote:
>>> 
>>>     Ok, got the verbosity up:
>>> 
>>>     [ 62%] Building C object
>>>     CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o
>>>     /usr/bin/cc 
>>>     -DCS_DEFAULT_PLUGINDIR=\"/usr/local/lib/csound/plugins64-6.0\"
>>>     -DHAVE_SOCKETS -DHAVE_STRTOD_L -DHAVE_STRTOK_R -DLINUX
>>>     -DNO_FLTK_THREADS -DPIPES -DUSE_LRINT -D_CSOUND_RELEASE_
>>>     -D_GNU_SOURCE -Dcsound64_EXPORTS -I/home/sim/Src/csound/./H
>>>     -I/home/sim/Src/csound/./include -I/home/sim/Src/csound/./Engine
>>>     -I/home/sim/Src/csound/. -I/home/sim/Src/csound/csound6.09
>>>     -I/home/sim/Src/csound/csound6.09/include  -ffast-math
>>>     -mfpmath=sse -msse2 -fomit-frame-pointer -fvisibility=hidden
>>>     -DHAVE_ATOMIC_BUILTIN -DHAVE_PTHREAD -fPIC   -Wno-format  
>>>     -D__BUILDING_LIBCSOUND -DHAVE_PTHREAD_SPIN_LOCK
>>>     -DHAVE_PTHREAD_BARRIER_INIT -DPARCS -DGNU_GETTEXT -DHAVE_DIRENT_H
>>>     -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H
>>>     -DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H -DHAVE_VALUES_H -o
>>>     CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o   -c
>>>     /home/sim/Src/csound/Engine/cs_par_dispatch.c
>>>     [ 63%] Linking C shared library libcsound64.so
>>>     /usr/bin/cmake -E cmake_link_script
>>>     CMakeFiles/csound64.dir/link.txt --verbose=1
>>>     /usr/bin/cc  -fPIC  -ffast-math -mfpmath=sse -msse2
>>>     -fomit-frame-pointer -fvisibility=hidden -DHAVE_ATOMIC_BUILTIN
>>>     -DHAVE_PTHREAD  -shared -Wl,-soname,libcsound64.so.6.0 -o
>>>     libcsound64.so.6.0 CMakeFiles/csound64.dir/Top/csound.c.o
>>>     CMakeFiles/csound64.dir/Engine/auxfd.c.o
>>>     CMakeFiles/csound64.dir/Engine/cfgvar.c.o
>>>     CMakeFiles/csound64.dir/Engine/corfiles.c.o
>>>     CMakeFiles/csound64.dir/Engine/entry1.c.o
>>>     CMakeFiles/csound64.dir/Engine/envvar.c.o
>>>     CMakeFiles/csound64.dir/Engine/extract.c.o
>>>     CMakeFiles/csound64.dir/Engine/fgens.c.o
>>>     CMakeFiles/csound64.dir/Engine/insert.c.o
>>>     CMakeFiles/csound64.dir/Engine/linevent.c.o
>>>     CMakeFiles/csound64.dir/Engine/memalloc.c.o
>>>     CMakeFiles/csound64.dir/Engine/memfiles.c.o
>>>     CMakeFiles/csound64.dir/Engine/musmon.c.o
>>>     CMakeFiles/csound64.dir/Engine/namedins.c.o
>>>     CMakeFiles/csound64.dir/Engine/rdscor.c.o
>>>     CMakeFiles/csound64.dir/Engine/scsort.c.o
>>>     CMakeFiles/csound64.dir/Engine/scxtract.c.o
>>>     CMakeFiles/csound64.dir/Engine/sort.c.o
>>>     CMakeFiles/csound64.dir/Engine/sread.c.o
>>>     CMakeFiles/csound64.dir/Engine/swritestr.c.o
>>>     CMakeFiles/csound64.dir/Engine/twarp.c.o
>>>     CMakeFiles/csound64.dir/Engine/csound_type_system.c.o
>>>     CMakeFiles/csound64.dir/Engine/csound_standard_types.c.o
>>>     CMakeFiles/csound64.dir/Engine/csound_data_structures.c.o
>>>     CMakeFiles/csound64.dir/Engine/pools.c.o
>>>     CMakeFiles/csound64.dir/InOut/libsnd.c.o
>>>     CMakeFiles/csound64.dir/InOut/libsnd_u.c.o
>>>     CMakeFiles/csound64.dir/InOut/midifile.c.o
>>>     CMakeFiles/csound64.dir/InOut/midirecv.c.o
>>>     CMakeFiles/csound64.dir/InOut/midisend.c.o
>>>     CMakeFiles/csound64.dir/InOut/winascii.c.o
>>>     CMakeFiles/csound64.dir/InOut/windin.c.o
>>>     CMakeFiles/csound64.dir/InOut/window.c.o
>>>     CMakeFiles/csound64.dir/InOut/winEPS.c.o
>>>     CMakeFiles/csound64.dir/InOut/circularbuffer.c.o
>>>     CMakeFiles/csound64.dir/OOps/aops.c.o
>>>     CMakeFiles/csound64.dir/OOps/bus.c.o
>>>     CMakeFiles/csound64.dir/OOps/cmath.c.o
>>>     CMakeFiles/csound64.dir/OOps/diskin2.c.o
>>>     CMakeFiles/csound64.dir/OOps/disprep.c.o
>>>     CMakeFiles/csound64.dir/OOps/dumpf.c.o
>>>     CMakeFiles/csound64.dir/OOps/fftlib.c.o
>>>     CMakeFiles/csound64.dir/OOps/pffft.c.o
>>>     CMakeFiles/csound64.dir/OOps/goto_ops.c.o
>>>     CMakeFiles/csound64.dir/OOps/midiinterop.c.o
>>>     CMakeFiles/csound64.dir/OOps/midiops.c.o
>>>     CMakeFiles/csound64.dir/OOps/midiout.c.o
>>>     CMakeFiles/csound64.dir/OOps/mxfft.c.o
>>>     CMakeFiles/csound64.dir/OOps/oscils.c.o
>>>     CMakeFiles/csound64.dir/OOps/pstream.c.o
>>>     CMakeFiles/csound64.dir/OOps/pvfileio.c.o
>>>     CMakeFiles/csound64.dir/OOps/pvsanal.c.o
>>>     CMakeFiles/csound64.dir/OOps/random.c.o
>>>     CMakeFiles/csound64.dir/OOps/remote.c.o
>>>     CMakeFiles/csound64.dir/OOps/schedule.c.o
>>>     CMakeFiles/csound64.dir/OOps/sndinfUG.c.o
>>>     CMakeFiles/csound64.dir/OOps/str_ops.c.o
>>>     CMakeFiles/csound64.dir/OOps/ugens1.c.o
>>>     CMakeFiles/csound64.dir/OOps/ugens2.c.o
>>>     CMakeFiles/csound64.dir/OOps/ugens3.c.o
>>>     CMakeFiles/csound64.dir/OOps/ugens4.c.o
>>>     CMakeFiles/csound64.dir/OOps/ugens5.c.o
>>>     CMakeFiles/csound64.dir/OOps/ugens6.c.o
>>>     CMakeFiles/csound64.dir/OOps/ugtabs.c.o
>>>     CMakeFiles/csound64.dir/OOps/ugrw1.c.o
>>>     CMakeFiles/csound64.dir/OOps/ugrw2.c.o
>>>     CMakeFiles/csound64.dir/OOps/vdelay.c.o
>>>     CMakeFiles/csound64.dir/OOps/compile_ops.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/babo.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/bilbar.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/compress.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/eqfil.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/Vosim.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/pinker.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/pitch.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/pitch0.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/spectra.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/ambicode1.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/sfont.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/grain4.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/hrtferX.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/loscilx.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/minmax.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/pan2.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/arrays.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/phisem.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/hrtfopcodes.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/vbap.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/vbap1.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/vbap_n.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/vbap_zak.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/vaops.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/ugakbari.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/harmon.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/pitchtrack.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/partikkel.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/shape.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/tabsum.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/crossfm.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/pvlock.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/fareyseq.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/modmatrix.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/scoreline.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/modal4.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/physutil.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/physmod.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/mandolin.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/singwave.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/fm4op.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/moog1.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/shaker.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/bowedbar.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/gab/tabmorph.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/gab/hvs.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/gab/sliderTable.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/gab/newgabopc.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/ftest.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/hrtfearly.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/hrtfreverb.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/cpumeter.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/gendy.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/tl/sc_noise.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/afilters.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/wpfilters.c.o
>>>     CMakeFiles/csound64.dir/Top/argdecode.c.o
>>>     CMakeFiles/csound64.dir/Top/csdebug.c.o
>>>     CMakeFiles/csound64.dir/Top/cscore_internal.c.o
>>>     CMakeFiles/csound64.dir/Top/cscorfns.c.o
>>>     CMakeFiles/csound64.dir/Top/csmodule.c.o
>>>     CMakeFiles/csound64.dir/Top/getstring.c.o
>>>     CMakeFiles/csound64.dir/Top/main.c.o
>>>     CMakeFiles/csound64.dir/Top/new_opts.c.o
>>>     CMakeFiles/csound64.dir/Top/one_file.c.o
>>>     CMakeFiles/csound64.dir/Top/opcode.c.o
>>>     CMakeFiles/csound64.dir/Top/threads.c.o
>>>     CMakeFiles/csound64.dir/Top/utility.c.o
>>>     CMakeFiles/csound64.dir/Top/threadsafe.c.o
>>>     CMakeFiles/csound64.dir/Top/server.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/ambicode.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/bbcut.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/biquad.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/butter.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/clfilt.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/cross2.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/dam.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/dcblockr.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/filter.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/flanger.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/follow.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/fout.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/freeverb.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/ftconv.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/ftgen.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/gab/gab.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/gab/vectorial.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/grain.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/locsig.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/lowpassr.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/metro.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/midiops2.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/midiops3.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/newfils.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/nlfilt.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/oscbnk.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/pluck.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/paulstretch.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/repluck.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/reverbsc.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/seqtime.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/sndloop.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/sndwarp.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/space.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/spat3d.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/syncgrain.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/ugens7.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/ugens9.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/ugensa.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/uggab.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/ugmoss.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/ugnorman.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/ugsc.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/wave-terrain.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/stdopcod.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/socksend.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/sockrecv.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/ifd.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/partials.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/psynth.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/pvsbasic.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/pvscent.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/pvsdemix.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/pvs_ops.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/pvsband.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/pvsbuffer.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/pvsgendy.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/dsputil.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/pvadd.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/pvinterp.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/pvocext.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/pvread.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/ugens8.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/vpvoc.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/pvoc.c.o
>>>     CMakeFiles/csound64.dir/Opcodes/mp3in.c.o
>>>     CMakeFiles/csound64.dir/InOut/libmpadec/layer1.c.o
>>>     CMakeFiles/csound64.dir/InOut/libmpadec/layer2.c.o
>>>     CMakeFiles/csound64.dir/InOut/libmpadec/layer3.c.o
>>>     CMakeFiles/csound64.dir/InOut/libmpadec/synth.c.o
>>>     CMakeFiles/csound64.dir/InOut/libmpadec/tables.c.o
>>>     CMakeFiles/csound64.dir/InOut/libmpadec/mpadec.c.o
>>>     CMakeFiles/csound64.dir/InOut/libmpadec/mp3dec.c.o
>>>     CMakeFiles/csound64.dir/csound_orclex.c.o
>>>     CMakeFiles/csound64.dir/csound_orcparse.c.o
>>>     CMakeFiles/csound64.dir/csound_prelex.c.o
>>>     CMakeFiles/csound64.dir/Engine/csound_orc_semantics.c.o
>>>     CMakeFiles/csound64.dir/Engine/csound_orc_expressions.c.o
>>>     CMakeFiles/csound64.dir/Engine/csound_orc_optimize.c.o
>>>     CMakeFiles/csound64.dir/Engine/csound_orc_compile.c.o
>>>     CMakeFiles/csound64.dir/Engine/new_orc_parser.c.o
>>>     CMakeFiles/csound64.dir/Engine/symbtab.c.o
>>>     CMakeFiles/csound64.dir/csound_prslex.c.o
>>>     CMakeFiles/csound64.dir/Engine/cs_new_dispatch.c.o
>>>     CMakeFiles/csound64.dir/Engine/cs_par_base.c.o
>>>     CMakeFiles/csound64.dir/Engine/cs_par_orc_semantic_analysis.c.o
>>>     CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o -lsndfile
>>>     -lpthread -lm -ldl -lrt
>>>     /usr/bin/cmake -E cmake_symlink_library libcsound64.so.6.0
>>>     libcsound64.so.6.0 libcsound64.so
>>>     make[2]: Leaving directory '/home/sim/Src/csound/csound6.09'
>>>     [ 63%] Built target csound64
>>>     make[1]: Leaving directory '/home/sim/Src/csound/csound6.09'
>>>     Makefile:160: recipe for target 'all' failed
>>>     make: *** [all] Error 2
>>> 
>>> 
>>> On Mon, Jun 5, 2017 at 1:21 PM, Anders Genell 
>>> wrote:
>>>     Well, the build runs fine when I do not try to build the
>>>     cuda opcodes.
>>> 
>>> Where do I put CMAKE_MAKEFILE_VERBOSE? As a -D flag for cmake?
>>> 
>>> Regards,
>>> Anders
>>> 
>>> On Mon, Jun 5, 2017 at 1:10 PM, Victor Lazzarini
>>>  wrote:
>>>     The line you printed does not indicate a build  error
>>>     with the cuda opcodes. Try building with 
>>>     CMAKE_MAKEFILE_VERBOSE=1 so we can see what the errors
>>>     are.
>>> 
>>>     Victor Lazzarini
>>>     Dean of Arts, Celtic Studies, and Philosophy
>>>     Maynooth University
>>>     Ireland
>>> 
>>>> On 5 Jun 2017, at 11:43, Anders Genell
>>>      wrote:
>>>> 
>>>> Dear devs, particularly Prof. Lazzarini!
>>>> 
>>>> I just pulled from git and built on a fairly modern
>>>     machine with a Nvidia GTX 780 hour. It has Ubuntu
>>>     17.04 installed, and I have installed the CUDA 8.0
>>>     toolkit. The build did not automatically find the CUDA
>>>     libs, and when forcing the CUDA opcodes build, I get a
>>>     build error. It doesn't really give much information
>>>     about the error, just
>>>> 
>>>> [ 62%] Building C object
>>>     CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o
>>>> [ 63%] Linking C shared library libcsound64.so
>>>> [ 63%] Built target csound64
>>>> Makefile:160: recipe for target 'all' failed
>>>> make: *** [all] Error 2
>>>> 
>>>> I saw something somewhere that CUDA doesn't support
>>>     gcc 5 yet, which might be the culprit. Has anyone else
>>>     run into this?
>>>> 
>>>> Regards,
>>>> Anders
>>> 

Date2017-06-05 19:35
FromAnders Genell
SubjectRe: [Csnd-dev] CUDA (again)
Thanks!
I'll hold back for a while and see if you find anything. 

Regards,
Anders

> 5 juni 2017 kl. 20:32 skrev Victor Lazzarini :
> 
> It’s a CMake problem, apparently. I’ve updated my CMake to 3.8 and now I am having the same problem as you. 
> Not sure whether there is a fix beyond reverting to 3.6, but I’ll see what I find out.
> ========================
> Prof. Victor Lazzarini
> Dean of Arts, Celtic Studies, and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952 
> 
>> On 5 Jun 2017, at 19:28, Anders Genell  wrote:
>> 
>> [ 63%] Building NVCC (Device) object Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o
>> cd /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir && /usr/bin/cmake -E make_directory /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//.
>> cd /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir && /usr/bin/cmake -D verbose:BOOL=1 -D build_configuration:STRING= -D generated_file:STRING=/home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o -D generated_cubin_file:STRING=/home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o.cubin.txt -P /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//cudaop3_generated_slidingm.cu.o.cmake
>> CMake Warning (dev) at cudaop3_generated_slidingm.cu.o.cmake:81:
>> Syntax Warning in cmake code at column 75
>> 
>> Argument not separated from preceding token by whitespace.
>> This warning is for project developers.  Use -Wno-dev to suppress it.
>> 
>> -- Removing /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o
>> /usr/bin/cmake -E remove /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o
>> -- Generating dependency file: /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//cudaop3_generated_slidingm.cu.o.NVCC-depend
>> /usr/bin/nvcc -M -D__CUDACC__ /home/sim/Src/csound/Opcodes/cuda/slidingm.cu -o /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//cudaop3_generated_slidingm.cu.o.NVCC-depend -ccbin /usr/bin/cc -m64 -Dcudaop3_EXPORTS -D_CSOUND_RELEASE_ -DCS_DEFAULT_PLUGINDIR= -D/usr/local/lib/csound/plugins-6.0\" -DUSE_LRINT -DLINUX -DPIPES -DNO_FLTK_THREADS -D_GNU_SOURCE -DHAVE_SOCKETS -DHAVE_STRTOK_R -DHAVE_STRTOD_L\" -Xcompiler ,\"-ffast-math\",\"-mfpmath=sse\",\"-msse2\",\"-fomit-frame-pointer\",\"-fvisibility=hidden\",\"-DHAVE_ATOMIC_BUILTIN\",\"-fopenmp\",\"-fPIC\",\"-g\" -arch=sm_20 -use_fast_math -DNVCC -I/usr/include -I/home/sim/Src/csound/./H -I/home/sim/Src/csound/./include -I/home/sim/Src/csound/./Engine -I/home/sim/Src/csound/. -I/home/sim/Src/csound/csound6.09 -I/home/sim/Src/csound/csound6.09/include -I/usr/include/python2.7 -I/home/sim/Src/csound/include -I/usr/local/include
>> nvcc fatal   : Stray '"' character
>> CMake Error at cudaop3_generated_slidingm.cu.o.cmake:222 (message):
>> Error generating
>> /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o
>> 
>> 
>> Opcodes/cuda/CMakeFiles/cudaop3.dir/build.make:63: recipe for target 'Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o' failed
>> make[2]: *** [Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o] Error 1
>> make[2]: Leaving directory '/home/sim/Src/csound/csound6.09'
>> CMakeFiles/Makefile2:1656: recipe for target 'Opcodes/cuda/CMakeFiles/cudaop3.dir/all' failed
>> make[1]: *** [Opcodes/cuda/CMakeFiles/cudaop3.dir/all] Error 2
>> make[1]: Leaving directory '/home/sim/Src/csound/csound6.09'
>> Makefile:160: recipe for target 'all' failed
>> make: *** [all] Error 2
>> 
>> 
>>> 5 juni 2017 kl. 20:13 skrev Victor Lazzarini :
>>> 
>>> can you do a make clean, then just make ?
>>> 
>>> I want to see what happened in the compilation of the .o file.
>>> ========================
>>> Prof. Victor Lazzarini
>>> Dean of Arts, Celtic Studies, and Philosophy,
>>> Maynooth University,
>>> Maynooth, Co Kildare, Ireland
>>> Tel: 00 353 7086936
>>> Fax: 00 353 1 7086952 
>>> 
>>>> On 5 Jun 2017, at 15:15, Anders Genell  wrote:
>>>> 
>>>> Just using "make" without -j6 shows a bit more info, and it now does seem to be cuda related...
>>>> 
>>>> [ 63%] Building NVCC (Device) object Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o
>>>> CMake Warning (dev) at cudaop3_generated_slidingm.cu.o.cmake:81:
>>>> Syntax Warning in cmake code at column 75
>>>> 
>>>> Argument not separated from preceding token by whitespace.
>>>> This warning is for project developers.  Use -Wno-dev to suppress it.
>>>> 
>>>> nvcc fatal   : Stray '"' character
>>>> CMake Error at cudaop3_generated_slidingm.cu.o.cmake:222 (message):
>>>> Error generating
>>>> /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o
>>>> 
>>>> 
>>>> Opcodes/cuda/CMakeFiles/cudaop3.dir/build.make:63: recipe for target 'Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o' failed
>>>> make[2]: *** [Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o] Error 1
>>>> CMakeFiles/Makefile2:1656: recipe for target 'Opcodes/cuda/CMakeFiles/cudaop3.dir/all' failed
>>>> make[1]: *** [Opcodes/cuda/CMakeFiles/cudaop3.dir/all] Error 2
>>>> Makefile:160: recipe for target 'all' failed
>>>> make: *** [all] Error 2
>>>> 
>>>> On Mon, Jun 5, 2017 at 3:20 PM, jpff  wrote:
>>>> It looks to me tat the error is earlier if building with -j6 o te ie
>>>> 
>>>> Tese messagesare OK and suggest aa broken .o file
>>>> 
>>>> 
>>>> 
>>>> On Mon, 5 Jun 2017, Victor Lazzarini wrote:
>>>> 
>>>> Are you building with make -j 6 ? I can't see where it is failing. If you are,
>>>> try just 'make'
>>>> 
>>>> Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy
>>>> Maynooth University
>>>> Ireland
>>>> 
>>>> On 5 Jun 2017, at 12:41, Anders Genell  wrote:
>>>> 
>>>>    Ok, got the verbosity up:
>>>> 
>>>>    [ 62%] Building C object
>>>>    CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o
>>>>    /usr/bin/cc 
>>>>    -DCS_DEFAULT_PLUGINDIR=\"/usr/local/lib/csound/plugins64-6.0\"
>>>>    -DHAVE_SOCKETS -DHAVE_STRTOD_L -DHAVE_STRTOK_R -DLINUX
>>>>    -DNO_FLTK_THREADS -DPIPES -DUSE_LRINT -D_CSOUND_RELEASE_
>>>>    -D_GNU_SOURCE -Dcsound64_EXPORTS -I/home/sim/Src/csound/./H
>>>>    -I/home/sim/Src/csound/./include -I/home/sim/Src/csound/./Engine
>>>>    -I/home/sim/Src/csound/. -I/home/sim/Src/csound/csound6.09
>>>>    -I/home/sim/Src/csound/csound6.09/include  -ffast-math
>>>>    -mfpmath=sse -msse2 -fomit-frame-pointer -fvisibility=hidden
>>>>    -DHAVE_ATOMIC_BUILTIN -DHAVE_PTHREAD -fPIC   -Wno-format  
>>>>    -D__BUILDING_LIBCSOUND -DHAVE_PTHREAD_SPIN_LOCK
>>>>    -DHAVE_PTHREAD_BARRIER_INIT -DPARCS -DGNU_GETTEXT -DHAVE_DIRENT_H
>>>>    -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H
>>>>    -DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H -DHAVE_VALUES_H -o
>>>>    CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o   -c
>>>>    /home/sim/Src/csound/Engine/cs_par_dispatch.c
>>>>    [ 63%] Linking C shared library libcsound64.so
>>>>    /usr/bin/cmake -E cmake_link_script
>>>>    CMakeFiles/csound64.dir/link.txt --verbose=1
>>>>    /usr/bin/cc  -fPIC  -ffast-math -mfpmath=sse -msse2
>>>>    -fomit-frame-pointer -fvisibility=hidden -DHAVE_ATOMIC_BUILTIN
>>>>    -DHAVE_PTHREAD  -shared -Wl,-soname,libcsound64.so.6.0 -o
>>>>    libcsound64.so.6.0 CMakeFiles/csound64.dir/Top/csound.c.o
>>>>    CMakeFiles/csound64.dir/Engine/auxfd.c.o
>>>>    CMakeFiles/csound64.dir/Engine/cfgvar.c.o
>>>>    CMakeFiles/csound64.dir/Engine/corfiles.c.o
>>>>    CMakeFiles/csound64.dir/Engine/entry1.c.o
>>>>    CMakeFiles/csound64.dir/Engine/envvar.c.o
>>>>    CMakeFiles/csound64.dir/Engine/extract.c.o
>>>>    CMakeFiles/csound64.dir/Engine/fgens.c.o
>>>>    CMakeFiles/csound64.dir/Engine/insert.c.o
>>>>    CMakeFiles/csound64.dir/Engine/linevent.c.o
>>>>    CMakeFiles/csound64.dir/Engine/memalloc.c.o
>>>>    CMakeFiles/csound64.dir/Engine/memfiles.c.o
>>>>    CMakeFiles/csound64.dir/Engine/musmon.c.o
>>>>    CMakeFiles/csound64.dir/Engine/namedins.c.o
>>>>    CMakeFiles/csound64.dir/Engine/rdscor.c.o
>>>>    CMakeFiles/csound64.dir/Engine/scsort.c.o
>>>>    CMakeFiles/csound64.dir/Engine/scxtract.c.o
>>>>    CMakeFiles/csound64.dir/Engine/sort.c.o
>>>>    CMakeFiles/csound64.dir/Engine/sread.c.o
>>>>    CMakeFiles/csound64.dir/Engine/swritestr.c.o
>>>>    CMakeFiles/csound64.dir/Engine/twarp.c.o
>>>>    CMakeFiles/csound64.dir/Engine/csound_type_system.c.o
>>>>    CMakeFiles/csound64.dir/Engine/csound_standard_types.c.o
>>>>    CMakeFiles/csound64.dir/Engine/csound_data_structures.c.o
>>>>    CMakeFiles/csound64.dir/Engine/pools.c.o
>>>>    CMakeFiles/csound64.dir/InOut/libsnd.c.o
>>>>    CMakeFiles/csound64.dir/InOut/libsnd_u.c.o
>>>>    CMakeFiles/csound64.dir/InOut/midifile.c.o
>>>>    CMakeFiles/csound64.dir/InOut/midirecv.c.o
>>>>    CMakeFiles/csound64.dir/InOut/midisend.c.o
>>>>    CMakeFiles/csound64.dir/InOut/winascii.c.o
>>>>    CMakeFiles/csound64.dir/InOut/windin.c.o
>>>>    CMakeFiles/csound64.dir/InOut/window.c.o
>>>>    CMakeFiles/csound64.dir/InOut/winEPS.c.o
>>>>    CMakeFiles/csound64.dir/InOut/circularbuffer.c.o
>>>>    CMakeFiles/csound64.dir/OOps/aops.c.o
>>>>    CMakeFiles/csound64.dir/OOps/bus.c.o
>>>>    CMakeFiles/csound64.dir/OOps/cmath.c.o
>>>>    CMakeFiles/csound64.dir/OOps/diskin2.c.o
>>>>    CMakeFiles/csound64.dir/OOps/disprep.c.o
>>>>    CMakeFiles/csound64.dir/OOps/dumpf.c.o
>>>>    CMakeFiles/csound64.dir/OOps/fftlib.c.o
>>>>    CMakeFiles/csound64.dir/OOps/pffft.c.o
>>>>    CMakeFiles/csound64.dir/OOps/goto_ops.c.o
>>>>    CMakeFiles/csound64.dir/OOps/midiinterop.c.o
>>>>    CMakeFiles/csound64.dir/OOps/midiops.c.o
>>>>    CMakeFiles/csound64.dir/OOps/midiout.c.o
>>>>    CMakeFiles/csound64.dir/OOps/mxfft.c.o
>>>>    CMakeFiles/csound64.dir/OOps/oscils.c.o
>>>>    CMakeFiles/csound64.dir/OOps/pstream.c.o
>>>>    CMakeFiles/csound64.dir/OOps/pvfileio.c.o
>>>>    CMakeFiles/csound64.dir/OOps/pvsanal.c.o
>>>>    CMakeFiles/csound64.dir/OOps/random.c.o
>>>>    CMakeFiles/csound64.dir/OOps/remote.c.o
>>>>    CMakeFiles/csound64.dir/OOps/schedule.c.o
>>>>    CMakeFiles/csound64.dir/OOps/sndinfUG.c.o
>>>>    CMakeFiles/csound64.dir/OOps/str_ops.c.o
>>>>    CMakeFiles/csound64.dir/OOps/ugens1.c.o
>>>>    CMakeFiles/csound64.dir/OOps/ugens2.c.o
>>>>    CMakeFiles/csound64.dir/OOps/ugens3.c.o
>>>>    CMakeFiles/csound64.dir/OOps/ugens4.c.o
>>>>    CMakeFiles/csound64.dir/OOps/ugens5.c.o
>>>>    CMakeFiles/csound64.dir/OOps/ugens6.c.o
>>>>    CMakeFiles/csound64.dir/OOps/ugtabs.c.o
>>>>    CMakeFiles/csound64.dir/OOps/ugrw1.c.o
>>>>    CMakeFiles/csound64.dir/OOps/ugrw2.c.o
>>>>    CMakeFiles/csound64.dir/OOps/vdelay.c.o
>>>>    CMakeFiles/csound64.dir/OOps/compile_ops.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/babo.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/bilbar.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/compress.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/eqfil.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/Vosim.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/pinker.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/pitch.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/pitch0.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/spectra.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/ambicode1.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/sfont.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/grain4.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/hrtferX.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/loscilx.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/minmax.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/pan2.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/arrays.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/phisem.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/hrtfopcodes.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/vbap.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/vbap1.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/vbap_n.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/vbap_zak.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/vaops.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/ugakbari.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/harmon.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/pitchtrack.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/partikkel.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/shape.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/tabsum.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/crossfm.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/pvlock.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/fareyseq.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/modmatrix.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/scoreline.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/modal4.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/physutil.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/physmod.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/mandolin.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/singwave.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/fm4op.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/moog1.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/shaker.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/bowedbar.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/gab/tabmorph.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/gab/hvs.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/gab/sliderTable.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/gab/newgabopc.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/ftest.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/hrtfearly.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/hrtfreverb.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/cpumeter.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/gendy.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/tl/sc_noise.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/afilters.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/wpfilters.c.o
>>>>    CMakeFiles/csound64.dir/Top/argdecode.c.o
>>>>    CMakeFiles/csound64.dir/Top/csdebug.c.o
>>>>    CMakeFiles/csound64.dir/Top/cscore_internal.c.o
>>>>    CMakeFiles/csound64.dir/Top/cscorfns.c.o
>>>>    CMakeFiles/csound64.dir/Top/csmodule.c.o
>>>>    CMakeFiles/csound64.dir/Top/getstring.c.o
>>>>    CMakeFiles/csound64.dir/Top/main.c.o
>>>>    CMakeFiles/csound64.dir/Top/new_opts.c.o
>>>>    CMakeFiles/csound64.dir/Top/one_file.c.o
>>>>    CMakeFiles/csound64.dir/Top/opcode.c.o
>>>>    CMakeFiles/csound64.dir/Top/threads.c.o
>>>>    CMakeFiles/csound64.dir/Top/utility.c.o
>>>>    CMakeFiles/csound64.dir/Top/threadsafe.c.o
>>>>    CMakeFiles/csound64.dir/Top/server.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/ambicode.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/bbcut.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/biquad.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/butter.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/clfilt.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/cross2.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/dam.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/dcblockr.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/filter.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/flanger.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/follow.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/fout.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/freeverb.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/ftconv.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/ftgen.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/gab/gab.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/gab/vectorial.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/grain.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/locsig.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/lowpassr.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/metro.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/midiops2.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/midiops3.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/newfils.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/nlfilt.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/oscbnk.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/pluck.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/paulstretch.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/repluck.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/reverbsc.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/seqtime.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/sndloop.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/sndwarp.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/space.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/spat3d.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/syncgrain.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/ugens7.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/ugens9.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/ugensa.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/uggab.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/ugmoss.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/ugnorman.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/ugsc.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/wave-terrain.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/stdopcod.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/socksend.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/sockrecv.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/ifd.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/partials.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/psynth.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/pvsbasic.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/pvscent.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/pvsdemix.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/pvs_ops.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/pvsband.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/pvsbuffer.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/pvsgendy.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/dsputil.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/pvadd.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/pvinterp.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/pvocext.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/pvread.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/ugens8.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/vpvoc.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/pvoc.c.o
>>>>    CMakeFiles/csound64.dir/Opcodes/mp3in.c.o
>>>>    CMakeFiles/csound64.dir/InOut/libmpadec/layer1.c.o
>>>>    CMakeFiles/csound64.dir/InOut/libmpadec/layer2.c.o
>>>>    CMakeFiles/csound64.dir/InOut/libmpadec/layer3.c.o
>>>>    CMakeFiles/csound64.dir/InOut/libmpadec/synth.c.o
>>>>    CMakeFiles/csound64.dir/InOut/libmpadec/tables.c.o
>>>>    CMakeFiles/csound64.dir/InOut/libmpadec/mpadec.c.o
>>>>    CMakeFiles/csound64.dir/InOut/libmpadec/mp3dec.c.o
>>>>    CMakeFiles/csound64.dir/csound_orclex.c.o
>>>>    CMakeFiles/csound64.dir/csound_orcparse.c.o
>>>>    CMakeFiles/csound64.dir/csound_prelex.c.o
>>>>    CMakeFiles/csound64.dir/Engine/csound_orc_semantics.c.o
>>>>    CMakeFiles/csound64.dir/Engine/csound_orc_expressions.c.o
>>>>    CMakeFiles/csound64.dir/Engine/csound_orc_optimize.c.o
>>>>    CMakeFiles/csound64.dir/Engine/csound_orc_compile.c.o
>>>>    CMakeFiles/csound64.dir/Engine/new_orc_parser.c.o
>>>>    CMakeFiles/csound64.dir/Engine/symbtab.c.o
>>>>    CMakeFiles/csound64.dir/csound_prslex.c.o
>>>>    CMakeFiles/csound64.dir/Engine/cs_new_dispatch.c.o
>>>>    CMakeFiles/csound64.dir/Engine/cs_par_base.c.o
>>>>    CMakeFiles/csound64.dir/Engine/cs_par_orc_semantic_analysis.c.o
>>>>    CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o -lsndfile
>>>>    -lpthread -lm -ldl -lrt
>>>>    /usr/bin/cmake -E cmake_symlink_library libcsound64.so.6.0
>>>>    libcsound64.so.6.0 libcsound64.so
>>>>    make[2]: Leaving directory '/home/sim/Src/csound/csound6.09'
>>>>    [ 63%] Built target csound64
>>>>    make[1]: Leaving directory '/home/sim/Src/csound/csound6.09'
>>>>    Makefile:160: recipe for target 'all' failed
>>>>    make: *** [all] Error 2
>>>> 
>>>> 
>>>> On Mon, Jun 5, 2017 at 1:21 PM, Anders Genell 
>>>> wrote:
>>>>    Well, the build runs fine when I do not try to build the
>>>>    cuda opcodes.
>>>> 
>>>> Where do I put CMAKE_MAKEFILE_VERBOSE? As a -D flag for cmake?
>>>> 
>>>> Regards,
>>>> Anders
>>>> 
>>>> On Mon, Jun 5, 2017 at 1:10 PM, Victor Lazzarini
>>>>  wrote:
>>>>    The line you printed does not indicate a build  error
>>>>    with the cuda opcodes. Try building with 
>>>>    CMAKE_MAKEFILE_VERBOSE=1 so we can see what the errors
>>>>    are.
>>>> 
>>>>    Victor Lazzarini
>>>>    Dean of Arts, Celtic Studies, and Philosophy
>>>>    Maynooth University
>>>>    Ireland
>>>> 
>>>>> On 5 Jun 2017, at 11:43, Anders Genell
>>>>     wrote:
>>>>> 
>>>>> Dear devs, particularly Prof. Lazzarini!
>>>>> 
>>>>> I just pulled from git and built on a fairly modern
>>>>    machine with a Nvidia GTX 780 hour. It has Ubuntu
>>>>    17.04 installed, and I have installed the CUDA 8.0
>>>>    toolkit. The build did not automatically find the CUDA
>>>>    libs, and when forcing the CUDA opcodes build, I get a
>>>>    build error. It doesn't really give much information
>>>>    about the error, just
>>>>> 
>>>>> [ 62%] Building C object
>>>>    CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o
>>>>> [ 63%] Linking C shared library libcsound64.so
>>>>> [ 63%] Built target csound64
>>>>> Makefile:160: recipe for target 'all' failed
>>>>> make: *** [all] Error 2
>>>>> 
>>>>> I saw something somewhere that CUDA doesn't support
>>>>    gcc 5 yet, which might be the culprit. Has anyone else
>>>>    run into this?
>>>>> 
>>>>> Regards,
>>>>> Anders
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 

Date2017-06-05 19:49
FromVictor Lazzarini
SubjectRe: [Csnd-dev] CUDA (again)
I was able to edit the generated CMake files and it seemed to move from that error. But now I need to upgrade cuda because I have a new compiler that is not
compatible with the version I had.
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 5 Jun 2017, at 19:35, Anders Genell  wrote:
> 
> Thanks!
> I'll hold back for a while and see if you find anything. 
> 
> Regards,
> Anders
> 
>> 5 juni 2017 kl. 20:32 skrev Victor Lazzarini :
>> 
>> It’s a CMake problem, apparently. I’ve updated my CMake to 3.8 and now I am having the same problem as you. 
>> Not sure whether there is a fix beyond reverting to 3.6, but I’ll see what I find out.
>> ========================
>> Prof. Victor Lazzarini
>> Dean of Arts, Celtic Studies, and Philosophy,
>> Maynooth University,
>> Maynooth, Co Kildare, Ireland
>> Tel: 00 353 7086936
>> Fax: 00 353 1 7086952 
>> 
>>> On 5 Jun 2017, at 19:28, Anders Genell  wrote:
>>> 
>>> [ 63%] Building NVCC (Device) object Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o
>>> cd /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir && /usr/bin/cmake -E make_directory /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//.
>>> cd /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir && /usr/bin/cmake -D verbose:BOOL=1 -D build_configuration:STRING= -D generated_file:STRING=/home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o -D generated_cubin_file:STRING=/home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o.cubin.txt -P /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//cudaop3_generated_slidingm.cu.o.cmake
>>> CMake Warning (dev) at cudaop3_generated_slidingm.cu.o.cmake:81:
>>> Syntax Warning in cmake code at column 75
>>> 
>>> Argument not separated from preceding token by whitespace.
>>> This warning is for project developers.  Use -Wno-dev to suppress it.
>>> 
>>> -- Removing /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o
>>> /usr/bin/cmake -E remove /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o
>>> -- Generating dependency file: /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//cudaop3_generated_slidingm.cu.o.NVCC-depend
>>> /usr/bin/nvcc -M -D__CUDACC__ /home/sim/Src/csound/Opcodes/cuda/slidingm.cu -o /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//cudaop3_generated_slidingm.cu.o.NVCC-depend -ccbin /usr/bin/cc -m64 -Dcudaop3_EXPORTS -D_CSOUND_RELEASE_ -DCS_DEFAULT_PLUGINDIR= -D/usr/local/lib/csound/plugins-6.0\" -DUSE_LRINT -DLINUX -DPIPES -DNO_FLTK_THREADS -D_GNU_SOURCE -DHAVE_SOCKETS -DHAVE_STRTOK_R -DHAVE_STRTOD_L\" -Xcompiler ,\"-ffast-math\",\"-mfpmath=sse\",\"-msse2\",\"-fomit-frame-pointer\",\"-fvisibility=hidden\",\"-DHAVE_ATOMIC_BUILTIN\",\"-fopenmp\",\"-fPIC\",\"-g\" -arch=sm_20 -use_fast_math -DNVCC -I/usr/include -I/home/sim/Src/csound/./H -I/home/sim/Src/csound/./include -I/home/sim/Src/csound/./Engine -I/home/sim/Src/csound/. -I/home/sim/Src/csound/csound6.09 -I/home/sim/Src/csound/csound6.09/include -I/usr/include/python2.7 -I/home/sim/Src/csound/include -I/usr/local/include
>>> nvcc fatal   : Stray '"' character
>>> CMake Error at cudaop3_generated_slidingm.cu.o.cmake:222 (message):
>>> Error generating
>>> /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o
>>> 
>>> 
>>> Opcodes/cuda/CMakeFiles/cudaop3.dir/build.make:63: recipe for target 'Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o' failed
>>> make[2]: *** [Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o] Error 1
>>> make[2]: Leaving directory '/home/sim/Src/csound/csound6.09'
>>> CMakeFiles/Makefile2:1656: recipe for target 'Opcodes/cuda/CMakeFiles/cudaop3.dir/all' failed
>>> make[1]: *** [Opcodes/cuda/CMakeFiles/cudaop3.dir/all] Error 2
>>> make[1]: Leaving directory '/home/sim/Src/csound/csound6.09'
>>> Makefile:160: recipe for target 'all' failed
>>> make: *** [all] Error 2
>>> 
>>> 
>>>> 5 juni 2017 kl. 20:13 skrev Victor Lazzarini :
>>>> 
>>>> can you do a make clean, then just make ?
>>>> 
>>>> I want to see what happened in the compilation of the .o file.
>>>> ========================
>>>> Prof. Victor Lazzarini
>>>> Dean of Arts, Celtic Studies, and Philosophy,
>>>> Maynooth University,
>>>> Maynooth, Co Kildare, Ireland
>>>> Tel: 00 353 7086936
>>>> Fax: 00 353 1 7086952 
>>>> 
>>>>> On 5 Jun 2017, at 15:15, Anders Genell  wrote:
>>>>> 
>>>>> Just using "make" without -j6 shows a bit more info, and it now does seem to be cuda related...
>>>>> 
>>>>> [ 63%] Building NVCC (Device) object Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o
>>>>> CMake Warning (dev) at cudaop3_generated_slidingm.cu.o.cmake:81:
>>>>> Syntax Warning in cmake code at column 75
>>>>> 
>>>>> Argument not separated from preceding token by whitespace.
>>>>> This warning is for project developers.  Use -Wno-dev to suppress it.
>>>>> 
>>>>> nvcc fatal   : Stray '"' character
>>>>> CMake Error at cudaop3_generated_slidingm.cu.o.cmake:222 (message):
>>>>> Error generating
>>>>> /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o
>>>>> 
>>>>> 
>>>>> Opcodes/cuda/CMakeFiles/cudaop3.dir/build.make:63: recipe for target 'Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o' failed
>>>>> make[2]: *** [Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o] Error 1
>>>>> CMakeFiles/Makefile2:1656: recipe for target 'Opcodes/cuda/CMakeFiles/cudaop3.dir/all' failed
>>>>> make[1]: *** [Opcodes/cuda/CMakeFiles/cudaop3.dir/all] Error 2
>>>>> Makefile:160: recipe for target 'all' failed
>>>>> make: *** [all] Error 2
>>>>> 
>>>>> On Mon, Jun 5, 2017 at 3:20 PM, jpff  wrote:
>>>>> It looks to me tat the error is earlier if building with -j6 o te ie
>>>>> 
>>>>> Tese messagesare OK and suggest aa broken .o file
>>>>> 
>>>>> 
>>>>> 
>>>>> On Mon, 5 Jun 2017, Victor Lazzarini wrote:
>>>>> 
>>>>> Are you building with make -j 6 ? I can't see where it is failing. If you are,
>>>>> try just 'make'
>>>>> 
>>>>> Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy
>>>>> Maynooth University
>>>>> Ireland
>>>>> 
>>>>> On 5 Jun 2017, at 12:41, Anders Genell  wrote:
>>>>> 
>>>>>   Ok, got the verbosity up:
>>>>> 
>>>>>   [ 62%] Building C object
>>>>>   CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o
>>>>>   /usr/bin/cc 
>>>>>   -DCS_DEFAULT_PLUGINDIR=\"/usr/local/lib/csound/plugins64-6.0\"
>>>>>   -DHAVE_SOCKETS -DHAVE_STRTOD_L -DHAVE_STRTOK_R -DLINUX
>>>>>   -DNO_FLTK_THREADS -DPIPES -DUSE_LRINT -D_CSOUND_RELEASE_
>>>>>   -D_GNU_SOURCE -Dcsound64_EXPORTS -I/home/sim/Src/csound/./H
>>>>>   -I/home/sim/Src/csound/./include -I/home/sim/Src/csound/./Engine
>>>>>   -I/home/sim/Src/csound/. -I/home/sim/Src/csound/csound6.09
>>>>>   -I/home/sim/Src/csound/csound6.09/include  -ffast-math
>>>>>   -mfpmath=sse -msse2 -fomit-frame-pointer -fvisibility=hidden
>>>>>   -DHAVE_ATOMIC_BUILTIN -DHAVE_PTHREAD -fPIC   -Wno-format  
>>>>>   -D__BUILDING_LIBCSOUND -DHAVE_PTHREAD_SPIN_LOCK
>>>>>   -DHAVE_PTHREAD_BARRIER_INIT -DPARCS -DGNU_GETTEXT -DHAVE_DIRENT_H
>>>>>   -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H
>>>>>   -DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H -DHAVE_VALUES_H -o
>>>>>   CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o   -c
>>>>>   /home/sim/Src/csound/Engine/cs_par_dispatch.c
>>>>>   [ 63%] Linking C shared library libcsound64.so
>>>>>   /usr/bin/cmake -E cmake_link_script
>>>>>   CMakeFiles/csound64.dir/link.txt --verbose=1
>>>>>   /usr/bin/cc  -fPIC  -ffast-math -mfpmath=sse -msse2
>>>>>   -fomit-frame-pointer -fvisibility=hidden -DHAVE_ATOMIC_BUILTIN
>>>>>   -DHAVE_PTHREAD  -shared -Wl,-soname,libcsound64.so.6.0 -o
>>>>>   libcsound64.so.6.0 CMakeFiles/csound64.dir/Top/csound.c.o
>>>>>   CMakeFiles/csound64.dir/Engine/auxfd.c.o
>>>>>   CMakeFiles/csound64.dir/Engine/cfgvar.c.o
>>>>>   CMakeFiles/csound64.dir/Engine/corfiles.c.o
>>>>>   CMakeFiles/csound64.dir/Engine/entry1.c.o
>>>>>   CMakeFiles/csound64.dir/Engine/envvar.c.o
>>>>>   CMakeFiles/csound64.dir/Engine/extract.c.o
>>>>>   CMakeFiles/csound64.dir/Engine/fgens.c.o
>>>>>   CMakeFiles/csound64.dir/Engine/insert.c.o
>>>>>   CMakeFiles/csound64.dir/Engine/linevent.c.o
>>>>>   CMakeFiles/csound64.dir/Engine/memalloc.c.o
>>>>>   CMakeFiles/csound64.dir/Engine/memfiles.c.o
>>>>>   CMakeFiles/csound64.dir/Engine/musmon.c.o
>>>>>   CMakeFiles/csound64.dir/Engine/namedins.c.o
>>>>>   CMakeFiles/csound64.dir/Engine/rdscor.c.o
>>>>>   CMakeFiles/csound64.dir/Engine/scsort.c.o
>>>>>   CMakeFiles/csound64.dir/Engine/scxtract.c.o
>>>>>   CMakeFiles/csound64.dir/Engine/sort.c.o
>>>>>   CMakeFiles/csound64.dir/Engine/sread.c.o
>>>>>   CMakeFiles/csound64.dir/Engine/swritestr.c.o
>>>>>   CMakeFiles/csound64.dir/Engine/twarp.c.o
>>>>>   CMakeFiles/csound64.dir/Engine/csound_type_system.c.o
>>>>>   CMakeFiles/csound64.dir/Engine/csound_standard_types.c.o
>>>>>   CMakeFiles/csound64.dir/Engine/csound_data_structures.c.o
>>>>>   CMakeFiles/csound64.dir/Engine/pools.c.o
>>>>>   CMakeFiles/csound64.dir/InOut/libsnd.c.o
>>>>>   CMakeFiles/csound64.dir/InOut/libsnd_u.c.o
>>>>>   CMakeFiles/csound64.dir/InOut/midifile.c.o
>>>>>   CMakeFiles/csound64.dir/InOut/midirecv.c.o
>>>>>   CMakeFiles/csound64.dir/InOut/midisend.c.o
>>>>>   CMakeFiles/csound64.dir/InOut/winascii.c.o
>>>>>   CMakeFiles/csound64.dir/InOut/windin.c.o
>>>>>   CMakeFiles/csound64.dir/InOut/window.c.o
>>>>>   CMakeFiles/csound64.dir/InOut/winEPS.c.o
>>>>>   CMakeFiles/csound64.dir/InOut/circularbuffer.c.o
>>>>>   CMakeFiles/csound64.dir/OOps/aops.c.o
>>>>>   CMakeFiles/csound64.dir/OOps/bus.c.o
>>>>>   CMakeFiles/csound64.dir/OOps/cmath.c.o
>>>>>   CMakeFiles/csound64.dir/OOps/diskin2.c.o
>>>>>   CMakeFiles/csound64.dir/OOps/disprep.c.o
>>>>>   CMakeFiles/csound64.dir/OOps/dumpf.c.o
>>>>>   CMakeFiles/csound64.dir/OOps/fftlib.c.o
>>>>>   CMakeFiles/csound64.dir/OOps/pffft.c.o
>>>>>   CMakeFiles/csound64.dir/OOps/goto_ops.c.o
>>>>>   CMakeFiles/csound64.dir/OOps/midiinterop.c.o
>>>>>   CMakeFiles/csound64.dir/OOps/midiops.c.o
>>>>>   CMakeFiles/csound64.dir/OOps/midiout.c.o
>>>>>   CMakeFiles/csound64.dir/OOps/mxfft.c.o
>>>>>   CMakeFiles/csound64.dir/OOps/oscils.c.o
>>>>>   CMakeFiles/csound64.dir/OOps/pstream.c.o
>>>>>   CMakeFiles/csound64.dir/OOps/pvfileio.c.o
>>>>>   CMakeFiles/csound64.dir/OOps/pvsanal.c.o
>>>>>   CMakeFiles/csound64.dir/OOps/random.c.o
>>>>>   CMakeFiles/csound64.dir/OOps/remote.c.o
>>>>>   CMakeFiles/csound64.dir/OOps/schedule.c.o
>>>>>   CMakeFiles/csound64.dir/OOps/sndinfUG.c.o
>>>>>   CMakeFiles/csound64.dir/OOps/str_ops.c.o
>>>>>   CMakeFiles/csound64.dir/OOps/ugens1.c.o
>>>>>   CMakeFiles/csound64.dir/OOps/ugens2.c.o
>>>>>   CMakeFiles/csound64.dir/OOps/ugens3.c.o
>>>>>   CMakeFiles/csound64.dir/OOps/ugens4.c.o
>>>>>   CMakeFiles/csound64.dir/OOps/ugens5.c.o
>>>>>   CMakeFiles/csound64.dir/OOps/ugens6.c.o
>>>>>   CMakeFiles/csound64.dir/OOps/ugtabs.c.o
>>>>>   CMakeFiles/csound64.dir/OOps/ugrw1.c.o
>>>>>   CMakeFiles/csound64.dir/OOps/ugrw2.c.o
>>>>>   CMakeFiles/csound64.dir/OOps/vdelay.c.o
>>>>>   CMakeFiles/csound64.dir/OOps/compile_ops.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/babo.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/bilbar.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/compress.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/eqfil.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/Vosim.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/pinker.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/pitch.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/pitch0.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/spectra.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/ambicode1.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/sfont.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/grain4.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/hrtferX.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/loscilx.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/minmax.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/pan2.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/arrays.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/phisem.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/hrtfopcodes.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/vbap.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/vbap1.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/vbap_n.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/vbap_zak.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/vaops.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/ugakbari.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/harmon.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/pitchtrack.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/partikkel.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/shape.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/tabsum.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/crossfm.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/pvlock.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/fareyseq.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/modmatrix.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/scoreline.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/modal4.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/physutil.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/physmod.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/mandolin.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/singwave.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/fm4op.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/moog1.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/shaker.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/bowedbar.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/gab/tabmorph.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/gab/hvs.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/gab/sliderTable.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/gab/newgabopc.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/ftest.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/hrtfearly.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/hrtfreverb.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/cpumeter.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/gendy.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/tl/sc_noise.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/afilters.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/wpfilters.c.o
>>>>>   CMakeFiles/csound64.dir/Top/argdecode.c.o
>>>>>   CMakeFiles/csound64.dir/Top/csdebug.c.o
>>>>>   CMakeFiles/csound64.dir/Top/cscore_internal.c.o
>>>>>   CMakeFiles/csound64.dir/Top/cscorfns.c.o
>>>>>   CMakeFiles/csound64.dir/Top/csmodule.c.o
>>>>>   CMakeFiles/csound64.dir/Top/getstring.c.o
>>>>>   CMakeFiles/csound64.dir/Top/main.c.o
>>>>>   CMakeFiles/csound64.dir/Top/new_opts.c.o
>>>>>   CMakeFiles/csound64.dir/Top/one_file.c.o
>>>>>   CMakeFiles/csound64.dir/Top/opcode.c.o
>>>>>   CMakeFiles/csound64.dir/Top/threads.c.o
>>>>>   CMakeFiles/csound64.dir/Top/utility.c.o
>>>>>   CMakeFiles/csound64.dir/Top/threadsafe.c.o
>>>>>   CMakeFiles/csound64.dir/Top/server.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/ambicode.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/bbcut.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/biquad.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/butter.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/clfilt.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/cross2.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/dam.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/dcblockr.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/filter.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/flanger.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/follow.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/fout.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/freeverb.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/ftconv.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/ftgen.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/gab/gab.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/gab/vectorial.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/grain.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/locsig.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/lowpassr.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/metro.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/midiops2.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/midiops3.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/newfils.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/nlfilt.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/oscbnk.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/pluck.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/paulstretch.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/repluck.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/reverbsc.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/seqtime.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/sndloop.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/sndwarp.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/space.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/spat3d.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/syncgrain.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/ugens7.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/ugens9.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/ugensa.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/uggab.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/ugmoss.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/ugnorman.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/ugsc.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/wave-terrain.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/stdopcod.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/socksend.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/sockrecv.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/ifd.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/partials.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/psynth.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/pvsbasic.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/pvscent.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/pvsdemix.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/pvs_ops.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/pvsband.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/pvsbuffer.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/pvsgendy.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/dsputil.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/pvadd.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/pvinterp.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/pvocext.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/pvread.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/ugens8.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/vpvoc.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/pvoc.c.o
>>>>>   CMakeFiles/csound64.dir/Opcodes/mp3in.c.o
>>>>>   CMakeFiles/csound64.dir/InOut/libmpadec/layer1.c.o
>>>>>   CMakeFiles/csound64.dir/InOut/libmpadec/layer2.c.o
>>>>>   CMakeFiles/csound64.dir/InOut/libmpadec/layer3.c.o
>>>>>   CMakeFiles/csound64.dir/InOut/libmpadec/synth.c.o
>>>>>   CMakeFiles/csound64.dir/InOut/libmpadec/tables.c.o
>>>>>   CMakeFiles/csound64.dir/InOut/libmpadec/mpadec.c.o
>>>>>   CMakeFiles/csound64.dir/InOut/libmpadec/mp3dec.c.o
>>>>>   CMakeFiles/csound64.dir/csound_orclex.c.o
>>>>>   CMakeFiles/csound64.dir/csound_orcparse.c.o
>>>>>   CMakeFiles/csound64.dir/csound_prelex.c.o
>>>>>   CMakeFiles/csound64.dir/Engine/csound_orc_semantics.c.o
>>>>>   CMakeFiles/csound64.dir/Engine/csound_orc_expressions.c.o
>>>>>   CMakeFiles/csound64.dir/Engine/csound_orc_optimize.c.o
>>>>>   CMakeFiles/csound64.dir/Engine/csound_orc_compile.c.o
>>>>>   CMakeFiles/csound64.dir/Engine/new_orc_parser.c.o
>>>>>   CMakeFiles/csound64.dir/Engine/symbtab.c.o
>>>>>   CMakeFiles/csound64.dir/csound_prslex.c.o
>>>>>   CMakeFiles/csound64.dir/Engine/cs_new_dispatch.c.o
>>>>>   CMakeFiles/csound64.dir/Engine/cs_par_base.c.o
>>>>>   CMakeFiles/csound64.dir/Engine/cs_par_orc_semantic_analysis.c.o
>>>>>   CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o -lsndfile
>>>>>   -lpthread -lm -ldl -lrt
>>>>>   /usr/bin/cmake -E cmake_symlink_library libcsound64.so.6.0
>>>>>   libcsound64.so.6.0 libcsound64.so
>>>>>   make[2]: Leaving directory '/home/sim/Src/csound/csound6.09'
>>>>>   [ 63%] Built target csound64
>>>>>   make[1]: Leaving directory '/home/sim/Src/csound/csound6.09'
>>>>>   Makefile:160: recipe for target 'all' failed
>>>>>   make: *** [all] Error 2
>>>>> 
>>>>> 
>>>>> On Mon, Jun 5, 2017 at 1:21 PM, Anders Genell 
>>>>> wrote:
>>>>>   Well, the build runs fine when I do not try to build the
>>>>>   cuda opcodes.
>>>>> 
>>>>> Where do I put CMAKE_MAKEFILE_VERBOSE? As a -D flag for cmake?
>>>>> 
>>>>> Regards,
>>>>> Anders
>>>>> 
>>>>> On Mon, Jun 5, 2017 at 1:10 PM, Victor Lazzarini
>>>>>  wrote:
>>>>>   The line you printed does not indicate a build  error
>>>>>   with the cuda opcodes. Try building with 
>>>>>   CMAKE_MAKEFILE_VERBOSE=1 so we can see what the errors
>>>>>   are.
>>>>> 
>>>>>   Victor Lazzarini
>>>>>   Dean of Arts, Celtic Studies, and Philosophy
>>>>>   Maynooth University
>>>>>   Ireland
>>>>> 
>>>>>> On 5 Jun 2017, at 11:43, Anders Genell
>>>>>    wrote:
>>>>>> 
>>>>>> Dear devs, particularly Prof. Lazzarini!
>>>>>> 
>>>>>> I just pulled from git and built on a fairly modern
>>>>>   machine with a Nvidia GTX 780 hour. It has Ubuntu
>>>>>   17.04 installed, and I have installed the CUDA 8.0
>>>>>   toolkit. The build did not automatically find the CUDA
>>>>>   libs, and when forcing the CUDA opcodes build, I get a
>>>>>   build error. It doesn't really give much information
>>>>>   about the error, just
>>>>>> 
>>>>>> [ 62%] Building C object
>>>>>   CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o
>>>>>> [ 63%] Linking C shared library libcsound64.so
>>>>>> [ 63%] Built target csound64
>>>>>> Makefile:160: recipe for target 'all' failed
>>>>>> make: *** [all] Error 2
>>>>>> 
>>>>>> I saw something somewhere that CUDA doesn't support
>>>>>   gcc 5 yet, which might be the culprit. Has anyone else
>>>>>   run into this?
>>>>>> 
>>>>>> Regards,
>>>>>> Anders
>>>>

Date2017-06-06 07:59
FromAnders Genell
SubjectRe: [Csnd-dev] CUDA (again)
Yes, that is what I found somewhere too, that CUDA 8.0 doesn't support gcc >= 5. CUDA 9 is not released yet, but there should probably be some beta or release candidate version out soon as features of CUDA 9 have been revealed. 

Regards,
Anders

> 5 juni 2017 kl. 20:49 skrev Victor Lazzarini :
> 
> I was able to edit the generated CMake files and it seemed to move from that error. But now I need to upgrade cuda because I have a new compiler that is not
> compatible with the version I had.
> ========================
> Prof. Victor Lazzarini
> Dean of Arts, Celtic Studies, and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952 
> 
>> On 5 Jun 2017, at 19:35, Anders Genell  wrote:
>> 
>> Thanks!
>> I'll hold back for a while and see if you find anything. 
>> 
>> Regards,
>> Anders
>> 
>>> 5 juni 2017 kl. 20:32 skrev Victor Lazzarini :
>>> 
>>> It’s a CMake problem, apparently. I’ve updated my CMake to 3.8 and now I am having the same problem as you. 
>>> Not sure whether there is a fix beyond reverting to 3.6, but I’ll see what I find out.
>>> ========================
>>> Prof. Victor Lazzarini
>>> Dean of Arts, Celtic Studies, and Philosophy,
>>> Maynooth University,
>>> Maynooth, Co Kildare, Ireland
>>> Tel: 00 353 7086936
>>> Fax: 00 353 1 7086952 
>>> 
>>>> On 5 Jun 2017, at 19:28, Anders Genell  wrote:
>>>> 
>>>> [ 63%] Building NVCC (Device) object Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o
>>>> cd /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir && /usr/bin/cmake -E make_directory /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//.
>>>> cd /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir && /usr/bin/cmake -D verbose:BOOL=1 -D build_configuration:STRING= -D generated_file:STRING=/home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o -D generated_cubin_file:STRING=/home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o.cubin.txt -P /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//cudaop3_generated_slidingm.cu.o.cmake
>>>> CMake Warning (dev) at cudaop3_generated_slidingm.cu.o.cmake:81:
>>>> Syntax Warning in cmake code at column 75
>>>> 
>>>> Argument not separated from preceding token by whitespace.
>>>> This warning is for project developers.  Use -Wno-dev to suppress it.
>>>> 
>>>> -- Removing /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o
>>>> /usr/bin/cmake -E remove /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o
>>>> -- Generating dependency file: /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//cudaop3_generated_slidingm.cu.o.NVCC-depend
>>>> /usr/bin/nvcc -M -D__CUDACC__ /home/sim/Src/csound/Opcodes/cuda/slidingm.cu -o /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//cudaop3_generated_slidingm.cu.o.NVCC-depend -ccbin /usr/bin/cc -m64 -Dcudaop3_EXPORTS -D_CSOUND_RELEASE_ -DCS_DEFAULT_PLUGINDIR= -D/usr/local/lib/csound/plugins-6.0\" -DUSE_LRINT -DLINUX -DPIPES -DNO_FLTK_THREADS -D_GNU_SOURCE -DHAVE_SOCKETS -DHAVE_STRTOK_R -DHAVE_STRTOD_L\" -Xcompiler ,\"-ffast-math\",\"-mfpmath=sse\",\"-msse2\",\"-fomit-frame-pointer\",\"-fvisibility=hidden\",\"-DHAVE_ATOMIC_BUILTIN\",\"-fopenmp\",\"-fPIC\",\"-g\" -arch=sm_20 -use_fast_math -DNVCC -I/usr/include -I/home/sim/Src/csound/./H -I/home/sim/Src/csound/./include -I/home/sim/Src/csound/./Engine -I/home/sim/Src/csound/. -I/home/sim/Src/csound/csound6.09 -I/home/sim/Src/csound/csound6.09/include -I/usr/include/python2.7 -I/home/sim/Src/csound/include -I/usr/local/include
>>>> nvcc fatal   : Stray '"' character
>>>> CMake Error at cudaop3_generated_slidingm.cu.o.cmake:222 (message):
>>>> Error generating
>>>> /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o
>>>> 
>>>> 
>>>> Opcodes/cuda/CMakeFiles/cudaop3.dir/build.make:63: recipe for target 'Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o' failed
>>>> make[2]: *** [Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o] Error 1
>>>> make[2]: Leaving directory '/home/sim/Src/csound/csound6.09'
>>>> CMakeFiles/Makefile2:1656: recipe for target 'Opcodes/cuda/CMakeFiles/cudaop3.dir/all' failed
>>>> make[1]: *** [Opcodes/cuda/CMakeFiles/cudaop3.dir/all] Error 2
>>>> make[1]: Leaving directory '/home/sim/Src/csound/csound6.09'
>>>> Makefile:160: recipe for target 'all' failed
>>>> make: *** [all] Error 2
>>>> 
>>>> 
>>>>> 5 juni 2017 kl. 20:13 skrev Victor Lazzarini :
>>>>> 
>>>>> can you do a make clean, then just make ?
>>>>> 
>>>>> I want to see what happened in the compilation of the .o file.
>>>>> ========================
>>>>> Prof. Victor Lazzarini
>>>>> Dean of Arts, Celtic Studies, and Philosophy,
>>>>> Maynooth University,
>>>>> Maynooth, Co Kildare, Ireland
>>>>> Tel: 00 353 7086936
>>>>> Fax: 00 353 1 7086952 
>>>>> 
>>>>>> On 5 Jun 2017, at 15:15, Anders Genell  wrote:
>>>>>> 
>>>>>> Just using "make" without -j6 shows a bit more info, and it now does seem to be cuda related...
>>>>>> 
>>>>>> [ 63%] Building NVCC (Device) object Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o
>>>>>> CMake Warning (dev) at cudaop3_generated_slidingm.cu.o.cmake:81:
>>>>>> Syntax Warning in cmake code at column 75
>>>>>> 
>>>>>> Argument not separated from preceding token by whitespace.
>>>>>> This warning is for project developers.  Use -Wno-dev to suppress it.
>>>>>> 
>>>>>> nvcc fatal   : Stray '"' character
>>>>>> CMake Error at cudaop3_generated_slidingm.cu.o.cmake:222 (message):
>>>>>> Error generating
>>>>>> /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o
>>>>>> 
>>>>>> 
>>>>>> Opcodes/cuda/CMakeFiles/cudaop3.dir/build.make:63: recipe for target 'Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o' failed
>>>>>> make[2]: *** [Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o] Error 1
>>>>>> CMakeFiles/Makefile2:1656: recipe for target 'Opcodes/cuda/CMakeFiles/cudaop3.dir/all' failed
>>>>>> make[1]: *** [Opcodes/cuda/CMakeFiles/cudaop3.dir/all] Error 2
>>>>>> Makefile:160: recipe for target 'all' failed
>>>>>> make: *** [all] Error 2
>>>>>> 
>>>>>> On Mon, Jun 5, 2017 at 3:20 PM, jpff  wrote:
>>>>>> It looks to me tat the error is earlier if building with -j6 o te ie
>>>>>> 
>>>>>> Tese messagesare OK and suggest aa broken .o file
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> On Mon, 5 Jun 2017, Victor Lazzarini wrote:
>>>>>> 
>>>>>> Are you building with make -j 6 ? I can't see where it is failing. If you are,
>>>>>> try just 'make'
>>>>>> 
>>>>>> Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy
>>>>>> Maynooth University
>>>>>> Ireland
>>>>>> 
>>>>>> On 5 Jun 2017, at 12:41, Anders Genell  wrote:
>>>>>> 
>>>>>>  Ok, got the verbosity up:
>>>>>> 
>>>>>>  [ 62%] Building C object
>>>>>>  CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o
>>>>>>  /usr/bin/cc 
>>>>>>  -DCS_DEFAULT_PLUGINDIR=\"/usr/local/lib/csound/plugins64-6.0\"
>>>>>>  -DHAVE_SOCKETS -DHAVE_STRTOD_L -DHAVE_STRTOK_R -DLINUX
>>>>>>  -DNO_FLTK_THREADS -DPIPES -DUSE_LRINT -D_CSOUND_RELEASE_
>>>>>>  -D_GNU_SOURCE -Dcsound64_EXPORTS -I/home/sim/Src/csound/./H
>>>>>>  -I/home/sim/Src/csound/./include -I/home/sim/Src/csound/./Engine
>>>>>>  -I/home/sim/Src/csound/. -I/home/sim/Src/csound/csound6.09
>>>>>>  -I/home/sim/Src/csound/csound6.09/include  -ffast-math
>>>>>>  -mfpmath=sse -msse2 -fomit-frame-pointer -fvisibility=hidden
>>>>>>  -DHAVE_ATOMIC_BUILTIN -DHAVE_PTHREAD -fPIC   -Wno-format  
>>>>>>  -D__BUILDING_LIBCSOUND -DHAVE_PTHREAD_SPIN_LOCK
>>>>>>  -DHAVE_PTHREAD_BARRIER_INIT -DPARCS -DGNU_GETTEXT -DHAVE_DIRENT_H
>>>>>>  -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H
>>>>>>  -DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H -DHAVE_VALUES_H -o
>>>>>>  CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o   -c
>>>>>>  /home/sim/Src/csound/Engine/cs_par_dispatch.c
>>>>>>  [ 63%] Linking C shared library libcsound64.so
>>>>>>  /usr/bin/cmake -E cmake_link_script
>>>>>>  CMakeFiles/csound64.dir/link.txt --verbose=1
>>>>>>  /usr/bin/cc  -fPIC  -ffast-math -mfpmath=sse -msse2
>>>>>>  -fomit-frame-pointer -fvisibility=hidden -DHAVE_ATOMIC_BUILTIN
>>>>>>  -DHAVE_PTHREAD  -shared -Wl,-soname,libcsound64.so.6.0 -o
>>>>>>  libcsound64.so.6.0 CMakeFiles/csound64.dir/Top/csound.c.o
>>>>>>  CMakeFiles/csound64.dir/Engine/auxfd.c.o
>>>>>>  CMakeFiles/csound64.dir/Engine/cfgvar.c.o
>>>>>>  CMakeFiles/csound64.dir/Engine/corfiles.c.o
>>>>>>  CMakeFiles/csound64.dir/Engine/entry1.c.o
>>>>>>  CMakeFiles/csound64.dir/Engine/envvar.c.o
>>>>>>  CMakeFiles/csound64.dir/Engine/extract.c.o
>>>>>>  CMakeFiles/csound64.dir/Engine/fgens.c.o
>>>>>>  CMakeFiles/csound64.dir/Engine/insert.c.o
>>>>>>  CMakeFiles/csound64.dir/Engine/linevent.c.o
>>>>>>  CMakeFiles/csound64.dir/Engine/memalloc.c.o
>>>>>>  CMakeFiles/csound64.dir/Engine/memfiles.c.o
>>>>>>  CMakeFiles/csound64.dir/Engine/musmon.c.o
>>>>>>  CMakeFiles/csound64.dir/Engine/namedins.c.o
>>>>>>  CMakeFiles/csound64.dir/Engine/rdscor.c.o
>>>>>>  CMakeFiles/csound64.dir/Engine/scsort.c.o
>>>>>>  CMakeFiles/csound64.dir/Engine/scxtract.c.o
>>>>>>  CMakeFiles/csound64.dir/Engine/sort.c.o
>>>>>>  CMakeFiles/csound64.dir/Engine/sread.c.o
>>>>>>  CMakeFiles/csound64.dir/Engine/swritestr.c.o
>>>>>>  CMakeFiles/csound64.dir/Engine/twarp.c.o
>>>>>>  CMakeFiles/csound64.dir/Engine/csound_type_system.c.o
>>>>>>  CMakeFiles/csound64.dir/Engine/csound_standard_types.c.o
>>>>>>  CMakeFiles/csound64.dir/Engine/csound_data_structures.c.o
>>>>>>  CMakeFiles/csound64.dir/Engine/pools.c.o
>>>>>>  CMakeFiles/csound64.dir/InOut/libsnd.c.o
>>>>>>  CMakeFiles/csound64.dir/InOut/libsnd_u.c.o
>>>>>>  CMakeFiles/csound64.dir/InOut/midifile.c.o
>>>>>>  CMakeFiles/csound64.dir/InOut/midirecv.c.o
>>>>>>  CMakeFiles/csound64.dir/InOut/midisend.c.o
>>>>>>  CMakeFiles/csound64.dir/InOut/winascii.c.o
>>>>>>  CMakeFiles/csound64.dir/InOut/windin.c.o
>>>>>>  CMakeFiles/csound64.dir/InOut/window.c.o
>>>>>>  CMakeFiles/csound64.dir/InOut/winEPS.c.o
>>>>>>  CMakeFiles/csound64.dir/InOut/circularbuffer.c.o
>>>>>>  CMakeFiles/csound64.dir/OOps/aops.c.o
>>>>>>  CMakeFiles/csound64.dir/OOps/bus.c.o
>>>>>>  CMakeFiles/csound64.dir/OOps/cmath.c.o
>>>>>>  CMakeFiles/csound64.dir/OOps/diskin2.c.o
>>>>>>  CMakeFiles/csound64.dir/OOps/disprep.c.o
>>>>>>  CMakeFiles/csound64.dir/OOps/dumpf.c.o
>>>>>>  CMakeFiles/csound64.dir/OOps/fftlib.c.o
>>>>>>  CMakeFiles/csound64.dir/OOps/pffft.c.o
>>>>>>  CMakeFiles/csound64.dir/OOps/goto_ops.c.o
>>>>>>  CMakeFiles/csound64.dir/OOps/midiinterop.c.o
>>>>>>  CMakeFiles/csound64.dir/OOps/midiops.c.o
>>>>>>  CMakeFiles/csound64.dir/OOps/midiout.c.o
>>>>>>  CMakeFiles/csound64.dir/OOps/mxfft.c.o
>>>>>>  CMakeFiles/csound64.dir/OOps/oscils.c.o
>>>>>>  CMakeFiles/csound64.dir/OOps/pstream.c.o
>>>>>>  CMakeFiles/csound64.dir/OOps/pvfileio.c.o
>>>>>>  CMakeFiles/csound64.dir/OOps/pvsanal.c.o
>>>>>>  CMakeFiles/csound64.dir/OOps/random.c.o
>>>>>>  CMakeFiles/csound64.dir/OOps/remote.c.o
>>>>>>  CMakeFiles/csound64.dir/OOps/schedule.c.o
>>>>>>  CMakeFiles/csound64.dir/OOps/sndinfUG.c.o
>>>>>>  CMakeFiles/csound64.dir/OOps/str_ops.c.o
>>>>>>  CMakeFiles/csound64.dir/OOps/ugens1.c.o
>>>>>>  CMakeFiles/csound64.dir/OOps/ugens2.c.o
>>>>>>  CMakeFiles/csound64.dir/OOps/ugens3.c.o
>>>>>>  CMakeFiles/csound64.dir/OOps/ugens4.c.o
>>>>>>  CMakeFiles/csound64.dir/OOps/ugens5.c.o
>>>>>>  CMakeFiles/csound64.dir/OOps/ugens6.c.o
>>>>>>  CMakeFiles/csound64.dir/OOps/ugtabs.c.o
>>>>>>  CMakeFiles/csound64.dir/OOps/ugrw1.c.o
>>>>>>  CMakeFiles/csound64.dir/OOps/ugrw2.c.o
>>>>>>  CMakeFiles/csound64.dir/OOps/vdelay.c.o
>>>>>>  CMakeFiles/csound64.dir/OOps/compile_ops.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/babo.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/bilbar.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/compress.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/eqfil.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/Vosim.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/pinker.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/pitch.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/pitch0.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/spectra.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/ambicode1.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/sfont.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/grain4.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/hrtferX.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/loscilx.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/minmax.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/pan2.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/arrays.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/phisem.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/hrtfopcodes.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/vbap.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/vbap1.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/vbap_n.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/vbap_zak.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/vaops.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/ugakbari.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/harmon.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/pitchtrack.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/partikkel.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/shape.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/tabsum.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/crossfm.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/pvlock.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/fareyseq.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/modmatrix.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/scoreline.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/modal4.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/physutil.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/physmod.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/mandolin.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/singwave.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/fm4op.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/moog1.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/shaker.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/bowedbar.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/gab/tabmorph.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/gab/hvs.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/gab/sliderTable.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/gab/newgabopc.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/ftest.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/hrtfearly.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/hrtfreverb.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/cpumeter.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/gendy.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/tl/sc_noise.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/afilters.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/wpfilters.c.o
>>>>>>  CMakeFiles/csound64.dir/Top/argdecode.c.o
>>>>>>  CMakeFiles/csound64.dir/Top/csdebug.c.o
>>>>>>  CMakeFiles/csound64.dir/Top/cscore_internal.c.o
>>>>>>  CMakeFiles/csound64.dir/Top/cscorfns.c.o
>>>>>>  CMakeFiles/csound64.dir/Top/csmodule.c.o
>>>>>>  CMakeFiles/csound64.dir/Top/getstring.c.o
>>>>>>  CMakeFiles/csound64.dir/Top/main.c.o
>>>>>>  CMakeFiles/csound64.dir/Top/new_opts.c.o
>>>>>>  CMakeFiles/csound64.dir/Top/one_file.c.o
>>>>>>  CMakeFiles/csound64.dir/Top/opcode.c.o
>>>>>>  CMakeFiles/csound64.dir/Top/threads.c.o
>>>>>>  CMakeFiles/csound64.dir/Top/utility.c.o
>>>>>>  CMakeFiles/csound64.dir/Top/threadsafe.c.o
>>>>>>  CMakeFiles/csound64.dir/Top/server.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/ambicode.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/bbcut.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/biquad.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/butter.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/clfilt.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/cross2.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/dam.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/dcblockr.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/filter.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/flanger.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/follow.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/fout.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/freeverb.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/ftconv.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/ftgen.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/gab/gab.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/gab/vectorial.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/grain.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/locsig.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/lowpassr.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/metro.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/midiops2.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/midiops3.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/newfils.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/nlfilt.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/oscbnk.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/pluck.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/paulstretch.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/repluck.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/reverbsc.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/seqtime.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/sndloop.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/sndwarp.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/space.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/spat3d.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/syncgrain.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/ugens7.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/ugens9.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/ugensa.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/uggab.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/ugmoss.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/ugnorman.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/ugsc.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/wave-terrain.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/stdopcod.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/socksend.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/sockrecv.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/ifd.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/partials.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/psynth.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/pvsbasic.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/pvscent.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/pvsdemix.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/pvs_ops.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/pvsband.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/pvsbuffer.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/pvsgendy.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/dsputil.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/pvadd.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/pvinterp.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/pvocext.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/pvread.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/ugens8.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/vpvoc.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/pvoc.c.o
>>>>>>  CMakeFiles/csound64.dir/Opcodes/mp3in.c.o
>>>>>>  CMakeFiles/csound64.dir/InOut/libmpadec/layer1.c.o
>>>>>>  CMakeFiles/csound64.dir/InOut/libmpadec/layer2.c.o
>>>>>>  CMakeFiles/csound64.dir/InOut/libmpadec/layer3.c.o
>>>>>>  CMakeFiles/csound64.dir/InOut/libmpadec/synth.c.o
>>>>>>  CMakeFiles/csound64.dir/InOut/libmpadec/tables.c.o
>>>>>>  CMakeFiles/csound64.dir/InOut/libmpadec/mpadec.c.o
>>>>>>  CMakeFiles/csound64.dir/InOut/libmpadec/mp3dec.c.o
>>>>>>  CMakeFiles/csound64.dir/csound_orclex.c.o
>>>>>>  CMakeFiles/csound64.dir/csound_orcparse.c.o
>>>>>>  CMakeFiles/csound64.dir/csound_prelex.c.o
>>>>>>  CMakeFiles/csound64.dir/Engine/csound_orc_semantics.c.o
>>>>>>  CMakeFiles/csound64.dir/Engine/csound_orc_expressions.c.o
>>>>>>  CMakeFiles/csound64.dir/Engine/csound_orc_optimize.c.o
>>>>>>  CMakeFiles/csound64.dir/Engine/csound_orc_compile.c.o
>>>>>>  CMakeFiles/csound64.dir/Engine/new_orc_parser.c.o
>>>>>>  CMakeFiles/csound64.dir/Engine/symbtab.c.o
>>>>>>  CMakeFiles/csound64.dir/csound_prslex.c.o
>>>>>>  CMakeFiles/csound64.dir/Engine/cs_new_dispatch.c.o
>>>>>>  CMakeFiles/csound64.dir/Engine/cs_par_base.c.o
>>>>>>  CMakeFiles/csound64.dir/Engine/cs_par_orc_semantic_analysis.c.o
>>>>>>  CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o -lsndfile
>>>>>>  -lpthread -lm -ldl -lrt
>>>>>>  /usr/bin/cmake -E cmake_symlink_library libcsound64.so.6.0
>>>>>>  libcsound64.so.6.0 libcsound64.so
>>>>>>  make[2]: Leaving directory '/home/sim/Src/csound/csound6.09'
>>>>>>  [ 63%] Built target csound64
>>>>>>  make[1]: Leaving directory '/home/sim/Src/csound/csound6.09'
>>>>>>  Makefile:160: recipe for target 'all' failed
>>>>>>  make: *** [all] Error 2
>>>>>> 
>>>>>> 
>>>>>> On Mon, Jun 5, 2017 at 1:21 PM, Anders Genell 
>>>>>> wrote:
>>>>>>  Well, the build runs fine when I do not try to build the
>>>>>>  cuda opcodes.
>>>>>> 
>>>>>> Where do I put CMAKE_MAKEFILE_VERBOSE? As a -D flag for cmake?
>>>>>> 
>>>>>> Regards,
>>>>>> Anders
>>>>>> 
>>>>>> On Mon, Jun 5, 2017 at 1:10 PM, Victor Lazzarini
>>>>>>  wrote:
>>>>>>  The line you printed does not indicate a build  error
>>>>>>  with the cuda opcodes. Try building with 
>>>>>>  CMAKE_MAKEFILE_VERBOSE=1 so we can see what the errors
>>>>>>  are.
>>>>>> 
>>>>>>  Victor Lazzarini
>>>>>>  Dean of Arts, Celtic Studies, and Philosophy
>>>>>>  Maynooth University
>>>>>>  Ireland
>>>>>> 
>>>>>>> On 5 Jun 2017, at 11:43, Anders Genell
>>>>>>   wrote:
>>>>>>> 
>>>>>>> Dear devs, particularly Prof. Lazzarini!
>>>>>>> 
>>>>>>> I just pulled from git and built on a fairly modern
>>>>>>  machine with a Nvidia GTX 780 hour. It has Ubuntu
>>>>>>  17.04 installed, and I have installed the CUDA 8.0
>>>>>>  toolkit. The build did not automatically find the CUDA
>>>>>>  libs, and when forcing the CUDA opcodes build, I get a
>>>>>>  build error. It doesn't really give much information
>>>>>>  about the error, just
>>>>>>> 
>>>>>>> [ 62%] Building C object
>>>>>>  CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o
>>>>>>> [ 63%] Linking C shared library libcsound64.so
>>>>>>> [ 63%] Built target csound64
>>>>>>> Makefile:160: recipe for target 'all' failed
>>>>>>> make: *** [all] Error 2
>>>>>>> 
>>>>>>> I saw something somewhere that CUDA doesn't support
>>>>>>  gcc 5 yet, which might be the culprit. Has anyone else
>>>>>>  run into this?
>>>>>>> 
>>>>>>> Regards,
>>>>>>> Anders
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>> 

Date2017-06-06 08:03
FromAnders Genell
SubjectRe: [Csnd-dev] CUDA (again)
Someone seems to have hacked the host config for cuda to bypass the problem. Others have set the c++98 flag. 
Neither is ideal but might perhaps work until CUDA 9 is out?



Regards,
Anders

5 juni 2017 kl. 20:49 skrev Victor Lazzarini <Victor.Lazzarini@NUIM.IE>:

I was able to edit the generated CMake files and it seemed to move from that error. But now I need to upgrade cuda because I have a new compiler that is not
compatible with the version I had.
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

On 5 Jun 2017, at 19:35, Anders Genell <anders.genell@GMAIL.COM> wrote:

Thanks!
I'll hold back for a while and see if you find anything.

Regards,
Anders

5 juni 2017 kl. 20:32 skrev Victor Lazzarini <Victor.Lazzarini@NUIM.IE>:

It’s a CMake problem, apparently. I’ve updated my CMake to 3.8 and now I am having the same problem as you.
Not sure whether there is a fix beyond reverting to 3.6, but I’ll see what I find out.
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

On 5 Jun 2017, at 19:28, Anders Genell <anders.genell@GMAIL.COM> wrote:

[ 63%] Building NVCC (Device) object Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o
cd /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir && /usr/bin/cmake -E make_directory /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//.
cd /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir && /usr/bin/cmake -D verbose:BOOL=1 -D build_configuration:STRING= -D generated_file:STRING=/home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o -D generated_cubin_file:STRING=/home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o.cubin.txt -P /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//cudaop3_generated_slidingm.cu.o.cmake
CMake Warning (dev) at cudaop3_generated_slidingm.cu.o.cmake:81:
Syntax Warning in cmake code at column 75

Argument not separated from preceding token by whitespace.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Removing /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o
/usr/bin/cmake -E remove /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o
-- Generating dependency file: /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//cudaop3_generated_slidingm.cu.o.NVCC-depend
/usr/bin/nvcc -M -D__CUDACC__ /home/sim/Src/csound/Opcodes/cuda/slidingm.cu -o /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//cudaop3_generated_slidingm.cu.o.NVCC-depend -ccbin /usr/bin/cc -m64 -Dcudaop3_EXPORTS -D_CSOUND_RELEASE_ -DCS_DEFAULT_PLUGINDIR= -D/usr/local/lib/csound/plugins-6.0\" -DUSE_LRINT -DLINUX -DPIPES -DNO_FLTK_THREADS -D_GNU_SOURCE -DHAVE_SOCKETS -DHAVE_STRTOK_R -DHAVE_STRTOD_L\" -Xcompiler ,\"-ffast-math\",\"-mfpmath=sse\",\"-msse2\",\"-fomit-frame-pointer\",\"-fvisibility=hidden\",\"-DHAVE_ATOMIC_BUILTIN\",\"-fopenmp\",\"-fPIC\",\"-g\" -arch=sm_20 -use_fast_math -DNVCC -I/usr/include -I/home/sim/Src/csound/./H -I/home/sim/Src/csound/./include -I/home/sim/Src/csound/./Engine -I/home/sim/Src/csound/. -I/home/sim/Src/csound/csound6.09 -I/home/sim/Src/csound/csound6.09/include -I/usr/include/python2.7 -I/home/sim/Src/csound/include -I/usr/local/include
nvcc fatal   : Stray '"' character
CMake Error at cudaop3_generated_slidingm.cu.o.cmake:222 (message):
Error generating
/home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o


Opcodes/cuda/CMakeFiles/cudaop3.dir/build.make:63: recipe for target 'Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o' failed
make[2]: *** [Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o] Error 1
make[2]: Leaving directory '/home/sim/Src/csound/csound6.09'
CMakeFiles/Makefile2:1656: recipe for target 'Opcodes/cuda/CMakeFiles/cudaop3.dir/all' failed
make[1]: *** [Opcodes/cuda/CMakeFiles/cudaop3.dir/all] Error 2
make[1]: Leaving directory '/home/sim/Src/csound/csound6.09'
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2


5 juni 2017 kl. 20:13 skrev Victor Lazzarini <Victor.Lazzarini@NUIM.IE>:

can you do a make clean, then just make ?

I want to see what happened in the compilation of the .o file.
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

On 5 Jun 2017, at 15:15, Anders Genell <anders.genell@gmail.com> wrote:

Just using "make" without -j6 shows a bit more info, and it now does seem to be cuda related...

[ 63%] Building NVCC (Device) object Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o
CMake Warning (dev) at cudaop3_generated_slidingm.cu.o.cmake:81:
Syntax Warning in cmake code at column 75

Argument not separated from preceding token by whitespace.
This warning is for project developers.  Use -Wno-dev to suppress it.

nvcc fatal   : Stray '"' character
CMake Error at cudaop3_generated_slidingm.cu.o.cmake:222 (message):
Error generating
/home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o


Opcodes/cuda/CMakeFiles/cudaop3.dir/build.make:63: recipe for target 'Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o' failed
make[2]: *** [Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o] Error 1
CMakeFiles/Makefile2:1656: recipe for target 'Opcodes/cuda/CMakeFiles/cudaop3.dir/all' failed
make[1]: *** [Opcodes/cuda/CMakeFiles/cudaop3.dir/all] Error 2
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2

On Mon, Jun 5, 2017 at 3:20 PM, jpff <jpff@codemist.co.uk> wrote:
It looks to me tat the error is earlier if building with -j6 o te ie

Tese messagesare OK and suggest aa broken .o file



On Mon, 5 Jun 2017, Victor Lazzarini wrote:

Are you building with make -j 6 ? I can't see where it is failing. If you are,
try just 'make'

Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 5 Jun 2017, at 12:41, Anders Genell <anders.genell@GMAIL.COM> wrote:

 Ok, got the verbosity up:

 [ 62%] Building C object
 CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o
 /usr/bin/cc
 -DCS_DEFAULT_PLUGINDIR=\"/usr/local/lib/csound/plugins64-6.0\"
 -DHAVE_SOCKETS -DHAVE_STRTOD_L -DHAVE_STRTOK_R -DLINUX
 -DNO_FLTK_THREADS -DPIPES -DUSE_LRINT -D_CSOUND_RELEASE_
 -D_GNU_SOURCE -Dcsound64_EXPORTS -I/home/sim/Src/csound/./H
 -I/home/sim/Src/csound/./include -I/home/sim/Src/csound/./Engine
 -I/home/sim/Src/csound/. -I/home/sim/Src/csound/csound6.09
 -I/home/sim/Src/csound/csound6.09/include  -ffast-math
 -mfpmath=sse -msse2 -fomit-frame-pointer -fvisibility=hidden
 -DHAVE_ATOMIC_BUILTIN -DHAVE_PTHREAD -fPIC   -Wno-format  
 -D__BUILDING_LIBCSOUND -DHAVE_PTHREAD_SPIN_LOCK
 -DHAVE_PTHREAD_BARRIER_INIT -DPARCS -DGNU_GETTEXT -DHAVE_DIRENT_H
 -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H
 -DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H -DHAVE_VALUES_H -o
 CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o   -c
 /home/sim/Src/csound/Engine/cs_par_dispatch.c
 [ 63%] Linking C shared library libcsound64.so
 /usr/bin/cmake -E cmake_link_script
 CMakeFiles/csound64.dir/link.txt --verbose=1
 /usr/bin/cc  -fPIC  -ffast-math -mfpmath=sse -msse2
 -fomit-frame-pointer -fvisibility=hidden -DHAVE_ATOMIC_BUILTIN
 -DHAVE_PTHREAD  -shared -Wl,-soname,libcsound64.so.6.0 -o
 libcsound64.so.6.0 CMakeFiles/csound64.dir/Top/csound.c.o
 CMakeFiles/csound64.dir/Engine/auxfd.c.o
 CMakeFiles/csound64.dir/Engine/cfgvar.c.o
 CMakeFiles/csound64.dir/Engine/corfiles.c.o
 CMakeFiles/csound64.dir/Engine/entry1.c.o
 CMakeFiles/csound64.dir/Engine/envvar.c.o
 CMakeFiles/csound64.dir/Engine/extract.c.o
 CMakeFiles/csound64.dir/Engine/fgens.c.o
 CMakeFiles/csound64.dir/Engine/insert.c.o
 CMakeFiles/csound64.dir/Engine/linevent.c.o
 CMakeFiles/csound64.dir/Engine/memalloc.c.o
 CMakeFiles/csound64.dir/Engine/memfiles.c.o
 CMakeFiles/csound64.dir/Engine/musmon.c.o
 CMakeFiles/csound64.dir/Engine/namedins.c.o
 CMakeFiles/csound64.dir/Engine/rdscor.c.o
 CMakeFiles/csound64.dir/Engine/scsort.c.o
 CMakeFiles/csound64.dir/Engine/scxtract.c.o
 CMakeFiles/csound64.dir/Engine/sort.c.o
 CMakeFiles/csound64.dir/Engine/sread.c.o
 CMakeFiles/csound64.dir/Engine/swritestr.c.o
 CMakeFiles/csound64.dir/Engine/twarp.c.o
 CMakeFiles/csound64.dir/Engine/csound_type_system.c.o
 CMakeFiles/csound64.dir/Engine/csound_standard_types.c.o
 CMakeFiles/csound64.dir/Engine/csound_data_structures.c.o
 CMakeFiles/csound64.dir/Engine/pools.c.o
 CMakeFiles/csound64.dir/InOut/libsnd.c.o
 CMakeFiles/csound64.dir/InOut/libsnd_u.c.o
 CMakeFiles/csound64.dir/InOut/midifile.c.o
 CMakeFiles/csound64.dir/InOut/midirecv.c.o
 CMakeFiles/csound64.dir/InOut/midisend.c.o
 CMakeFiles/csound64.dir/InOut/winascii.c.o
 CMakeFiles/csound64.dir/InOut/windin.c.o
 CMakeFiles/csound64.dir/InOut/window.c.o
 CMakeFiles/csound64.dir/InOut/winEPS.c.o
 CMakeFiles/csound64.dir/InOut/circularbuffer.c.o
 CMakeFiles/csound64.dir/OOps/aops.c.o
 CMakeFiles/csound64.dir/OOps/bus.c.o
 CMakeFiles/csound64.dir/OOps/cmath.c.o
 CMakeFiles/csound64.dir/OOps/diskin2.c.o
 CMakeFiles/csound64.dir/OOps/disprep.c.o
 CMakeFiles/csound64.dir/OOps/dumpf.c.o
 CMakeFiles/csound64.dir/OOps/fftlib.c.o
 CMakeFiles/csound64.dir/OOps/pffft.c.o
 CMakeFiles/csound64.dir/OOps/goto_ops.c.o
 CMakeFiles/csound64.dir/OOps/midiinterop.c.o
 CMakeFiles/csound64.dir/OOps/midiops.c.o
 CMakeFiles/csound64.dir/OOps/midiout.c.o
 CMakeFiles/csound64.dir/OOps/mxfft.c.o
 CMakeFiles/csound64.dir/OOps/oscils.c.o
 CMakeFiles/csound64.dir/OOps/pstream.c.o
 CMakeFiles/csound64.dir/OOps/pvfileio.c.o
 CMakeFiles/csound64.dir/OOps/pvsanal.c.o
 CMakeFiles/csound64.dir/OOps/random.c.o
 CMakeFiles/csound64.dir/OOps/remote.c.o
 CMakeFiles/csound64.dir/OOps/schedule.c.o
 CMakeFiles/csound64.dir/OOps/sndinfUG.c.o
 CMakeFiles/csound64.dir/OOps/str_ops.c.o
 CMakeFiles/csound64.dir/OOps/ugens1.c.o
 CMakeFiles/csound64.dir/OOps/ugens2.c.o
 CMakeFiles/csound64.dir/OOps/ugens3.c.o
 CMakeFiles/csound64.dir/OOps/ugens4.c.o
 CMakeFiles/csound64.dir/OOps/ugens5.c.o
 CMakeFiles/csound64.dir/OOps/ugens6.c.o
 CMakeFiles/csound64.dir/OOps/ugtabs.c.o
 CMakeFiles/csound64.dir/OOps/ugrw1.c.o
 CMakeFiles/csound64.dir/OOps/ugrw2.c.o
 CMakeFiles/csound64.dir/OOps/vdelay.c.o
 CMakeFiles/csound64.dir/OOps/compile_ops.c.o
 CMakeFiles/csound64.dir/Opcodes/babo.c.o
 CMakeFiles/csound64.dir/Opcodes/bilbar.c.o
 CMakeFiles/csound64.dir/Opcodes/compress.c.o
 CMakeFiles/csound64.dir/Opcodes/eqfil.c.o
 CMakeFiles/csound64.dir/Opcodes/Vosim.c.o
 CMakeFiles/csound64.dir/Opcodes/pinker.c.o
 CMakeFiles/csound64.dir/Opcodes/pitch.c.o
 CMakeFiles/csound64.dir/Opcodes/pitch0.c.o
 CMakeFiles/csound64.dir/Opcodes/spectra.c.o
 CMakeFiles/csound64.dir/Opcodes/ambicode1.c.o
 CMakeFiles/csound64.dir/Opcodes/sfont.c.o
 CMakeFiles/csound64.dir/Opcodes/grain4.c.o
 CMakeFiles/csound64.dir/Opcodes/hrtferX.c.o
 CMakeFiles/csound64.dir/Opcodes/loscilx.c.o
 CMakeFiles/csound64.dir/Opcodes/minmax.c.o
 CMakeFiles/csound64.dir/Opcodes/pan2.c.o
 CMakeFiles/csound64.dir/Opcodes/arrays.c.o
 CMakeFiles/csound64.dir/Opcodes/phisem.c.o
 CMakeFiles/csound64.dir/Opcodes/hrtfopcodes.c.o
 CMakeFiles/csound64.dir/Opcodes/vbap.c.o
 CMakeFiles/csound64.dir/Opcodes/vbap1.c.o
 CMakeFiles/csound64.dir/Opcodes/vbap_n.c.o
 CMakeFiles/csound64.dir/Opcodes/vbap_zak.c.o
 CMakeFiles/csound64.dir/Opcodes/vaops.c.o
 CMakeFiles/csound64.dir/Opcodes/ugakbari.c.o
 CMakeFiles/csound64.dir/Opcodes/harmon.c.o
 CMakeFiles/csound64.dir/Opcodes/pitchtrack.c.o
 CMakeFiles/csound64.dir/Opcodes/partikkel.c.o
 CMakeFiles/csound64.dir/Opcodes/shape.c.o
 CMakeFiles/csound64.dir/Opcodes/tabsum.c.o
 CMakeFiles/csound64.dir/Opcodes/crossfm.c.o
 CMakeFiles/csound64.dir/Opcodes/pvlock.c.o
 CMakeFiles/csound64.dir/Opcodes/fareyseq.c.o
 CMakeFiles/csound64.dir/Opcodes/modmatrix.c.o
 CMakeFiles/csound64.dir/Opcodes/scoreline.c.o
 CMakeFiles/csound64.dir/Opcodes/modal4.c.o
 CMakeFiles/csound64.dir/Opcodes/physutil.c.o
 CMakeFiles/csound64.dir/Opcodes/physmod.c.o
 CMakeFiles/csound64.dir/Opcodes/mandolin.c.o
 CMakeFiles/csound64.dir/Opcodes/singwave.c.o
 CMakeFiles/csound64.dir/Opcodes/fm4op.c.o
 CMakeFiles/csound64.dir/Opcodes/moog1.c.o
 CMakeFiles/csound64.dir/Opcodes/shaker.c.o
 CMakeFiles/csound64.dir/Opcodes/bowedbar.c.o
 CMakeFiles/csound64.dir/Opcodes/gab/tabmorph.c.o
 CMakeFiles/csound64.dir/Opcodes/gab/hvs.c.o
 CMakeFiles/csound64.dir/Opcodes/gab/sliderTable.c.o
 CMakeFiles/csound64.dir/Opcodes/gab/newgabopc.c.o
 CMakeFiles/csound64.dir/Opcodes/ftest.c.o
 CMakeFiles/csound64.dir/Opcodes/hrtfearly.c.o
 CMakeFiles/csound64.dir/Opcodes/hrtfreverb.c.o
 CMakeFiles/csound64.dir/Opcodes/cpumeter.c.o
 CMakeFiles/csound64.dir/Opcodes/gendy.c.o
 CMakeFiles/csound64.dir/Opcodes/tl/sc_noise.c.o
 CMakeFiles/csound64.dir/Opcodes/afilters.c.o
 CMakeFiles/csound64.dir/Opcodes/wpfilters.c.o
 CMakeFiles/csound64.dir/Top/argdecode.c.o
 CMakeFiles/csound64.dir/Top/csdebug.c.o
 CMakeFiles/csound64.dir/Top/cscore_internal.c.o
 CMakeFiles/csound64.dir/Top/cscorfns.c.o
 CMakeFiles/csound64.dir/Top/csmodule.c.o
 CMakeFiles/csound64.dir/Top/getstring.c.o
 CMakeFiles/csound64.dir/Top/main.c.o
 CMakeFiles/csound64.dir/Top/new_opts.c.o
 CMakeFiles/csound64.dir/Top/one_file.c.o
 CMakeFiles/csound64.dir/Top/opcode.c.o
 CMakeFiles/csound64.dir/Top/threads.c.o
 CMakeFiles/csound64.dir/Top/utility.c.o
 CMakeFiles/csound64.dir/Top/threadsafe.c.o
 CMakeFiles/csound64.dir/Top/server.c.o
 CMakeFiles/csound64.dir/Opcodes/ambicode.c.o
 CMakeFiles/csound64.dir/Opcodes/bbcut.c.o
 CMakeFiles/csound64.dir/Opcodes/biquad.c.o
 CMakeFiles/csound64.dir/Opcodes/butter.c.o
 CMakeFiles/csound64.dir/Opcodes/clfilt.c.o
 CMakeFiles/csound64.dir/Opcodes/cross2.c.o
 CMakeFiles/csound64.dir/Opcodes/dam.c.o
 CMakeFiles/csound64.dir/Opcodes/dcblockr.c.o
 CMakeFiles/csound64.dir/Opcodes/filter.c.o
 CMakeFiles/csound64.dir/Opcodes/flanger.c.o
 CMakeFiles/csound64.dir/Opcodes/follow.c.o
 CMakeFiles/csound64.dir/Opcodes/fout.c.o
 CMakeFiles/csound64.dir/Opcodes/freeverb.c.o
 CMakeFiles/csound64.dir/Opcodes/ftconv.c.o
 CMakeFiles/csound64.dir/Opcodes/ftgen.c.o
 CMakeFiles/csound64.dir/Opcodes/gab/gab.c.o
 CMakeFiles/csound64.dir/Opcodes/gab/vectorial.c.o
 CMakeFiles/csound64.dir/Opcodes/grain.c.o
 CMakeFiles/csound64.dir/Opcodes/locsig.c.o
 CMakeFiles/csound64.dir/Opcodes/lowpassr.c.o
 CMakeFiles/csound64.dir/Opcodes/metro.c.o
 CMakeFiles/csound64.dir/Opcodes/midiops2.c.o
 CMakeFiles/csound64.dir/Opcodes/midiops3.c.o
 CMakeFiles/csound64.dir/Opcodes/newfils.c.o
 CMakeFiles/csound64.dir/Opcodes/nlfilt.c.o
 CMakeFiles/csound64.dir/Opcodes/oscbnk.c.o
 CMakeFiles/csound64.dir/Opcodes/pluck.c.o
 CMakeFiles/csound64.dir/Opcodes/paulstretch.c.o
 CMakeFiles/csound64.dir/Opcodes/repluck.c.o
 CMakeFiles/csound64.dir/Opcodes/reverbsc.c.o
 CMakeFiles/csound64.dir/Opcodes/seqtime.c.o
 CMakeFiles/csound64.dir/Opcodes/sndloop.c.o
 CMakeFiles/csound64.dir/Opcodes/sndwarp.c.o
 CMakeFiles/csound64.dir/Opcodes/space.c.o
 CMakeFiles/csound64.dir/Opcodes/spat3d.c.o
 CMakeFiles/csound64.dir/Opcodes/syncgrain.c.o
 CMakeFiles/csound64.dir/Opcodes/ugens7.c.o
 CMakeFiles/csound64.dir/Opcodes/ugens9.c.o
 CMakeFiles/csound64.dir/Opcodes/ugensa.c.o
 CMakeFiles/csound64.dir/Opcodes/uggab.c.o
 CMakeFiles/csound64.dir/Opcodes/ugmoss.c.o
 CMakeFiles/csound64.dir/Opcodes/ugnorman.c.o
 CMakeFiles/csound64.dir/Opcodes/ugsc.c.o
 CMakeFiles/csound64.dir/Opcodes/wave-terrain.c.o
 CMakeFiles/csound64.dir/Opcodes/stdopcod.c.o
 CMakeFiles/csound64.dir/Opcodes/socksend.c.o
 CMakeFiles/csound64.dir/Opcodes/sockrecv.c.o
 CMakeFiles/csound64.dir/Opcodes/ifd.c.o
 CMakeFiles/csound64.dir/Opcodes/partials.c.o
 CMakeFiles/csound64.dir/Opcodes/psynth.c.o
 CMakeFiles/csound64.dir/Opcodes/pvsbasic.c.o
 CMakeFiles/csound64.dir/Opcodes/pvscent.c.o
 CMakeFiles/csound64.dir/Opcodes/pvsdemix.c.o
 CMakeFiles/csound64.dir/Opcodes/pvs_ops.c.o
 CMakeFiles/csound64.dir/Opcodes/pvsband.c.o
 CMakeFiles/csound64.dir/Opcodes/pvsbuffer.c.o
 CMakeFiles/csound64.dir/Opcodes/pvsgendy.c.o
 CMakeFiles/csound64.dir/Opcodes/dsputil.c.o
 CMakeFiles/csound64.dir/Opcodes/pvadd.c.o
 CMakeFiles/csound64.dir/Opcodes/pvinterp.c.o
 CMakeFiles/csound64.dir/Opcodes/pvocext.c.o
 CMakeFiles/csound64.dir/Opcodes/pvread.c.o
 CMakeFiles/csound64.dir/Opcodes/ugens8.c.o
 CMakeFiles/csound64.dir/Opcodes/vpvoc.c.o
 CMakeFiles/csound64.dir/Opcodes/pvoc.c.o
 CMakeFiles/csound64.dir/Opcodes/mp3in.c.o
 CMakeFiles/csound64.dir/InOut/libmpadec/layer1.c.o
 CMakeFiles/csound64.dir/InOut/libmpadec/layer2.c.o
 CMakeFiles/csound64.dir/InOut/libmpadec/layer3.c.o
 CMakeFiles/csound64.dir/InOut/libmpadec/synth.c.o
 CMakeFiles/csound64.dir/InOut/libmpadec/tables.c.o
 CMakeFiles/csound64.dir/InOut/libmpadec/mpadec.c.o
 CMakeFiles/csound64.dir/InOut/libmpadec/mp3dec.c.o
 CMakeFiles/csound64.dir/csound_orclex.c.o
 CMakeFiles/csound64.dir/csound_orcparse.c.o
 CMakeFiles/csound64.dir/csound_prelex.c.o
 CMakeFiles/csound64.dir/Engine/csound_orc_semantics.c.o
 CMakeFiles/csound64.dir/Engine/csound_orc_expressions.c.o
 CMakeFiles/csound64.dir/Engine/csound_orc_optimize.c.o
 CMakeFiles/csound64.dir/Engine/csound_orc_compile.c.o
 CMakeFiles/csound64.dir/Engine/new_orc_parser.c.o
 CMakeFiles/csound64.dir/Engine/symbtab.c.o
 CMakeFiles/csound64.dir/csound_prslex.c.o
 CMakeFiles/csound64.dir/Engine/cs_new_dispatch.c.o
 CMakeFiles/csound64.dir/Engine/cs_par_base.c.o
 CMakeFiles/csound64.dir/Engine/cs_par_orc_semantic_analysis.c.o
 CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o -lsndfile
 -lpthread -lm -ldl -lrt
 /usr/bin/cmake -E cmake_symlink_library libcsound64.so.6.0
 libcsound64.so.6.0 libcsound64.so
 make[2]: Leaving directory '/home/sim/Src/csound/csound6.09'
 [ 63%] Built target csound64
 make[1]: Leaving directory '/home/sim/Src/csound/csound6.09'
 Makefile:160: recipe for target 'all' failed
 make: *** [all] Error 2


On Mon, Jun 5, 2017 at 1:21 PM, Anders Genell <anders.genell@gmail.com>
wrote:
 Well, the build runs fine when I do not try to build the
 cuda opcodes.

Where do I put CMAKE_MAKEFILE_VERBOSE? As a -D flag for cmake?

Regards,
Anders

On Mon, Jun 5, 2017 at 1:10 PM, Victor Lazzarini
<Victor.Lazzarini@nuim.ie> wrote:
 The line you printed does not indicate a build  error
 with the cuda opcodes. Try building with
 CMAKE_MAKEFILE_VERBOSE=1 so we can see what the errors
 are.

 Victor Lazzarini
 Dean of Arts, Celtic Studies, and Philosophy
 Maynooth University
 Ireland

On 5 Jun 2017, at 11:43, Anders Genell
 <anders.genell@GMAIL.COM> wrote:

Dear devs, particularly Prof. Lazzarini!

I just pulled from git and built on a fairly modern
 machine with a Nvidia GTX 780 hour. It has Ubuntu
 17.04 installed, and I have installed the CUDA 8.0
 toolkit. The build did not automatically find the CUDA
 libs, and when forcing the CUDA opcodes build, I get a
 build error. It doesn't really give much information
 about the error, just

[ 62%] Building C object
 CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o
[ 63%] Linking C shared library libcsound64.so
[ 63%] Built target csound64
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2

I saw something somewhere that CUDA doesn't support
 gcc 5 yet, which might be the culprit. Has anyone else
 run into this?

Regards,
Anders








Date2017-06-06 08:48
FromVictor Lazzarini
SubjectRe: [Csnd-dev] CUDA (again)
I think cuda 8 supports my compiler (clang 8). I could not install it yesterday, but I will try today.
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 6 Jun 2017, at 07:59, Anders Genell  wrote:
> 
> Yes, that is what I found somewhere too, that CUDA 8.0 doesn't support gcc >= 5. CUDA 9 is not released yet, but there should probably be some beta or release candidate version out soon as features of CUDA 9 have been revealed. 
> 
> Regards,
> Anders
> 
>> 5 juni 2017 kl. 20:49 skrev Victor Lazzarini :
>> 
>> I was able to edit the generated CMake files and it seemed to move from that error. But now I need to upgrade cuda because I have a new compiler that is not
>> compatible with the version I had.
>> ========================
>> Prof. Victor Lazzarini
>> Dean of Arts, Celtic Studies, and Philosophy,
>> Maynooth University,
>> Maynooth, Co Kildare, Ireland
>> Tel: 00 353 7086936
>> Fax: 00 353 1 7086952 
>> 
>>> On 5 Jun 2017, at 19:35, Anders Genell  wrote:
>>> 
>>> Thanks!
>>> I'll hold back for a while and see if you find anything. 
>>> 
>>> Regards,
>>> Anders
>>> 
>>>> 5 juni 2017 kl. 20:32 skrev Victor Lazzarini :
>>>> 
>>>> It’s a CMake problem, apparently. I’ve updated my CMake to 3.8 and now I am having the same problem as you. 
>>>> Not sure whether there is a fix beyond reverting to 3.6, but I’ll see what I find out.
>>>> ========================
>>>> Prof. Victor Lazzarini
>>>> Dean of Arts, Celtic Studies, and Philosophy,
>>>> Maynooth University,
>>>> Maynooth, Co Kildare, Ireland
>>>> Tel: 00 353 7086936
>>>> Fax: 00 353 1 7086952 
>>>> 
>>>>> On 5 Jun 2017, at 19:28, Anders Genell  wrote:
>>>>> 
>>>>> [ 63%] Building NVCC (Device) object Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o
>>>>> cd /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir && /usr/bin/cmake -E make_directory /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//.
>>>>> cd /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir && /usr/bin/cmake -D verbose:BOOL=1 -D build_configuration:STRING= -D generated_file:STRING=/home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o -D generated_cubin_file:STRING=/home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o.cubin.txt -P /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//cudaop3_generated_slidingm.cu.o.cmake
>>>>> CMake Warning (dev) at cudaop3_generated_slidingm.cu.o.cmake:81:
>>>>> Syntax Warning in cmake code at column 75
>>>>> 
>>>>> Argument not separated from preceding token by whitespace.
>>>>> This warning is for project developers.  Use -Wno-dev to suppress it.
>>>>> 
>>>>> -- Removing /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o
>>>>> /usr/bin/cmake -E remove /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o
>>>>> -- Generating dependency file: /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//cudaop3_generated_slidingm.cu.o.NVCC-depend
>>>>> /usr/bin/nvcc -M -D__CUDACC__ /home/sim/Src/csound/Opcodes/cuda/slidingm.cu -o /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//cudaop3_generated_slidingm.cu.o.NVCC-depend -ccbin /usr/bin/cc -m64 -Dcudaop3_EXPORTS -D_CSOUND_RELEASE_ -DCS_DEFAULT_PLUGINDIR= -D/usr/local/lib/csound/plugins-6.0\" -DUSE_LRINT -DLINUX -DPIPES -DNO_FLTK_THREADS -D_GNU_SOURCE -DHAVE_SOCKETS -DHAVE_STRTOK_R -DHAVE_STRTOD_L\" -Xcompiler ,\"-ffast-math\",\"-mfpmath=sse\",\"-msse2\",\"-fomit-frame-pointer\",\"-fvisibility=hidden\",\"-DHAVE_ATOMIC_BUILTIN\",\"-fopenmp\",\"-fPIC\",\"-g\" -arch=sm_20 -use_fast_math -DNVCC -I/usr/include -I/home/sim/Src/csound/./H -I/home/sim/Src/csound/./include -I/home/sim/Src/csound/./Engine -I/home/sim/Src/csound/. -I/home/sim/Src/csound/csound6.09 -I/home/sim/Src/csound/csound6.09/include -I/usr/include/python2.7 -I/home/sim/Src/csound/include -I/usr/local/include
>>>>> nvcc fatal   : Stray '"' character
>>>>> CMake Error at cudaop3_generated_slidingm.cu.o.cmake:222 (message):
>>>>> Error generating
>>>>> /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o
>>>>> 
>>>>> 
>>>>> Opcodes/cuda/CMakeFiles/cudaop3.dir/build.make:63: recipe for target 'Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o' failed
>>>>> make[2]: *** [Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o] Error 1
>>>>> make[2]: Leaving directory '/home/sim/Src/csound/csound6.09'
>>>>> CMakeFiles/Makefile2:1656: recipe for target 'Opcodes/cuda/CMakeFiles/cudaop3.dir/all' failed
>>>>> make[1]: *** [Opcodes/cuda/CMakeFiles/cudaop3.dir/all] Error 2
>>>>> make[1]: Leaving directory '/home/sim/Src/csound/csound6.09'
>>>>> Makefile:160: recipe for target 'all' failed
>>>>> make: *** [all] Error 2
>>>>> 
>>>>> 
>>>>>> 5 juni 2017 kl. 20:13 skrev Victor Lazzarini :
>>>>>> 
>>>>>> can you do a make clean, then just make ?
>>>>>> 
>>>>>> I want to see what happened in the compilation of the .o file.
>>>>>> ========================
>>>>>> Prof. Victor Lazzarini
>>>>>> Dean of Arts, Celtic Studies, and Philosophy,
>>>>>> Maynooth University,
>>>>>> Maynooth, Co Kildare, Ireland
>>>>>> Tel: 00 353 7086936
>>>>>> Fax: 00 353 1 7086952 
>>>>>> 
>>>>>>> On 5 Jun 2017, at 15:15, Anders Genell  wrote:
>>>>>>> 
>>>>>>> Just using "make" without -j6 shows a bit more info, and it now does seem to be cuda related...
>>>>>>> 
>>>>>>> [ 63%] Building NVCC (Device) object Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o
>>>>>>> CMake Warning (dev) at cudaop3_generated_slidingm.cu.o.cmake:81:
>>>>>>> Syntax Warning in cmake code at column 75
>>>>>>> 
>>>>>>> Argument not separated from preceding token by whitespace.
>>>>>>> This warning is for project developers.  Use -Wno-dev to suppress it.
>>>>>>> 
>>>>>>> nvcc fatal   : Stray '"' character
>>>>>>> CMake Error at cudaop3_generated_slidingm.cu.o.cmake:222 (message):
>>>>>>> Error generating
>>>>>>> /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o
>>>>>>> 
>>>>>>> 
>>>>>>> Opcodes/cuda/CMakeFiles/cudaop3.dir/build.make:63: recipe for target 'Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o' failed
>>>>>>> make[2]: *** [Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o] Error 1
>>>>>>> CMakeFiles/Makefile2:1656: recipe for target 'Opcodes/cuda/CMakeFiles/cudaop3.dir/all' failed
>>>>>>> make[1]: *** [Opcodes/cuda/CMakeFiles/cudaop3.dir/all] Error 2
>>>>>>> Makefile:160: recipe for target 'all' failed
>>>>>>> make: *** [all] Error 2
>>>>>>> 
>>>>>>> On Mon, Jun 5, 2017 at 3:20 PM, jpff  wrote:
>>>>>>> It looks to me tat the error is earlier if building with -j6 o te ie
>>>>>>> 
>>>>>>> Tese messagesare OK and suggest aa broken .o file
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> On Mon, 5 Jun 2017, Victor Lazzarini wrote:
>>>>>>> 
>>>>>>> Are you building with make -j 6 ? I can't see where it is failing. If you are,
>>>>>>> try just 'make'
>>>>>>> 
>>>>>>> Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy
>>>>>>> Maynooth University
>>>>>>> Ireland
>>>>>>> 
>>>>>>> On 5 Jun 2017, at 12:41, Anders Genell  wrote:
>>>>>>> 
>>>>>>> Ok, got the verbosity up:
>>>>>>> 
>>>>>>> [ 62%] Building C object
>>>>>>> CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o
>>>>>>> /usr/bin/cc 
>>>>>>> -DCS_DEFAULT_PLUGINDIR=\"/usr/local/lib/csound/plugins64-6.0\"
>>>>>>> -DHAVE_SOCKETS -DHAVE_STRTOD_L -DHAVE_STRTOK_R -DLINUX
>>>>>>> -DNO_FLTK_THREADS -DPIPES -DUSE_LRINT -D_CSOUND_RELEASE_
>>>>>>> -D_GNU_SOURCE -Dcsound64_EXPORTS -I/home/sim/Src/csound/./H
>>>>>>> -I/home/sim/Src/csound/./include -I/home/sim/Src/csound/./Engine
>>>>>>> -I/home/sim/Src/csound/. -I/home/sim/Src/csound/csound6.09
>>>>>>> -I/home/sim/Src/csound/csound6.09/include  -ffast-math
>>>>>>> -mfpmath=sse -msse2 -fomit-frame-pointer -fvisibility=hidden
>>>>>>> -DHAVE_ATOMIC_BUILTIN -DHAVE_PTHREAD -fPIC   -Wno-format  
>>>>>>> -D__BUILDING_LIBCSOUND -DHAVE_PTHREAD_SPIN_LOCK
>>>>>>> -DHAVE_PTHREAD_BARRIER_INIT -DPARCS -DGNU_GETTEXT -DHAVE_DIRENT_H
>>>>>>> -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H
>>>>>>> -DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H -DHAVE_VALUES_H -o
>>>>>>> CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o   -c
>>>>>>> /home/sim/Src/csound/Engine/cs_par_dispatch.c
>>>>>>> [ 63%] Linking C shared library libcsound64.so
>>>>>>> /usr/bin/cmake -E cmake_link_script
>>>>>>> CMakeFiles/csound64.dir/link.txt --verbose=1
>>>>>>> /usr/bin/cc  -fPIC  -ffast-math -mfpmath=sse -msse2
>>>>>>> -fomit-frame-pointer -fvisibility=hidden -DHAVE_ATOMIC_BUILTIN
>>>>>>> -DHAVE_PTHREAD  -shared -Wl,-soname,libcsound64.so.6.0 -o
>>>>>>> libcsound64.so.6.0 CMakeFiles/csound64.dir/Top/csound.c.o
>>>>>>> CMakeFiles/csound64.dir/Engine/auxfd.c.o
>>>>>>> CMakeFiles/csound64.dir/Engine/cfgvar.c.o
>>>>>>> CMakeFiles/csound64.dir/Engine/corfiles.c.o
>>>>>>> CMakeFiles/csound64.dir/Engine/entry1.c.o
>>>>>>> CMakeFiles/csound64.dir/Engine/envvar.c.o
>>>>>>> CMakeFiles/csound64.dir/Engine/extract.c.o
>>>>>>> CMakeFiles/csound64.dir/Engine/fgens.c.o
>>>>>>> CMakeFiles/csound64.dir/Engine/insert.c.o
>>>>>>> CMakeFiles/csound64.dir/Engine/linevent.c.o
>>>>>>> CMakeFiles/csound64.dir/Engine/memalloc.c.o
>>>>>>> CMakeFiles/csound64.dir/Engine/memfiles.c.o
>>>>>>> CMakeFiles/csound64.dir/Engine/musmon.c.o
>>>>>>> CMakeFiles/csound64.dir/Engine/namedins.c.o
>>>>>>> CMakeFiles/csound64.dir/Engine/rdscor.c.o
>>>>>>> CMakeFiles/csound64.dir/Engine/scsort.c.o
>>>>>>> CMakeFiles/csound64.dir/Engine/scxtract.c.o
>>>>>>> CMakeFiles/csound64.dir/Engine/sort.c.o
>>>>>>> CMakeFiles/csound64.dir/Engine/sread.c.o
>>>>>>> CMakeFiles/csound64.dir/Engine/swritestr.c.o
>>>>>>> CMakeFiles/csound64.dir/Engine/twarp.c.o
>>>>>>> CMakeFiles/csound64.dir/Engine/csound_type_system.c.o
>>>>>>> CMakeFiles/csound64.dir/Engine/csound_standard_types.c.o
>>>>>>> CMakeFiles/csound64.dir/Engine/csound_data_structures.c.o
>>>>>>> CMakeFiles/csound64.dir/Engine/pools.c.o
>>>>>>> CMakeFiles/csound64.dir/InOut/libsnd.c.o
>>>>>>> CMakeFiles/csound64.dir/InOut/libsnd_u.c.o
>>>>>>> CMakeFiles/csound64.dir/InOut/midifile.c.o
>>>>>>> CMakeFiles/csound64.dir/InOut/midirecv.c.o
>>>>>>> CMakeFiles/csound64.dir/InOut/midisend.c.o
>>>>>>> CMakeFiles/csound64.dir/InOut/winascii.c.o
>>>>>>> CMakeFiles/csound64.dir/InOut/windin.c.o
>>>>>>> CMakeFiles/csound64.dir/InOut/window.c.o
>>>>>>> CMakeFiles/csound64.dir/InOut/winEPS.c.o
>>>>>>> CMakeFiles/csound64.dir/InOut/circularbuffer.c.o
>>>>>>> CMakeFiles/csound64.dir/OOps/aops.c.o
>>>>>>> CMakeFiles/csound64.dir/OOps/bus.c.o
>>>>>>> CMakeFiles/csound64.dir/OOps/cmath.c.o
>>>>>>> CMakeFiles/csound64.dir/OOps/diskin2.c.o
>>>>>>> CMakeFiles/csound64.dir/OOps/disprep.c.o
>>>>>>> CMakeFiles/csound64.dir/OOps/dumpf.c.o
>>>>>>> CMakeFiles/csound64.dir/OOps/fftlib.c.o
>>>>>>> CMakeFiles/csound64.dir/OOps/pffft.c.o
>>>>>>> CMakeFiles/csound64.dir/OOps/goto_ops.c.o
>>>>>>> CMakeFiles/csound64.dir/OOps/midiinterop.c.o
>>>>>>> CMakeFiles/csound64.dir/OOps/midiops.c.o
>>>>>>> CMakeFiles/csound64.dir/OOps/midiout.c.o
>>>>>>> CMakeFiles/csound64.dir/OOps/mxfft.c.o
>>>>>>> CMakeFiles/csound64.dir/OOps/oscils.c.o
>>>>>>> CMakeFiles/csound64.dir/OOps/pstream.c.o
>>>>>>> CMakeFiles/csound64.dir/OOps/pvfileio.c.o
>>>>>>> CMakeFiles/csound64.dir/OOps/pvsanal.c.o
>>>>>>> CMakeFiles/csound64.dir/OOps/random.c.o
>>>>>>> CMakeFiles/csound64.dir/OOps/remote.c.o
>>>>>>> CMakeFiles/csound64.dir/OOps/schedule.c.o
>>>>>>> CMakeFiles/csound64.dir/OOps/sndinfUG.c.o
>>>>>>> CMakeFiles/csound64.dir/OOps/str_ops.c.o
>>>>>>> CMakeFiles/csound64.dir/OOps/ugens1.c.o
>>>>>>> CMakeFiles/csound64.dir/OOps/ugens2.c.o
>>>>>>> CMakeFiles/csound64.dir/OOps/ugens3.c.o
>>>>>>> CMakeFiles/csound64.dir/OOps/ugens4.c.o
>>>>>>> CMakeFiles/csound64.dir/OOps/ugens5.c.o
>>>>>>> CMakeFiles/csound64.dir/OOps/ugens6.c.o
>>>>>>> CMakeFiles/csound64.dir/OOps/ugtabs.c.o
>>>>>>> CMakeFiles/csound64.dir/OOps/ugrw1.c.o
>>>>>>> CMakeFiles/csound64.dir/OOps/ugrw2.c.o
>>>>>>> CMakeFiles/csound64.dir/OOps/vdelay.c.o
>>>>>>> CMakeFiles/csound64.dir/OOps/compile_ops.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/babo.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/bilbar.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/compress.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/eqfil.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/Vosim.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/pinker.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/pitch.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/pitch0.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/spectra.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/ambicode1.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/sfont.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/grain4.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/hrtferX.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/loscilx.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/minmax.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/pan2.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/arrays.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/phisem.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/hrtfopcodes.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/vbap.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/vbap1.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/vbap_n.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/vbap_zak.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/vaops.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/ugakbari.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/harmon.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/pitchtrack.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/partikkel.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/shape.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/tabsum.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/crossfm.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvlock.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/fareyseq.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/modmatrix.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/scoreline.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/modal4.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/physutil.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/physmod.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/mandolin.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/singwave.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/fm4op.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/moog1.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/shaker.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/bowedbar.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/gab/tabmorph.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/gab/hvs.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/gab/sliderTable.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/gab/newgabopc.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/ftest.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/hrtfearly.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/hrtfreverb.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/cpumeter.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/gendy.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/tl/sc_noise.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/afilters.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/wpfilters.c.o
>>>>>>> CMakeFiles/csound64.dir/Top/argdecode.c.o
>>>>>>> CMakeFiles/csound64.dir/Top/csdebug.c.o
>>>>>>> CMakeFiles/csound64.dir/Top/cscore_internal.c.o
>>>>>>> CMakeFiles/csound64.dir/Top/cscorfns.c.o
>>>>>>> CMakeFiles/csound64.dir/Top/csmodule.c.o
>>>>>>> CMakeFiles/csound64.dir/Top/getstring.c.o
>>>>>>> CMakeFiles/csound64.dir/Top/main.c.o
>>>>>>> CMakeFiles/csound64.dir/Top/new_opts.c.o
>>>>>>> CMakeFiles/csound64.dir/Top/one_file.c.o
>>>>>>> CMakeFiles/csound64.dir/Top/opcode.c.o
>>>>>>> CMakeFiles/csound64.dir/Top/threads.c.o
>>>>>>> CMakeFiles/csound64.dir/Top/utility.c.o
>>>>>>> CMakeFiles/csound64.dir/Top/threadsafe.c.o
>>>>>>> CMakeFiles/csound64.dir/Top/server.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/ambicode.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/bbcut.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/biquad.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/butter.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/clfilt.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/cross2.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/dam.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/dcblockr.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/filter.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/flanger.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/follow.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/fout.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/freeverb.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/ftconv.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/ftgen.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/gab/gab.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/gab/vectorial.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/grain.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/locsig.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/lowpassr.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/metro.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/midiops2.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/midiops3.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/newfils.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/nlfilt.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/oscbnk.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/pluck.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/paulstretch.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/repluck.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/reverbsc.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/seqtime.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/sndloop.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/sndwarp.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/space.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/spat3d.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/syncgrain.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/ugens7.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/ugens9.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/ugensa.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/uggab.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/ugmoss.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/ugnorman.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/ugsc.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/wave-terrain.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/stdopcod.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/socksend.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/sockrecv.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/ifd.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/partials.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/psynth.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvsbasic.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvscent.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvsdemix.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvs_ops.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvsband.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvsbuffer.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvsgendy.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/dsputil.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvadd.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvinterp.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvocext.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvread.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/ugens8.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/vpvoc.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvoc.c.o
>>>>>>> CMakeFiles/csound64.dir/Opcodes/mp3in.c.o
>>>>>>> CMakeFiles/csound64.dir/InOut/libmpadec/layer1.c.o
>>>>>>> CMakeFiles/csound64.dir/InOut/libmpadec/layer2.c.o
>>>>>>> CMakeFiles/csound64.dir/InOut/libmpadec/layer3.c.o
>>>>>>> CMakeFiles/csound64.dir/InOut/libmpadec/synth.c.o
>>>>>>> CMakeFiles/csound64.dir/InOut/libmpadec/tables.c.o
>>>>>>> CMakeFiles/csound64.dir/InOut/libmpadec/mpadec.c.o
>>>>>>> CMakeFiles/csound64.dir/InOut/libmpadec/mp3dec.c.o
>>>>>>> CMakeFiles/csound64.dir/csound_orclex.c.o
>>>>>>> CMakeFiles/csound64.dir/csound_orcparse.c.o
>>>>>>> CMakeFiles/csound64.dir/csound_prelex.c.o
>>>>>>> CMakeFiles/csound64.dir/Engine/csound_orc_semantics.c.o
>>>>>>> CMakeFiles/csound64.dir/Engine/csound_orc_expressions.c.o
>>>>>>> CMakeFiles/csound64.dir/Engine/csound_orc_optimize.c.o
>>>>>>> CMakeFiles/csound64.dir/Engine/csound_orc_compile.c.o
>>>>>>> CMakeFiles/csound64.dir/Engine/new_orc_parser.c.o
>>>>>>> CMakeFiles/csound64.dir/Engine/symbtab.c.o
>>>>>>> CMakeFiles/csound64.dir/csound_prslex.c.o
>>>>>>> CMakeFiles/csound64.dir/Engine/cs_new_dispatch.c.o
>>>>>>> CMakeFiles/csound64.dir/Engine/cs_par_base.c.o
>>>>>>> CMakeFiles/csound64.dir/Engine/cs_par_orc_semantic_analysis.c.o
>>>>>>> CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o -lsndfile
>>>>>>> -lpthread -lm -ldl -lrt
>>>>>>> /usr/bin/cmake -E cmake_symlink_library libcsound64.so.6.0
>>>>>>> libcsound64.so.6.0 libcsound64.so
>>>>>>> make[2]: Leaving directory '/home/sim/Src/csound/csound6.09'
>>>>>>> [ 63%] Built target csound64
>>>>>>> make[1]: Leaving directory '/home/sim/Src/csound/csound6.09'
>>>>>>> Makefile:160: recipe for target 'all' failed
>>>>>>> make: *** [all] Error 2
>>>>>>> 
>>>>>>> 
>>>>>>> On Mon, Jun 5, 2017 at 1:21 PM, Anders Genell 
>>>>>>> wrote:
>>>>>>> Well, the build runs fine when I do not try to build the
>>>>>>> cuda opcodes.
>>>>>>> 
>>>>>>> Where do I put CMAKE_MAKEFILE_VERBOSE? As a -D flag for cmake?
>>>>>>> 
>>>>>>> Regards,
>>>>>>> Anders
>>>>>>> 
>>>>>>> On Mon, Jun 5, 2017 at 1:10 PM, Victor Lazzarini
>>>>>>>  wrote:
>>>>>>> The line you printed does not indicate a build  error
>>>>>>> with the cuda opcodes. Try building with 
>>>>>>> CMAKE_MAKEFILE_VERBOSE=1 so we can see what the errors
>>>>>>> are.
>>>>>>> 
>>>>>>> Victor Lazzarini
>>>>>>> Dean of Arts, Celtic Studies, and Philosophy
>>>>>>> Maynooth University
>>>>>>> Ireland
>>>>>>> 
>>>>>>>> On 5 Jun 2017, at 11:43, Anders Genell
>>>>>>>  wrote:
>>>>>>>> 
>>>>>>>> Dear devs, particularly Prof. Lazzarini!
>>>>>>>> 
>>>>>>>> I just pulled from git and built on a fairly modern
>>>>>>> machine with a Nvidia GTX 780 hour. It has Ubuntu
>>>>>>> 17.04 installed, and I have installed the CUDA 8.0
>>>>>>> toolkit. The build did not automatically find the CUDA
>>>>>>> libs, and when forcing the CUDA opcodes build, I get a
>>>>>>> build error. It doesn't really give much information
>>>>>>> about the error, just
>>>>>>>> 
>>>>>>>> [ 62%] Building C object
>>>>>>> CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o
>>>>>>>> [ 63%] Linking C shared library libcsound64.so
>>>>>>>> [ 63%] Built target csound64
>>>>>>>> Makefile:160: recipe for target 'all' failed
>>>>>>>> make: *** [all] Error 2
>>>>>>>> 
>>>>>>>> I saw something somewhere that CUDA doesn't support
>>>>>>> gcc 5 yet, which might be the culprit. Has anyone else
>>>>>>> run into this?
>>>>>>>> 
>>>>>>>> Regards,
>>>>>>>> Anders
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>> 
>>

Date2017-06-06 11:06
FromVictor Lazzarini
SubjectRe: [Csnd-dev] CUDA (again)
yes, CUDA 8 won’t work here. So there are two problems: (1) cmake creates wrong makefiles (bug in cmake) (2) cuda tools do not work with the latest compilers.
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 6 Jun 2017, at 08:48, Victor Lazzarini  wrote:
> 
> I think cuda 8 supports my compiler (clang 8). I could not install it yesterday, but I will try today.
> ========================
> Prof. Victor Lazzarini
> Dean of Arts, Celtic Studies, and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952 
> 
>> On 6 Jun 2017, at 07:59, Anders Genell  wrote:
>> 
>> Yes, that is what I found somewhere too, that CUDA 8.0 doesn't support gcc >= 5. CUDA 9 is not released yet, but there should probably be some beta or release candidate version out soon as features of CUDA 9 have been revealed. 
>> 
>> Regards,
>> Anders
>> 
>>> 5 juni 2017 kl. 20:49 skrev Victor Lazzarini :
>>> 
>>> I was able to edit the generated CMake files and it seemed to move from that error. But now I need to upgrade cuda because I have a new compiler that is not
>>> compatible with the version I had.
>>> ========================
>>> Prof. Victor Lazzarini
>>> Dean of Arts, Celtic Studies, and Philosophy,
>>> Maynooth University,
>>> Maynooth, Co Kildare, Ireland
>>> Tel: 00 353 7086936
>>> Fax: 00 353 1 7086952 
>>> 
>>>> On 5 Jun 2017, at 19:35, Anders Genell  wrote:
>>>> 
>>>> Thanks!
>>>> I'll hold back for a while and see if you find anything. 
>>>> 
>>>> Regards,
>>>> Anders
>>>> 
>>>>> 5 juni 2017 kl. 20:32 skrev Victor Lazzarini :
>>>>> 
>>>>> It’s a CMake problem, apparently. I’ve updated my CMake to 3.8 and now I am having the same problem as you. 
>>>>> Not sure whether there is a fix beyond reverting to 3.6, but I’ll see what I find out.
>>>>> ========================
>>>>> Prof. Victor Lazzarini
>>>>> Dean of Arts, Celtic Studies, and Philosophy,
>>>>> Maynooth University,
>>>>> Maynooth, Co Kildare, Ireland
>>>>> Tel: 00 353 7086936
>>>>> Fax: 00 353 1 7086952 
>>>>> 
>>>>>> On 5 Jun 2017, at 19:28, Anders Genell  wrote:
>>>>>> 
>>>>>> [ 63%] Building NVCC (Device) object Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o
>>>>>> cd /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir && /usr/bin/cmake -E make_directory /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//.
>>>>>> cd /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir && /usr/bin/cmake -D verbose:BOOL=1 -D build_configuration:STRING= -D generated_file:STRING=/home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o -D generated_cubin_file:STRING=/home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o.cubin.txt -P /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//cudaop3_generated_slidingm.cu.o.cmake
>>>>>> CMake Warning (dev) at cudaop3_generated_slidingm.cu.o.cmake:81:
>>>>>> Syntax Warning in cmake code at column 75
>>>>>> 
>>>>>> Argument not separated from preceding token by whitespace.
>>>>>> This warning is for project developers.  Use -Wno-dev to suppress it.
>>>>>> 
>>>>>> -- Removing /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o
>>>>>> /usr/bin/cmake -E remove /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o
>>>>>> -- Generating dependency file: /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//cudaop3_generated_slidingm.cu.o.NVCC-depend
>>>>>> /usr/bin/nvcc -M -D__CUDACC__ /home/sim/Src/csound/Opcodes/cuda/slidingm.cu -o /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//cudaop3_generated_slidingm.cu.o.NVCC-depend -ccbin /usr/bin/cc -m64 -Dcudaop3_EXPORTS -D_CSOUND_RELEASE_ -DCS_DEFAULT_PLUGINDIR= -D/usr/local/lib/csound/plugins-6.0\" -DUSE_LRINT -DLINUX -DPIPES -DNO_FLTK_THREADS -D_GNU_SOURCE -DHAVE_SOCKETS -DHAVE_STRTOK_R -DHAVE_STRTOD_L\" -Xcompiler ,\"-ffast-math\",\"-mfpmath=sse\",\"-msse2\",\"-fomit-frame-pointer\",\"-fvisibility=hidden\",\"-DHAVE_ATOMIC_BUILTIN\",\"-fopenmp\",\"-fPIC\",\"-g\" -arch=sm_20 -use_fast_math -DNVCC -I/usr/include -I/home/sim/Src/csound/./H -I/home/sim/Src/csound/./include -I/home/sim/Src/csound/./Engine -I/home/sim/Src/csound/. -I/home/sim/Src/csound/csound6.09 -I/home/sim/Src/csound/csound6.09/include -I/usr/include/python2.7 -I/home/sim/Src/csound/include -I/usr/local/include
>>>>>> nvcc fatal   : Stray '"' character
>>>>>> CMake Error at cudaop3_generated_slidingm.cu.o.cmake:222 (message):
>>>>>> Error generating
>>>>>> /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o
>>>>>> 
>>>>>> 
>>>>>> Opcodes/cuda/CMakeFiles/cudaop3.dir/build.make:63: recipe for target 'Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o' failed
>>>>>> make[2]: *** [Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o] Error 1
>>>>>> make[2]: Leaving directory '/home/sim/Src/csound/csound6.09'
>>>>>> CMakeFiles/Makefile2:1656: recipe for target 'Opcodes/cuda/CMakeFiles/cudaop3.dir/all' failed
>>>>>> make[1]: *** [Opcodes/cuda/CMakeFiles/cudaop3.dir/all] Error 2
>>>>>> make[1]: Leaving directory '/home/sim/Src/csound/csound6.09'
>>>>>> Makefile:160: recipe for target 'all' failed
>>>>>> make: *** [all] Error 2
>>>>>> 
>>>>>> 
>>>>>>> 5 juni 2017 kl. 20:13 skrev Victor Lazzarini :
>>>>>>> 
>>>>>>> can you do a make clean, then just make ?
>>>>>>> 
>>>>>>> I want to see what happened in the compilation of the .o file.
>>>>>>> ========================
>>>>>>> Prof. Victor Lazzarini
>>>>>>> Dean of Arts, Celtic Studies, and Philosophy,
>>>>>>> Maynooth University,
>>>>>>> Maynooth, Co Kildare, Ireland
>>>>>>> Tel: 00 353 7086936
>>>>>>> Fax: 00 353 1 7086952 
>>>>>>> 
>>>>>>>> On 5 Jun 2017, at 15:15, Anders Genell  wrote:
>>>>>>>> 
>>>>>>>> Just using "make" without -j6 shows a bit more info, and it now does seem to be cuda related...
>>>>>>>> 
>>>>>>>> [ 63%] Building NVCC (Device) object Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o
>>>>>>>> CMake Warning (dev) at cudaop3_generated_slidingm.cu.o.cmake:81:
>>>>>>>> Syntax Warning in cmake code at column 75
>>>>>>>> 
>>>>>>>> Argument not separated from preceding token by whitespace.
>>>>>>>> This warning is for project developers.  Use -Wno-dev to suppress it.
>>>>>>>> 
>>>>>>>> nvcc fatal   : Stray '"' character
>>>>>>>> CMake Error at cudaop3_generated_slidingm.cu.o.cmake:222 (message):
>>>>>>>> Error generating
>>>>>>>> /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o
>>>>>>>> 
>>>>>>>> 
>>>>>>>> Opcodes/cuda/CMakeFiles/cudaop3.dir/build.make:63: recipe for target 'Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o' failed
>>>>>>>> make[2]: *** [Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o] Error 1
>>>>>>>> CMakeFiles/Makefile2:1656: recipe for target 'Opcodes/cuda/CMakeFiles/cudaop3.dir/all' failed
>>>>>>>> make[1]: *** [Opcodes/cuda/CMakeFiles/cudaop3.dir/all] Error 2
>>>>>>>> Makefile:160: recipe for target 'all' failed
>>>>>>>> make: *** [all] Error 2
>>>>>>>> 
>>>>>>>> On Mon, Jun 5, 2017 at 3:20 PM, jpff  wrote:
>>>>>>>> It looks to me tat the error is earlier if building with -j6 o te ie
>>>>>>>> 
>>>>>>>> Tese messagesare OK and suggest aa broken .o file
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> On Mon, 5 Jun 2017, Victor Lazzarini wrote:
>>>>>>>> 
>>>>>>>> Are you building with make -j 6 ? I can't see where it is failing. If you are,
>>>>>>>> try just 'make'
>>>>>>>> 
>>>>>>>> Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy
>>>>>>>> Maynooth University
>>>>>>>> Ireland
>>>>>>>> 
>>>>>>>> On 5 Jun 2017, at 12:41, Anders Genell  wrote:
>>>>>>>> 
>>>>>>>> Ok, got the verbosity up:
>>>>>>>> 
>>>>>>>> [ 62%] Building C object
>>>>>>>> CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o
>>>>>>>> /usr/bin/cc 
>>>>>>>> -DCS_DEFAULT_PLUGINDIR=\"/usr/local/lib/csound/plugins64-6.0\"
>>>>>>>> -DHAVE_SOCKETS -DHAVE_STRTOD_L -DHAVE_STRTOK_R -DLINUX
>>>>>>>> -DNO_FLTK_THREADS -DPIPES -DUSE_LRINT -D_CSOUND_RELEASE_
>>>>>>>> -D_GNU_SOURCE -Dcsound64_EXPORTS -I/home/sim/Src/csound/./H
>>>>>>>> -I/home/sim/Src/csound/./include -I/home/sim/Src/csound/./Engine
>>>>>>>> -I/home/sim/Src/csound/. -I/home/sim/Src/csound/csound6.09
>>>>>>>> -I/home/sim/Src/csound/csound6.09/include  -ffast-math
>>>>>>>> -mfpmath=sse -msse2 -fomit-frame-pointer -fvisibility=hidden
>>>>>>>> -DHAVE_ATOMIC_BUILTIN -DHAVE_PTHREAD -fPIC   -Wno-format  
>>>>>>>> -D__BUILDING_LIBCSOUND -DHAVE_PTHREAD_SPIN_LOCK
>>>>>>>> -DHAVE_PTHREAD_BARRIER_INIT -DPARCS -DGNU_GETTEXT -DHAVE_DIRENT_H
>>>>>>>> -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H
>>>>>>>> -DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H -DHAVE_VALUES_H -o
>>>>>>>> CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o   -c
>>>>>>>> /home/sim/Src/csound/Engine/cs_par_dispatch.c
>>>>>>>> [ 63%] Linking C shared library libcsound64.so
>>>>>>>> /usr/bin/cmake -E cmake_link_script
>>>>>>>> CMakeFiles/csound64.dir/link.txt --verbose=1
>>>>>>>> /usr/bin/cc  -fPIC  -ffast-math -mfpmath=sse -msse2
>>>>>>>> -fomit-frame-pointer -fvisibility=hidden -DHAVE_ATOMIC_BUILTIN
>>>>>>>> -DHAVE_PTHREAD  -shared -Wl,-soname,libcsound64.so.6.0 -o
>>>>>>>> libcsound64.so.6.0 CMakeFiles/csound64.dir/Top/csound.c.o
>>>>>>>> CMakeFiles/csound64.dir/Engine/auxfd.c.o
>>>>>>>> CMakeFiles/csound64.dir/Engine/cfgvar.c.o
>>>>>>>> CMakeFiles/csound64.dir/Engine/corfiles.c.o
>>>>>>>> CMakeFiles/csound64.dir/Engine/entry1.c.o
>>>>>>>> CMakeFiles/csound64.dir/Engine/envvar.c.o
>>>>>>>> CMakeFiles/csound64.dir/Engine/extract.c.o
>>>>>>>> CMakeFiles/csound64.dir/Engine/fgens.c.o
>>>>>>>> CMakeFiles/csound64.dir/Engine/insert.c.o
>>>>>>>> CMakeFiles/csound64.dir/Engine/linevent.c.o
>>>>>>>> CMakeFiles/csound64.dir/Engine/memalloc.c.o
>>>>>>>> CMakeFiles/csound64.dir/Engine/memfiles.c.o
>>>>>>>> CMakeFiles/csound64.dir/Engine/musmon.c.o
>>>>>>>> CMakeFiles/csound64.dir/Engine/namedins.c.o
>>>>>>>> CMakeFiles/csound64.dir/Engine/rdscor.c.o
>>>>>>>> CMakeFiles/csound64.dir/Engine/scsort.c.o
>>>>>>>> CMakeFiles/csound64.dir/Engine/scxtract.c.o
>>>>>>>> CMakeFiles/csound64.dir/Engine/sort.c.o
>>>>>>>> CMakeFiles/csound64.dir/Engine/sread.c.o
>>>>>>>> CMakeFiles/csound64.dir/Engine/swritestr.c.o
>>>>>>>> CMakeFiles/csound64.dir/Engine/twarp.c.o
>>>>>>>> CMakeFiles/csound64.dir/Engine/csound_type_system.c.o
>>>>>>>> CMakeFiles/csound64.dir/Engine/csound_standard_types.c.o
>>>>>>>> CMakeFiles/csound64.dir/Engine/csound_data_structures.c.o
>>>>>>>> CMakeFiles/csound64.dir/Engine/pools.c.o
>>>>>>>> CMakeFiles/csound64.dir/InOut/libsnd.c.o
>>>>>>>> CMakeFiles/csound64.dir/InOut/libsnd_u.c.o
>>>>>>>> CMakeFiles/csound64.dir/InOut/midifile.c.o
>>>>>>>> CMakeFiles/csound64.dir/InOut/midirecv.c.o
>>>>>>>> CMakeFiles/csound64.dir/InOut/midisend.c.o
>>>>>>>> CMakeFiles/csound64.dir/InOut/winascii.c.o
>>>>>>>> CMakeFiles/csound64.dir/InOut/windin.c.o
>>>>>>>> CMakeFiles/csound64.dir/InOut/window.c.o
>>>>>>>> CMakeFiles/csound64.dir/InOut/winEPS.c.o
>>>>>>>> CMakeFiles/csound64.dir/InOut/circularbuffer.c.o
>>>>>>>> CMakeFiles/csound64.dir/OOps/aops.c.o
>>>>>>>> CMakeFiles/csound64.dir/OOps/bus.c.o
>>>>>>>> CMakeFiles/csound64.dir/OOps/cmath.c.o
>>>>>>>> CMakeFiles/csound64.dir/OOps/diskin2.c.o
>>>>>>>> CMakeFiles/csound64.dir/OOps/disprep.c.o
>>>>>>>> CMakeFiles/csound64.dir/OOps/dumpf.c.o
>>>>>>>> CMakeFiles/csound64.dir/OOps/fftlib.c.o
>>>>>>>> CMakeFiles/csound64.dir/OOps/pffft.c.o
>>>>>>>> CMakeFiles/csound64.dir/OOps/goto_ops.c.o
>>>>>>>> CMakeFiles/csound64.dir/OOps/midiinterop.c.o
>>>>>>>> CMakeFiles/csound64.dir/OOps/midiops.c.o
>>>>>>>> CMakeFiles/csound64.dir/OOps/midiout.c.o
>>>>>>>> CMakeFiles/csound64.dir/OOps/mxfft.c.o
>>>>>>>> CMakeFiles/csound64.dir/OOps/oscils.c.o
>>>>>>>> CMakeFiles/csound64.dir/OOps/pstream.c.o
>>>>>>>> CMakeFiles/csound64.dir/OOps/pvfileio.c.o
>>>>>>>> CMakeFiles/csound64.dir/OOps/pvsanal.c.o
>>>>>>>> CMakeFiles/csound64.dir/OOps/random.c.o
>>>>>>>> CMakeFiles/csound64.dir/OOps/remote.c.o
>>>>>>>> CMakeFiles/csound64.dir/OOps/schedule.c.o
>>>>>>>> CMakeFiles/csound64.dir/OOps/sndinfUG.c.o
>>>>>>>> CMakeFiles/csound64.dir/OOps/str_ops.c.o
>>>>>>>> CMakeFiles/csound64.dir/OOps/ugens1.c.o
>>>>>>>> CMakeFiles/csound64.dir/OOps/ugens2.c.o
>>>>>>>> CMakeFiles/csound64.dir/OOps/ugens3.c.o
>>>>>>>> CMakeFiles/csound64.dir/OOps/ugens4.c.o
>>>>>>>> CMakeFiles/csound64.dir/OOps/ugens5.c.o
>>>>>>>> CMakeFiles/csound64.dir/OOps/ugens6.c.o
>>>>>>>> CMakeFiles/csound64.dir/OOps/ugtabs.c.o
>>>>>>>> CMakeFiles/csound64.dir/OOps/ugrw1.c.o
>>>>>>>> CMakeFiles/csound64.dir/OOps/ugrw2.c.o
>>>>>>>> CMakeFiles/csound64.dir/OOps/vdelay.c.o
>>>>>>>> CMakeFiles/csound64.dir/OOps/compile_ops.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/babo.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/bilbar.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/compress.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/eqfil.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/Vosim.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pinker.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pitch.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pitch0.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/spectra.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ambicode1.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/sfont.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/grain4.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/hrtferX.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/loscilx.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/minmax.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pan2.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/arrays.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/phisem.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/hrtfopcodes.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/vbap.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/vbap1.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/vbap_n.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/vbap_zak.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/vaops.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ugakbari.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/harmon.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pitchtrack.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/partikkel.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/shape.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/tabsum.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/crossfm.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvlock.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/fareyseq.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/modmatrix.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/scoreline.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/modal4.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/physutil.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/physmod.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/mandolin.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/singwave.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/fm4op.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/moog1.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/shaker.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/bowedbar.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/gab/tabmorph.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/gab/hvs.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/gab/sliderTable.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/gab/newgabopc.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ftest.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/hrtfearly.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/hrtfreverb.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/cpumeter.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/gendy.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/tl/sc_noise.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/afilters.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/wpfilters.c.o
>>>>>>>> CMakeFiles/csound64.dir/Top/argdecode.c.o
>>>>>>>> CMakeFiles/csound64.dir/Top/csdebug.c.o
>>>>>>>> CMakeFiles/csound64.dir/Top/cscore_internal.c.o
>>>>>>>> CMakeFiles/csound64.dir/Top/cscorfns.c.o
>>>>>>>> CMakeFiles/csound64.dir/Top/csmodule.c.o
>>>>>>>> CMakeFiles/csound64.dir/Top/getstring.c.o
>>>>>>>> CMakeFiles/csound64.dir/Top/main.c.o
>>>>>>>> CMakeFiles/csound64.dir/Top/new_opts.c.o
>>>>>>>> CMakeFiles/csound64.dir/Top/one_file.c.o
>>>>>>>> CMakeFiles/csound64.dir/Top/opcode.c.o
>>>>>>>> CMakeFiles/csound64.dir/Top/threads.c.o
>>>>>>>> CMakeFiles/csound64.dir/Top/utility.c.o
>>>>>>>> CMakeFiles/csound64.dir/Top/threadsafe.c.o
>>>>>>>> CMakeFiles/csound64.dir/Top/server.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ambicode.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/bbcut.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/biquad.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/butter.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/clfilt.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/cross2.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/dam.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/dcblockr.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/filter.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/flanger.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/follow.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/fout.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/freeverb.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ftconv.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ftgen.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/gab/gab.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/gab/vectorial.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/grain.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/locsig.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/lowpassr.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/metro.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/midiops2.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/midiops3.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/newfils.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/nlfilt.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/oscbnk.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pluck.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/paulstretch.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/repluck.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/reverbsc.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/seqtime.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/sndloop.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/sndwarp.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/space.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/spat3d.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/syncgrain.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ugens7.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ugens9.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ugensa.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/uggab.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ugmoss.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ugnorman.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ugsc.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/wave-terrain.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/stdopcod.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/socksend.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/sockrecv.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ifd.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/partials.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/psynth.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvsbasic.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvscent.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvsdemix.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvs_ops.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvsband.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvsbuffer.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvsgendy.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/dsputil.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvadd.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvinterp.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvocext.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvread.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ugens8.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/vpvoc.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvoc.c.o
>>>>>>>> CMakeFiles/csound64.dir/Opcodes/mp3in.c.o
>>>>>>>> CMakeFiles/csound64.dir/InOut/libmpadec/layer1.c.o
>>>>>>>> CMakeFiles/csound64.dir/InOut/libmpadec/layer2.c.o
>>>>>>>> CMakeFiles/csound64.dir/InOut/libmpadec/layer3.c.o
>>>>>>>> CMakeFiles/csound64.dir/InOut/libmpadec/synth.c.o
>>>>>>>> CMakeFiles/csound64.dir/InOut/libmpadec/tables.c.o
>>>>>>>> CMakeFiles/csound64.dir/InOut/libmpadec/mpadec.c.o
>>>>>>>> CMakeFiles/csound64.dir/InOut/libmpadec/mp3dec.c.o
>>>>>>>> CMakeFiles/csound64.dir/csound_orclex.c.o
>>>>>>>> CMakeFiles/csound64.dir/csound_orcparse.c.o
>>>>>>>> CMakeFiles/csound64.dir/csound_prelex.c.o
>>>>>>>> CMakeFiles/csound64.dir/Engine/csound_orc_semantics.c.o
>>>>>>>> CMakeFiles/csound64.dir/Engine/csound_orc_expressions.c.o
>>>>>>>> CMakeFiles/csound64.dir/Engine/csound_orc_optimize.c.o
>>>>>>>> CMakeFiles/csound64.dir/Engine/csound_orc_compile.c.o
>>>>>>>> CMakeFiles/csound64.dir/Engine/new_orc_parser.c.o
>>>>>>>> CMakeFiles/csound64.dir/Engine/symbtab.c.o
>>>>>>>> CMakeFiles/csound64.dir/csound_prslex.c.o
>>>>>>>> CMakeFiles/csound64.dir/Engine/cs_new_dispatch.c.o
>>>>>>>> CMakeFiles/csound64.dir/Engine/cs_par_base.c.o
>>>>>>>> CMakeFiles/csound64.dir/Engine/cs_par_orc_semantic_analysis.c.o
>>>>>>>> CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o -lsndfile
>>>>>>>> -lpthread -lm -ldl -lrt
>>>>>>>> /usr/bin/cmake -E cmake_symlink_library libcsound64.so.6.0
>>>>>>>> libcsound64.so.6.0 libcsound64.so
>>>>>>>> make[2]: Leaving directory '/home/sim/Src/csound/csound6.09'
>>>>>>>> [ 63%] Built target csound64
>>>>>>>> make[1]: Leaving directory '/home/sim/Src/csound/csound6.09'
>>>>>>>> Makefile:160: recipe for target 'all' failed
>>>>>>>> make: *** [all] Error 2
>>>>>>>> 
>>>>>>>> 
>>>>>>>> On Mon, Jun 5, 2017 at 1:21 PM, Anders Genell 
>>>>>>>> wrote:
>>>>>>>> Well, the build runs fine when I do not try to build the
>>>>>>>> cuda opcodes.
>>>>>>>> 
>>>>>>>> Where do I put CMAKE_MAKEFILE_VERBOSE? As a -D flag for cmake?
>>>>>>>> 
>>>>>>>> Regards,
>>>>>>>> Anders
>>>>>>>> 
>>>>>>>> On Mon, Jun 5, 2017 at 1:10 PM, Victor Lazzarini
>>>>>>>>  wrote:
>>>>>>>> The line you printed does not indicate a build  error
>>>>>>>> with the cuda opcodes. Try building with 
>>>>>>>> CMAKE_MAKEFILE_VERBOSE=1 so we can see what the errors
>>>>>>>> are.
>>>>>>>> 
>>>>>>>> Victor Lazzarini
>>>>>>>> Dean of Arts, Celtic Studies, and Philosophy
>>>>>>>> Maynooth University
>>>>>>>> Ireland
>>>>>>>> 
>>>>>>>>> On 5 Jun 2017, at 11:43, Anders Genell
>>>>>>>>  wrote:
>>>>>>>>> 
>>>>>>>>> Dear devs, particularly Prof. Lazzarini!
>>>>>>>>> 
>>>>>>>>> I just pulled from git and built on a fairly modern
>>>>>>>> machine with a Nvidia GTX 780 hour. It has Ubuntu
>>>>>>>> 17.04 installed, and I have installed the CUDA 8.0
>>>>>>>> toolkit. The build did not automatically find the CUDA
>>>>>>>> libs, and when forcing the CUDA opcodes build, I get a
>>>>>>>> build error. It doesn't really give much information
>>>>>>>> about the error, just
>>>>>>>>> 
>>>>>>>>> [ 62%] Building C object
>>>>>>>> CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o
>>>>>>>>> [ 63%] Linking C shared library libcsound64.so
>>>>>>>>> [ 63%] Built target csound64
>>>>>>>>> Makefile:160: recipe for target 'all' failed
>>>>>>>>> make: *** [all] Error 2
>>>>>>>>> 
>>>>>>>>> I saw something somewhere that CUDA doesn't support
>>>>>>>> gcc 5 yet, which might be the culprit. Has anyone else
>>>>>>>> run into this?
>>>>>>>>> 
>>>>>>>>> Regards,
>>>>>>>>> Anders
>>>>>>>> 
>>>>>>>> 

Date2017-06-06 14:33
FromAnders Genell
SubjectRe: [Csnd-dev] CUDA (again)
Not bad! Two bugs in one day, and none of them Csound related!
Could you post on github or somewhere the fix you did for the erroneous makefile? Then I can try the fix for gcc-checking someone posted on the nvidia forum I referred to (if I can figure out what he did). It might cause runtime errors, of course, but maybe the build gets completed...

Regards,
Anders


> 6 juni 2017 kl. 12:06 skrev Victor Lazzarini :
> 
> yes, CUDA 8 won’t work here. So there are two problems: (1) cmake creates wrong makefiles (bug in cmake) (2) cuda tools do not work with the latest compilers.
> ========================
> Prof. Victor Lazzarini
> Dean of Arts, Celtic Studies, and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952 
> 
>> On 6 Jun 2017, at 08:48, Victor Lazzarini  wrote:
>> 
>> I think cuda 8 supports my compiler (clang 8). I could not install it yesterday, but I will try today.
>> ========================
>> Prof. Victor Lazzarini
>> Dean of Arts, Celtic Studies, and Philosophy,
>> Maynooth University,
>> Maynooth, Co Kildare, Ireland
>> Tel: 00 353 7086936
>> Fax: 00 353 1 7086952 
>> 
>>> On 6 Jun 2017, at 07:59, Anders Genell  wrote:
>>> 
>>> Yes, that is what I found somewhere too, that CUDA 8.0 doesn't support gcc >= 5. CUDA 9 is not released yet, but there should probably be some beta or release candidate version out soon as features of CUDA 9 have been revealed. 
>>> 
>>> Regards,
>>> Anders
>>> 
>>>> 5 juni 2017 kl. 20:49 skrev Victor Lazzarini :
>>>> 
>>>> I was able to edit the generated CMake files and it seemed to move from that error. But now I need to upgrade cuda because I have a new compiler that is not
>>>> compatible with the version I had.
>>>> ========================
>>>> Prof. Victor Lazzarini
>>>> Dean of Arts, Celtic Studies, and Philosophy,
>>>> Maynooth University,
>>>> Maynooth, Co Kildare, Ireland
>>>> Tel: 00 353 7086936
>>>> Fax: 00 353 1 7086952 
>>>> 
>>>>> On 5 Jun 2017, at 19:35, Anders Genell  wrote:
>>>>> 
>>>>> Thanks!
>>>>> I'll hold back for a while and see if you find anything. 
>>>>> 
>>>>> Regards,
>>>>> Anders
>>>>> 
>>>>>> 5 juni 2017 kl. 20:32 skrev Victor Lazzarini :
>>>>>> 
>>>>>> It’s a CMake problem, apparently. I’ve updated my CMake to 3.8 and now I am having the same problem as you. 
>>>>>> Not sure whether there is a fix beyond reverting to 3.6, but I’ll see what I find out.
>>>>>> ========================
>>>>>> Prof. Victor Lazzarini
>>>>>> Dean of Arts, Celtic Studies, and Philosophy,
>>>>>> Maynooth University,
>>>>>> Maynooth, Co Kildare, Ireland
>>>>>> Tel: 00 353 7086936
>>>>>> Fax: 00 353 1 7086952 
>>>>>> 
>>>>>>> On 5 Jun 2017, at 19:28, Anders Genell  wrote:
>>>>>>> 
>>>>>>> [ 63%] Building NVCC (Device) object Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o
>>>>>>> cd /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir && /usr/bin/cmake -E make_directory /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//.
>>>>>>> cd /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir && /usr/bin/cmake -D verbose:BOOL=1 -D build_configuration:STRING= -D generated_file:STRING=/home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o -D generated_cubin_file:STRING=/home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o.cubin.txt -P /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//cudaop3_generated_slidingm.cu.o.cmake
>>>>>>> CMake Warning (dev) at cudaop3_generated_slidingm.cu.o.cmake:81:
>>>>>>> Syntax Warning in cmake code at column 75
>>>>>>> 
>>>>>>> Argument not separated from preceding token by whitespace.
>>>>>>> This warning is for project developers.  Use -Wno-dev to suppress it.
>>>>>>> 
>>>>>>> -- Removing /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o
>>>>>>> /usr/bin/cmake -E remove /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o
>>>>>>> -- Generating dependency file: /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//cudaop3_generated_slidingm.cu.o.NVCC-depend
>>>>>>> /usr/bin/nvcc -M -D__CUDACC__ /home/sim/Src/csound/Opcodes/cuda/slidingm.cu -o /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//cudaop3_generated_slidingm.cu.o.NVCC-depend -ccbin /usr/bin/cc -m64 -Dcudaop3_EXPORTS -D_CSOUND_RELEASE_ -DCS_DEFAULT_PLUGINDIR= -D/usr/local/lib/csound/plugins-6.0\" -DUSE_LRINT -DLINUX -DPIPES -DNO_FLTK_THREADS -D_GNU_SOURCE -DHAVE_SOCKETS -DHAVE_STRTOK_R -DHAVE_STRTOD_L\" -Xcompiler ,\"-ffast-math\",\"-mfpmath=sse\",\"-msse2\",\"-fomit-frame-pointer\",\"-fvisibility=hidden\",\"-DHAVE_ATOMIC_BUILTIN\",\"-fopenmp\",\"-fPIC\",\"-g\" -arch=sm_20 -use_fast_math -DNVCC -I/usr/include -I/home/sim/Src/csound/./H -I/home/sim/Src/csound/./include -I/home/sim/Src/csound/./Engine -I/home/sim/Src/csound/. -I/home/sim/Src/csound/csound6.09 -I/home/sim/Src/csound/csound6.09/include -I/usr/include/python2.7 -I/home/sim/Src/csound/include -I/usr/local/include
>>>>>>> nvcc fatal   : Stray '"' character
>>>>>>> CMake Error at cudaop3_generated_slidingm.cu.o.cmake:222 (message):
>>>>>>> Error generating
>>>>>>> /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o
>>>>>>> 
>>>>>>> 
>>>>>>> Opcodes/cuda/CMakeFiles/cudaop3.dir/build.make:63: recipe for target 'Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o' failed
>>>>>>> make[2]: *** [Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o] Error 1
>>>>>>> make[2]: Leaving directory '/home/sim/Src/csound/csound6.09'
>>>>>>> CMakeFiles/Makefile2:1656: recipe for target 'Opcodes/cuda/CMakeFiles/cudaop3.dir/all' failed
>>>>>>> make[1]: *** [Opcodes/cuda/CMakeFiles/cudaop3.dir/all] Error 2
>>>>>>> make[1]: Leaving directory '/home/sim/Src/csound/csound6.09'
>>>>>>> Makefile:160: recipe for target 'all' failed
>>>>>>> make: *** [all] Error 2
>>>>>>> 
>>>>>>> 
>>>>>>>> 5 juni 2017 kl. 20:13 skrev Victor Lazzarini :
>>>>>>>> 
>>>>>>>> can you do a make clean, then just make ?
>>>>>>>> 
>>>>>>>> I want to see what happened in the compilation of the .o file.
>>>>>>>> ========================
>>>>>>>> Prof. Victor Lazzarini
>>>>>>>> Dean of Arts, Celtic Studies, and Philosophy,
>>>>>>>> Maynooth University,
>>>>>>>> Maynooth, Co Kildare, Ireland
>>>>>>>> Tel: 00 353 7086936
>>>>>>>> Fax: 00 353 1 7086952 
>>>>>>>> 
>>>>>>>>> On 5 Jun 2017, at 15:15, Anders Genell  wrote:
>>>>>>>>> 
>>>>>>>>> Just using "make" without -j6 shows a bit more info, and it now does seem to be cuda related...
>>>>>>>>> 
>>>>>>>>> [ 63%] Building NVCC (Device) object Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o
>>>>>>>>> CMake Warning (dev) at cudaop3_generated_slidingm.cu.o.cmake:81:
>>>>>>>>> Syntax Warning in cmake code at column 75
>>>>>>>>> 
>>>>>>>>> Argument not separated from preceding token by whitespace.
>>>>>>>>> This warning is for project developers.  Use -Wno-dev to suppress it.
>>>>>>>>> 
>>>>>>>>> nvcc fatal   : Stray '"' character
>>>>>>>>> CMake Error at cudaop3_generated_slidingm.cu.o.cmake:222 (message):
>>>>>>>>> Error generating
>>>>>>>>> /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> Opcodes/cuda/CMakeFiles/cudaop3.dir/build.make:63: recipe for target 'Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o' failed
>>>>>>>>> make[2]: *** [Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o] Error 1
>>>>>>>>> CMakeFiles/Makefile2:1656: recipe for target 'Opcodes/cuda/CMakeFiles/cudaop3.dir/all' failed
>>>>>>>>> make[1]: *** [Opcodes/cuda/CMakeFiles/cudaop3.dir/all] Error 2
>>>>>>>>> Makefile:160: recipe for target 'all' failed
>>>>>>>>> make: *** [all] Error 2
>>>>>>>>> 
>>>>>>>>> On Mon, Jun 5, 2017 at 3:20 PM, jpff  wrote:
>>>>>>>>> It looks to me tat the error is earlier if building with -j6 o te ie
>>>>>>>>> 
>>>>>>>>> Tese messagesare OK and suggest aa broken .o file
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> On Mon, 5 Jun 2017, Victor Lazzarini wrote:
>>>>>>>>> 
>>>>>>>>> Are you building with make -j 6 ? I can't see where it is failing. If you are,
>>>>>>>>> try just 'make'
>>>>>>>>> 
>>>>>>>>> Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy
>>>>>>>>> Maynooth University
>>>>>>>>> Ireland
>>>>>>>>> 
>>>>>>>>> On 5 Jun 2017, at 12:41, Anders Genell  wrote:
>>>>>>>>> 
>>>>>>>>> Ok, got the verbosity up:
>>>>>>>>> 
>>>>>>>>> [ 62%] Building C object
>>>>>>>>> CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o
>>>>>>>>> /usr/bin/cc 
>>>>>>>>> -DCS_DEFAULT_PLUGINDIR=\"/usr/local/lib/csound/plugins64-6.0\"
>>>>>>>>> -DHAVE_SOCKETS -DHAVE_STRTOD_L -DHAVE_STRTOK_R -DLINUX
>>>>>>>>> -DNO_FLTK_THREADS -DPIPES -DUSE_LRINT -D_CSOUND_RELEASE_
>>>>>>>>> -D_GNU_SOURCE -Dcsound64_EXPORTS -I/home/sim/Src/csound/./H
>>>>>>>>> -I/home/sim/Src/csound/./include -I/home/sim/Src/csound/./Engine
>>>>>>>>> -I/home/sim/Src/csound/. -I/home/sim/Src/csound/csound6.09
>>>>>>>>> -I/home/sim/Src/csound/csound6.09/include  -ffast-math
>>>>>>>>> -mfpmath=sse -msse2 -fomit-frame-pointer -fvisibility=hidden
>>>>>>>>> -DHAVE_ATOMIC_BUILTIN -DHAVE_PTHREAD -fPIC   -Wno-format  
>>>>>>>>> -D__BUILDING_LIBCSOUND -DHAVE_PTHREAD_SPIN_LOCK
>>>>>>>>> -DHAVE_PTHREAD_BARRIER_INIT -DPARCS -DGNU_GETTEXT -DHAVE_DIRENT_H
>>>>>>>>> -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H
>>>>>>>>> -DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H -DHAVE_VALUES_H -o
>>>>>>>>> CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o   -c
>>>>>>>>> /home/sim/Src/csound/Engine/cs_par_dispatch.c
>>>>>>>>> [ 63%] Linking C shared library libcsound64.so
>>>>>>>>> /usr/bin/cmake -E cmake_link_script
>>>>>>>>> CMakeFiles/csound64.dir/link.txt --verbose=1
>>>>>>>>> /usr/bin/cc  -fPIC  -ffast-math -mfpmath=sse -msse2
>>>>>>>>> -fomit-frame-pointer -fvisibility=hidden -DHAVE_ATOMIC_BUILTIN
>>>>>>>>> -DHAVE_PTHREAD  -shared -Wl,-soname,libcsound64.so.6.0 -o
>>>>>>>>> libcsound64.so.6.0 CMakeFiles/csound64.dir/Top/csound.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Engine/auxfd.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Engine/cfgvar.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Engine/corfiles.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Engine/entry1.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Engine/envvar.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Engine/extract.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Engine/fgens.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Engine/insert.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Engine/linevent.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Engine/memalloc.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Engine/memfiles.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Engine/musmon.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Engine/namedins.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Engine/rdscor.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Engine/scsort.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Engine/scxtract.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Engine/sort.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Engine/sread.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Engine/swritestr.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Engine/twarp.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Engine/csound_type_system.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Engine/csound_standard_types.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Engine/csound_data_structures.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Engine/pools.c.o
>>>>>>>>> CMakeFiles/csound64.dir/InOut/libsnd.c.o
>>>>>>>>> CMakeFiles/csound64.dir/InOut/libsnd_u.c.o
>>>>>>>>> CMakeFiles/csound64.dir/InOut/midifile.c.o
>>>>>>>>> CMakeFiles/csound64.dir/InOut/midirecv.c.o
>>>>>>>>> CMakeFiles/csound64.dir/InOut/midisend.c.o
>>>>>>>>> CMakeFiles/csound64.dir/InOut/winascii.c.o
>>>>>>>>> CMakeFiles/csound64.dir/InOut/windin.c.o
>>>>>>>>> CMakeFiles/csound64.dir/InOut/window.c.o
>>>>>>>>> CMakeFiles/csound64.dir/InOut/winEPS.c.o
>>>>>>>>> CMakeFiles/csound64.dir/InOut/circularbuffer.c.o
>>>>>>>>> CMakeFiles/csound64.dir/OOps/aops.c.o
>>>>>>>>> CMakeFiles/csound64.dir/OOps/bus.c.o
>>>>>>>>> CMakeFiles/csound64.dir/OOps/cmath.c.o
>>>>>>>>> CMakeFiles/csound64.dir/OOps/diskin2.c.o
>>>>>>>>> CMakeFiles/csound64.dir/OOps/disprep.c.o
>>>>>>>>> CMakeFiles/csound64.dir/OOps/dumpf.c.o
>>>>>>>>> CMakeFiles/csound64.dir/OOps/fftlib.c.o
>>>>>>>>> CMakeFiles/csound64.dir/OOps/pffft.c.o
>>>>>>>>> CMakeFiles/csound64.dir/OOps/goto_ops.c.o
>>>>>>>>> CMakeFiles/csound64.dir/OOps/midiinterop.c.o
>>>>>>>>> CMakeFiles/csound64.dir/OOps/midiops.c.o
>>>>>>>>> CMakeFiles/csound64.dir/OOps/midiout.c.o
>>>>>>>>> CMakeFiles/csound64.dir/OOps/mxfft.c.o
>>>>>>>>> CMakeFiles/csound64.dir/OOps/oscils.c.o
>>>>>>>>> CMakeFiles/csound64.dir/OOps/pstream.c.o
>>>>>>>>> CMakeFiles/csound64.dir/OOps/pvfileio.c.o
>>>>>>>>> CMakeFiles/csound64.dir/OOps/pvsanal.c.o
>>>>>>>>> CMakeFiles/csound64.dir/OOps/random.c.o
>>>>>>>>> CMakeFiles/csound64.dir/OOps/remote.c.o
>>>>>>>>> CMakeFiles/csound64.dir/OOps/schedule.c.o
>>>>>>>>> CMakeFiles/csound64.dir/OOps/sndinfUG.c.o
>>>>>>>>> CMakeFiles/csound64.dir/OOps/str_ops.c.o
>>>>>>>>> CMakeFiles/csound64.dir/OOps/ugens1.c.o
>>>>>>>>> CMakeFiles/csound64.dir/OOps/ugens2.c.o
>>>>>>>>> CMakeFiles/csound64.dir/OOps/ugens3.c.o
>>>>>>>>> CMakeFiles/csound64.dir/OOps/ugens4.c.o
>>>>>>>>> CMakeFiles/csound64.dir/OOps/ugens5.c.o
>>>>>>>>> CMakeFiles/csound64.dir/OOps/ugens6.c.o
>>>>>>>>> CMakeFiles/csound64.dir/OOps/ugtabs.c.o
>>>>>>>>> CMakeFiles/csound64.dir/OOps/ugrw1.c.o
>>>>>>>>> CMakeFiles/csound64.dir/OOps/ugrw2.c.o
>>>>>>>>> CMakeFiles/csound64.dir/OOps/vdelay.c.o
>>>>>>>>> CMakeFiles/csound64.dir/OOps/compile_ops.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/babo.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/bilbar.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/compress.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/eqfil.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/Vosim.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pinker.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pitch.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pitch0.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/spectra.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ambicode1.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/sfont.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/grain4.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/hrtferX.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/loscilx.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/minmax.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pan2.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/arrays.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/phisem.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/hrtfopcodes.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/vbap.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/vbap1.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/vbap_n.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/vbap_zak.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/vaops.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ugakbari.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/harmon.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pitchtrack.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/partikkel.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/shape.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/tabsum.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/crossfm.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvlock.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/fareyseq.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/modmatrix.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/scoreline.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/modal4.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/physutil.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/physmod.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/mandolin.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/singwave.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/fm4op.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/moog1.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/shaker.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/bowedbar.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/gab/tabmorph.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/gab/hvs.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/gab/sliderTable.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/gab/newgabopc.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ftest.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/hrtfearly.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/hrtfreverb.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/cpumeter.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/gendy.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/tl/sc_noise.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/afilters.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/wpfilters.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Top/argdecode.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Top/csdebug.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Top/cscore_internal.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Top/cscorfns.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Top/csmodule.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Top/getstring.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Top/main.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Top/new_opts.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Top/one_file.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Top/opcode.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Top/threads.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Top/utility.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Top/threadsafe.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Top/server.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ambicode.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/bbcut.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/biquad.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/butter.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/clfilt.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/cross2.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/dam.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/dcblockr.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/filter.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/flanger.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/follow.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/fout.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/freeverb.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ftconv.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ftgen.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/gab/gab.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/gab/vectorial.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/grain.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/locsig.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/lowpassr.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/metro.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/midiops2.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/midiops3.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/newfils.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/nlfilt.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/oscbnk.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pluck.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/paulstretch.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/repluck.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/reverbsc.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/seqtime.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/sndloop.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/sndwarp.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/space.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/spat3d.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/syncgrain.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ugens7.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ugens9.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ugensa.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/uggab.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ugmoss.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ugnorman.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ugsc.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/wave-terrain.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/stdopcod.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/socksend.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/sockrecv.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ifd.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/partials.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/psynth.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvsbasic.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvscent.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvsdemix.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvs_ops.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvsband.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvsbuffer.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvsgendy.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/dsputil.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvadd.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvinterp.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvocext.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvread.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ugens8.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/vpvoc.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvoc.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/mp3in.c.o
>>>>>>>>> CMakeFiles/csound64.dir/InOut/libmpadec/layer1.c.o
>>>>>>>>> CMakeFiles/csound64.dir/InOut/libmpadec/layer2.c.o
>>>>>>>>> CMakeFiles/csound64.dir/InOut/libmpadec/layer3.c.o
>>>>>>>>> CMakeFiles/csound64.dir/InOut/libmpadec/synth.c.o
>>>>>>>>> CMakeFiles/csound64.dir/InOut/libmpadec/tables.c.o
>>>>>>>>> CMakeFiles/csound64.dir/InOut/libmpadec/mpadec.c.o
>>>>>>>>> CMakeFiles/csound64.dir/InOut/libmpadec/mp3dec.c.o
>>>>>>>>> CMakeFiles/csound64.dir/csound_orclex.c.o
>>>>>>>>> CMakeFiles/csound64.dir/csound_orcparse.c.o
>>>>>>>>> CMakeFiles/csound64.dir/csound_prelex.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Engine/csound_orc_semantics.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Engine/csound_orc_expressions.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Engine/csound_orc_optimize.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Engine/csound_orc_compile.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Engine/new_orc_parser.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Engine/symbtab.c.o
>>>>>>>>> CMakeFiles/csound64.dir/csound_prslex.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Engine/cs_new_dispatch.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Engine/cs_par_base.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Engine/cs_par_orc_semantic_analysis.c.o
>>>>>>>>> CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o -lsndfile
>>>>>>>>> -lpthread -lm -ldl -lrt
>>>>>>>>> /usr/bin/cmake -E cmake_symlink_library libcsound64.so.6.0
>>>>>>>>> libcsound64.so.6.0 libcsound64.so
>>>>>>>>> make[2]: Leaving directory '/home/sim/Src/csound/csound6.09'
>>>>>>>>> [ 63%] Built target csound64
>>>>>>>>> make[1]: Leaving directory '/home/sim/Src/csound/csound6.09'
>>>>>>>>> Makefile:160: recipe for target 'all' failed
>>>>>>>>> make: *** [all] Error 2
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> On Mon, Jun 5, 2017 at 1:21 PM, Anders Genell 
>>>>>>>>> wrote:
>>>>>>>>> Well, the build runs fine when I do not try to build the
>>>>>>>>> cuda opcodes.
>>>>>>>>> 
>>>>>>>>> Where do I put CMAKE_MAKEFILE_VERBOSE? As a -D flag for cmake?
>>>>>>>>> 
>>>>>>>>> Regards,
>>>>>>>>> Anders
>>>>>>>>> 
>>>>>>>>> On Mon, Jun 5, 2017 at 1:10 PM, Victor Lazzarini
>>>>>>>>>  wrote:
>>>>>>>>> The line you printed does not indicate a build  error
>>>>>>>>> with the cuda opcodes. Try building with 
>>>>>>>>> CMAKE_MAKEFILE_VERBOSE=1 so we can see what the errors
>>>>>>>>> are.
>>>>>>>>> 
>>>>>>>>> Victor Lazzarini
>>>>>>>>> Dean of Arts, Celtic Studies, and Philosophy
>>>>>>>>> Maynooth University
>>>>>>>>> Ireland
>>>>>>>>> 
>>>>>>>>>> On 5 Jun 2017, at 11:43, Anders Genell
>>>>>>>>>  wrote:
>>>>>>>>>> 
>>>>>>>>>> Dear devs, particularly Prof. Lazzarini!
>>>>>>>>>> 
>>>>>>>>>> I just pulled from git and built on a fairly modern
>>>>>>>>> machine with a Nvidia GTX 780 hour. It has Ubuntu
>>>>>>>>> 17.04 installed, and I have installed the CUDA 8.0
>>>>>>>>> toolkit. The build did not automatically find the CUDA
>>>>>>>>> libs, and when forcing the CUDA opcodes build, I get a
>>>>>>>>> build error. It doesn't really give much information
>>>>>>>>> about the error, just
>>>>>>>>>> 
>>>>>>>>>> [ 62%] Building C object
>>>>>>>>> CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o
>>>>>>>>>> [ 63%] Linking C shared library libcsound64.so
>>>>>>>>>> [ 63%] Built target csound64
>>>>>>>>>> Makefile:160: recipe for target 'all' failed
>>>>>>>>>> make: *** [all] Error 2
>>>>>>>>>> 
>>>>>>>>>> I saw something somewhere that CUDA doesn't support
>>>>>>>>> gcc 5 yet, which might be the culprit. Has anyone else
>>>>>>>>> run into this?
>>>>>>>>>> 
>>>>>>>>>> Regards,
>>>>>>>>>> Anders
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> 
>>>>>> 
>>>> 
>> 

Date2017-06-06 14:41
FromVictor Lazzarini
SubjectRe: [Csnd-dev] CUDA (again)
I followed the warning messages in the cmake build and removed one of the “ “ in the lines it pointed out in the generated files (they will be different for you).
It’s not a great solution. I tried the fix  in the nvidia forum and it did not work here.


========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 6 Jun 2017, at 14:33, Anders Genell  wrote:
> 
> Not bad! Two bugs in one day, and none of them Csound related!
> Could you post on github or somewhere the fix you did for the erroneous makefile? Then I can try the fix for gcc-checking someone posted on the nvidia forum I referred to (if I can figure out what he did). It might cause runtime errors, of course, but maybe the build gets completed...
> 
> Regards,
> Anders
> 
> 
>> 6 juni 2017 kl. 12:06 skrev Victor Lazzarini :
>> 
>> yes, CUDA 8 won’t work here. So there are two problems: (1) cmake creates wrong makefiles (bug in cmake) (2) cuda tools do not work with the latest compilers.
>> ========================
>> Prof. Victor Lazzarini
>> Dean of Arts, Celtic Studies, and Philosophy,
>> Maynooth University,
>> Maynooth, Co Kildare, Ireland
>> Tel: 00 353 7086936
>> Fax: 00 353 1 7086952 
>> 
>>> On 6 Jun 2017, at 08:48, Victor Lazzarini  wrote:
>>> 
>>> I think cuda 8 supports my compiler (clang 8). I could not install it yesterday, but I will try today.
>>> ========================
>>> Prof. Victor Lazzarini
>>> Dean of Arts, Celtic Studies, and Philosophy,
>>> Maynooth University,
>>> Maynooth, Co Kildare, Ireland
>>> Tel: 00 353 7086936
>>> Fax: 00 353 1 7086952 
>>> 
>>>> On 6 Jun 2017, at 07:59, Anders Genell  wrote:
>>>> 
>>>> Yes, that is what I found somewhere too, that CUDA 8.0 doesn't support gcc >= 5. CUDA 9 is not released yet, but there should probably be some beta or release candidate version out soon as features of CUDA 9 have been revealed. 
>>>> 
>>>> Regards,
>>>> Anders
>>>> 
>>>>> 5 juni 2017 kl. 20:49 skrev Victor Lazzarini :
>>>>> 
>>>>> I was able to edit the generated CMake files and it seemed to move from that error. But now I need to upgrade cuda because I have a new compiler that is not
>>>>> compatible with the version I had.
>>>>> ========================
>>>>> Prof. Victor Lazzarini
>>>>> Dean of Arts, Celtic Studies, and Philosophy,
>>>>> Maynooth University,
>>>>> Maynooth, Co Kildare, Ireland
>>>>> Tel: 00 353 7086936
>>>>> Fax: 00 353 1 7086952 
>>>>> 
>>>>>> On 5 Jun 2017, at 19:35, Anders Genell  wrote:
>>>>>> 
>>>>>> Thanks!
>>>>>> I'll hold back for a while and see if you find anything. 
>>>>>> 
>>>>>> Regards,
>>>>>> Anders
>>>>>> 
>>>>>>> 5 juni 2017 kl. 20:32 skrev Victor Lazzarini :
>>>>>>> 
>>>>>>> It’s a CMake problem, apparently. I’ve updated my CMake to 3.8 and now I am having the same problem as you. 
>>>>>>> Not sure whether there is a fix beyond reverting to 3.6, but I’ll see what I find out.
>>>>>>> ========================
>>>>>>> Prof. Victor Lazzarini
>>>>>>> Dean of Arts, Celtic Studies, and Philosophy,
>>>>>>> Maynooth University,
>>>>>>> Maynooth, Co Kildare, Ireland
>>>>>>> Tel: 00 353 7086936
>>>>>>> Fax: 00 353 1 7086952 
>>>>>>> 
>>>>>>>> On 5 Jun 2017, at 19:28, Anders Genell  wrote:
>>>>>>>> 
>>>>>>>> [ 63%] Building NVCC (Device) object Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o
>>>>>>>> cd /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir && /usr/bin/cmake -E make_directory /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//.
>>>>>>>> cd /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir && /usr/bin/cmake -D verbose:BOOL=1 -D build_configuration:STRING= -D generated_file:STRING=/home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o -D generated_cubin_file:STRING=/home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o.cubin.txt -P /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//cudaop3_generated_slidingm.cu.o.cmake
>>>>>>>> CMake Warning (dev) at cudaop3_generated_slidingm.cu.o.cmake:81:
>>>>>>>> Syntax Warning in cmake code at column 75
>>>>>>>> 
>>>>>>>> Argument not separated from preceding token by whitespace.
>>>>>>>> This warning is for project developers.  Use -Wno-dev to suppress it.
>>>>>>>> 
>>>>>>>> -- Removing /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o
>>>>>>>> /usr/bin/cmake -E remove /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o
>>>>>>>> -- Generating dependency file: /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//cudaop3_generated_slidingm.cu.o.NVCC-depend
>>>>>>>> /usr/bin/nvcc -M -D__CUDACC__ /home/sim/Src/csound/Opcodes/cuda/slidingm.cu -o /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//cudaop3_generated_slidingm.cu.o.NVCC-depend -ccbin /usr/bin/cc -m64 -Dcudaop3_EXPORTS -D_CSOUND_RELEASE_ -DCS_DEFAULT_PLUGINDIR= -D/usr/local/lib/csound/plugins-6.0\" -DUSE_LRINT -DLINUX -DPIPES -DNO_FLTK_THREADS -D_GNU_SOURCE -DHAVE_SOCKETS -DHAVE_STRTOK_R -DHAVE_STRTOD_L\" -Xcompiler ,\"-ffast-math\",\"-mfpmath=sse\",\"-msse2\",\"-fomit-frame-pointer\",\"-fvisibility=hidden\",\"-DHAVE_ATOMIC_BUILTIN\",\"-fopenmp\",\"-fPIC\",\"-g\" -arch=sm_20 -use_fast_math -DNVCC -I/usr/include -I/home/sim/Src/csound/./H -I/home/sim/Src/csound/./include -I/home/sim/Src/csound/./Engine -I/home/sim/Src/csound/. -I/home/sim/Src/csound/csound6.09 -I/home/sim/Src/csound/csound6.09/include -I/usr/include/python2.7 -I/home/sim/Src/csound/include -I/usr/local/include
>>>>>>>> nvcc fatal   : Stray '"' character
>>>>>>>> CMake Error at cudaop3_generated_slidingm.cu.o.cmake:222 (message):
>>>>>>>> Error generating
>>>>>>>> /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o
>>>>>>>> 
>>>>>>>> 
>>>>>>>> Opcodes/cuda/CMakeFiles/cudaop3.dir/build.make:63: recipe for target 'Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o' failed
>>>>>>>> make[2]: *** [Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o] Error 1
>>>>>>>> make[2]: Leaving directory '/home/sim/Src/csound/csound6.09'
>>>>>>>> CMakeFiles/Makefile2:1656: recipe for target 'Opcodes/cuda/CMakeFiles/cudaop3.dir/all' failed
>>>>>>>> make[1]: *** [Opcodes/cuda/CMakeFiles/cudaop3.dir/all] Error 2
>>>>>>>> make[1]: Leaving directory '/home/sim/Src/csound/csound6.09'
>>>>>>>> Makefile:160: recipe for target 'all' failed
>>>>>>>> make: *** [all] Error 2
>>>>>>>> 
>>>>>>>> 
>>>>>>>>> 5 juni 2017 kl. 20:13 skrev Victor Lazzarini :
>>>>>>>>> 
>>>>>>>>> can you do a make clean, then just make ?
>>>>>>>>> 
>>>>>>>>> I want to see what happened in the compilation of the .o file.
>>>>>>>>> ========================
>>>>>>>>> Prof. Victor Lazzarini
>>>>>>>>> Dean of Arts, Celtic Studies, and Philosophy,
>>>>>>>>> Maynooth University,
>>>>>>>>> Maynooth, Co Kildare, Ireland
>>>>>>>>> Tel: 00 353 7086936
>>>>>>>>> Fax: 00 353 1 7086952 
>>>>>>>>> 
>>>>>>>>>> On 5 Jun 2017, at 15:15, Anders Genell  wrote:
>>>>>>>>>> 
>>>>>>>>>> Just using "make" without -j6 shows a bit more info, and it now does seem to be cuda related...
>>>>>>>>>> 
>>>>>>>>>> [ 63%] Building NVCC (Device) object Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o
>>>>>>>>>> CMake Warning (dev) at cudaop3_generated_slidingm.cu.o.cmake:81:
>>>>>>>>>> Syntax Warning in cmake code at column 75
>>>>>>>>>> 
>>>>>>>>>> Argument not separated from preceding token by whitespace.
>>>>>>>>>> This warning is for project developers.  Use -Wno-dev to suppress it.
>>>>>>>>>> 
>>>>>>>>>> nvcc fatal   : Stray '"' character
>>>>>>>>>> CMake Error at cudaop3_generated_slidingm.cu.o.cmake:222 (message):
>>>>>>>>>> Error generating
>>>>>>>>>> /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> Opcodes/cuda/CMakeFiles/cudaop3.dir/build.make:63: recipe for target 'Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o' failed
>>>>>>>>>> make[2]: *** [Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o] Error 1
>>>>>>>>>> CMakeFiles/Makefile2:1656: recipe for target 'Opcodes/cuda/CMakeFiles/cudaop3.dir/all' failed
>>>>>>>>>> make[1]: *** [Opcodes/cuda/CMakeFiles/cudaop3.dir/all] Error 2
>>>>>>>>>> Makefile:160: recipe for target 'all' failed
>>>>>>>>>> make: *** [all] Error 2
>>>>>>>>>> 
>>>>>>>>>> On Mon, Jun 5, 2017 at 3:20 PM, jpff  wrote:
>>>>>>>>>> It looks to me tat the error is earlier if building with -j6 o te ie
>>>>>>>>>> 
>>>>>>>>>> Tese messagesare OK and suggest aa broken .o file
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> On Mon, 5 Jun 2017, Victor Lazzarini wrote:
>>>>>>>>>> 
>>>>>>>>>> Are you building with make -j 6 ? I can't see where it is failing. If you are,
>>>>>>>>>> try just 'make'
>>>>>>>>>> 
>>>>>>>>>> Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy
>>>>>>>>>> Maynooth University
>>>>>>>>>> Ireland
>>>>>>>>>> 
>>>>>>>>>> On 5 Jun 2017, at 12:41, Anders Genell  wrote:
>>>>>>>>>> 
>>>>>>>>>> Ok, got the verbosity up:
>>>>>>>>>> 
>>>>>>>>>> [ 62%] Building C object
>>>>>>>>>> CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o
>>>>>>>>>> /usr/bin/cc 
>>>>>>>>>> -DCS_DEFAULT_PLUGINDIR=\"/usr/local/lib/csound/plugins64-6.0\"
>>>>>>>>>> -DHAVE_SOCKETS -DHAVE_STRTOD_L -DHAVE_STRTOK_R -DLINUX
>>>>>>>>>> -DNO_FLTK_THREADS -DPIPES -DUSE_LRINT -D_CSOUND_RELEASE_
>>>>>>>>>> -D_GNU_SOURCE -Dcsound64_EXPORTS -I/home/sim/Src/csound/./H
>>>>>>>>>> -I/home/sim/Src/csound/./include -I/home/sim/Src/csound/./Engine
>>>>>>>>>> -I/home/sim/Src/csound/. -I/home/sim/Src/csound/csound6.09
>>>>>>>>>> -I/home/sim/Src/csound/csound6.09/include  -ffast-math
>>>>>>>>>> -mfpmath=sse -msse2 -fomit-frame-pointer -fvisibility=hidden
>>>>>>>>>> -DHAVE_ATOMIC_BUILTIN -DHAVE_PTHREAD -fPIC   -Wno-format  
>>>>>>>>>> -D__BUILDING_LIBCSOUND -DHAVE_PTHREAD_SPIN_LOCK
>>>>>>>>>> -DHAVE_PTHREAD_BARRIER_INIT -DPARCS -DGNU_GETTEXT -DHAVE_DIRENT_H
>>>>>>>>>> -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H
>>>>>>>>>> -DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H -DHAVE_VALUES_H -o
>>>>>>>>>> CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o   -c
>>>>>>>>>> /home/sim/Src/csound/Engine/cs_par_dispatch.c
>>>>>>>>>> [ 63%] Linking C shared library libcsound64.so
>>>>>>>>>> /usr/bin/cmake -E cmake_link_script
>>>>>>>>>> CMakeFiles/csound64.dir/link.txt --verbose=1
>>>>>>>>>> /usr/bin/cc  -fPIC  -ffast-math -mfpmath=sse -msse2
>>>>>>>>>> -fomit-frame-pointer -fvisibility=hidden -DHAVE_ATOMIC_BUILTIN
>>>>>>>>>> -DHAVE_PTHREAD  -shared -Wl,-soname,libcsound64.so.6.0 -o
>>>>>>>>>> libcsound64.so.6.0 CMakeFiles/csound64.dir/Top/csound.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Engine/auxfd.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Engine/cfgvar.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Engine/corfiles.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Engine/entry1.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Engine/envvar.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Engine/extract.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Engine/fgens.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Engine/insert.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Engine/linevent.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Engine/memalloc.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Engine/memfiles.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Engine/musmon.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Engine/namedins.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Engine/rdscor.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Engine/scsort.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Engine/scxtract.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Engine/sort.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Engine/sread.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Engine/swritestr.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Engine/twarp.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Engine/csound_type_system.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Engine/csound_standard_types.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Engine/csound_data_structures.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Engine/pools.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/InOut/libsnd.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/InOut/libsnd_u.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/InOut/midifile.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/InOut/midirecv.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/InOut/midisend.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/InOut/winascii.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/InOut/windin.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/InOut/window.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/InOut/winEPS.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/InOut/circularbuffer.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/OOps/aops.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/OOps/bus.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/OOps/cmath.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/OOps/diskin2.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/OOps/disprep.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/OOps/dumpf.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/OOps/fftlib.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/OOps/pffft.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/OOps/goto_ops.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/OOps/midiinterop.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/OOps/midiops.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/OOps/midiout.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/OOps/mxfft.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/OOps/oscils.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/OOps/pstream.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/OOps/pvfileio.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/OOps/pvsanal.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/OOps/random.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/OOps/remote.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/OOps/schedule.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/OOps/sndinfUG.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/OOps/str_ops.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/OOps/ugens1.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/OOps/ugens2.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/OOps/ugens3.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/OOps/ugens4.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/OOps/ugens5.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/OOps/ugens6.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/OOps/ugtabs.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/OOps/ugrw1.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/OOps/ugrw2.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/OOps/vdelay.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/OOps/compile_ops.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/babo.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/bilbar.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/compress.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/eqfil.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/Vosim.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pinker.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pitch.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pitch0.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/spectra.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ambicode1.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/sfont.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/grain4.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/hrtferX.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/loscilx.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/minmax.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pan2.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/arrays.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/phisem.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/hrtfopcodes.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/vbap.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/vbap1.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/vbap_n.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/vbap_zak.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/vaops.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ugakbari.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/harmon.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pitchtrack.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/partikkel.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/shape.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/tabsum.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/crossfm.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvlock.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/fareyseq.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/modmatrix.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/scoreline.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/modal4.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/physutil.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/physmod.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/mandolin.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/singwave.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/fm4op.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/moog1.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/shaker.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/bowedbar.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/gab/tabmorph.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/gab/hvs.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/gab/sliderTable.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/gab/newgabopc.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ftest.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/hrtfearly.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/hrtfreverb.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/cpumeter.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/gendy.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/tl/sc_noise.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/afilters.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/wpfilters.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Top/argdecode.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Top/csdebug.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Top/cscore_internal.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Top/cscorfns.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Top/csmodule.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Top/getstring.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Top/main.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Top/new_opts.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Top/one_file.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Top/opcode.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Top/threads.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Top/utility.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Top/threadsafe.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Top/server.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ambicode.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/bbcut.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/biquad.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/butter.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/clfilt.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/cross2.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/dam.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/dcblockr.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/filter.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/flanger.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/follow.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/fout.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/freeverb.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ftconv.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ftgen.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/gab/gab.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/gab/vectorial.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/grain.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/locsig.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/lowpassr.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/metro.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/midiops2.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/midiops3.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/newfils.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/nlfilt.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/oscbnk.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pluck.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/paulstretch.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/repluck.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/reverbsc.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/seqtime.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/sndloop.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/sndwarp.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/space.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/spat3d.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/syncgrain.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ugens7.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ugens9.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ugensa.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/uggab.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ugmoss.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ugnorman.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ugsc.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/wave-terrain.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/stdopcod.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/socksend.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/sockrecv.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ifd.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/partials.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/psynth.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvsbasic.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvscent.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvsdemix.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvs_ops.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvsband.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvsbuffer.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvsgendy.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/dsputil.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvadd.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvinterp.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvocext.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvread.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ugens8.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/vpvoc.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvoc.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/mp3in.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/InOut/libmpadec/layer1.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/InOut/libmpadec/layer2.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/InOut/libmpadec/layer3.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/InOut/libmpadec/synth.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/InOut/libmpadec/tables.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/InOut/libmpadec/mpadec.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/InOut/libmpadec/mp3dec.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/csound_orclex.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/csound_orcparse.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/csound_prelex.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Engine/csound_orc_semantics.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Engine/csound_orc_expressions.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Engine/csound_orc_optimize.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Engine/csound_orc_compile.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Engine/new_orc_parser.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Engine/symbtab.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/csound_prslex.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Engine/cs_new_dispatch.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Engine/cs_par_base.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Engine/cs_par_orc_semantic_analysis.c.o
>>>>>>>>>> CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o -lsndfile
>>>>>>>>>> -lpthread -lm -ldl -lrt
>>>>>>>>>> /usr/bin/cmake -E cmake_symlink_library libcsound64.so.6.0
>>>>>>>>>> libcsound64.so.6.0 libcsound64.so
>>>>>>>>>> make[2]: Leaving directory '/home/sim/Src/csound/csound6.09'
>>>>>>>>>> [ 63%] Built target csound64
>>>>>>>>>> make[1]: Leaving directory '/home/sim/Src/csound/csound6.09'
>>>>>>>>>> Makefile:160: recipe for target 'all' failed
>>>>>>>>>> make: *** [all] Error 2
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> On Mon, Jun 5, 2017 at 1:21 PM, Anders Genell 
>>>>>>>>>> wrote:
>>>>>>>>>> Well, the build runs fine when I do not try to build the
>>>>>>>>>> cuda opcodes.
>>>>>>>>>> 
>>>>>>>>>> Where do I put CMAKE_MAKEFILE_VERBOSE? As a -D flag for cmake?
>>>>>>>>>> 
>>>>>>>>>> Regards,
>>>>>>>>>> Anders
>>>>>>>>>> 
>>>>>>>>>> On Mon, Jun 5, 2017 at 1:10 PM, Victor Lazzarini
>>>>>>>>>>  wrote:
>>>>>>>>>> The line you printed does not indicate a build  error
>>>>>>>>>> with the cuda opcodes. Try building with 
>>>>>>>>>> CMAKE_MAKEFILE_VERBOSE=1 so we can see what the errors
>>>>>>>>>> are.
>>>>>>>>>> 
>>>>>>>>>> Victor Lazzarini
>>>>>>>>>> Dean of Arts, Celtic Studies, and Philosophy
>>>>>>>>>> Maynooth University
>>>>>>>>>> Ireland
>>>>>>>>>> 
>>>>>>>>>>> On 5 Jun 2017, at 11:43, Anders Genell
>>>>>>>>>>  wrote:
>>>>>>>>>>> 
>>>>>>>>>>> Dear devs, particularly Prof. Lazzarini!
>>>>>>>>>>> 
>>>>>>>>>>> I just pulled from git and built on a fairly modern
>>>>>>>>>> machine with a Nvidia GTX 780 hour. It has Ubuntu
>>>>>>>>>> 17.04 installed, and I have installed the CUDA 8.0
>>>>>>>>>> toolkit. The build did not automatically find the CUDA
>>>>>>>>>> libs, and when forcing the CUDA opcodes build, I get a
>>>>>>>>>> build error. It doesn't really give much information
>>>>>>>>>> about the error, just
>>>>>>>>>>> 
>>>>>>>>>>> [ 62%] Building C object
>>>>>>>>>> CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o
>>>>>>>>>>> [ 63%] Linking C shared library libcsound64.so
>>>>>>>>>>> [ 63%] Built target csound64
>>>>>>>>>>> Makefile:160: recipe for target 'all' failed
>>>>>>>>>>> make: *** [all] Error 2
>>>>>>>>>>> 
>>>>>>>>>>> I saw something somewhere that CUDA doesn't support
>>>>>>>>>> gcc 5 yet, which might be the culprit. Has anyone else
>>>>>>>>>> run into this?
>>>>>>>>>>> 
>>>>>>>>>>> Regards,
>>>>>>>>>>> Anders
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>> 
>>>>> 
>>>

Date2017-06-06 15:15
FromAnders Genell
SubjectRe: [Csnd-dev] CUDA (again)
Ah, ok. I'll give it a go and see if I get somewhere...

Regards,
Anders

> 6 juni 2017 kl. 15:41 skrev Victor Lazzarini :
> 
> I followed the warning messages in the cmake build and removed one of the “ “ in the lines it pointed out in the generated files (they will be different for you).
> It’s not a great solution. I tried the fix  in the nvidia forum and it did not work here.
> 
> 
> ========================
> Prof. Victor Lazzarini
> Dean of Arts, Celtic Studies, and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952 
> 
>> On 6 Jun 2017, at 14:33, Anders Genell  wrote:
>> 
>> Not bad! Two bugs in one day, and none of them Csound related!
>> Could you post on github or somewhere the fix you did for the erroneous makefile? Then I can try the fix for gcc-checking someone posted on the nvidia forum I referred to (if I can figure out what he did). It might cause runtime errors, of course, but maybe the build gets completed...
>> 
>> Regards,
>> Anders
>> 
>> 
>>> 6 juni 2017 kl. 12:06 skrev Victor Lazzarini :
>>> 
>>> yes, CUDA 8 won’t work here. So there are two problems: (1) cmake creates wrong makefiles (bug in cmake) (2) cuda tools do not work with the latest compilers.
>>> ========================
>>> Prof. Victor Lazzarini
>>> Dean of Arts, Celtic Studies, and Philosophy,
>>> Maynooth University,
>>> Maynooth, Co Kildare, Ireland
>>> Tel: 00 353 7086936
>>> Fax: 00 353 1 7086952 
>>> 
>>>> On 6 Jun 2017, at 08:48, Victor Lazzarini  wrote:
>>>> 
>>>> I think cuda 8 supports my compiler (clang 8). I could not install it yesterday, but I will try today.
>>>> ========================
>>>> Prof. Victor Lazzarini
>>>> Dean of Arts, Celtic Studies, and Philosophy,
>>>> Maynooth University,
>>>> Maynooth, Co Kildare, Ireland
>>>> Tel: 00 353 7086936
>>>> Fax: 00 353 1 7086952 
>>>> 
>>>>> On 6 Jun 2017, at 07:59, Anders Genell  wrote:
>>>>> 
>>>>> Yes, that is what I found somewhere too, that CUDA 8.0 doesn't support gcc >= 5. CUDA 9 is not released yet, but there should probably be some beta or release candidate version out soon as features of CUDA 9 have been revealed. 
>>>>> 
>>>>> Regards,
>>>>> Anders
>>>>> 
>>>>>> 5 juni 2017 kl. 20:49 skrev Victor Lazzarini :
>>>>>> 
>>>>>> I was able to edit the generated CMake files and it seemed to move from that error. But now I need to upgrade cuda because I have a new compiler that is not
>>>>>> compatible with the version I had.
>>>>>> ========================
>>>>>> Prof. Victor Lazzarini
>>>>>> Dean of Arts, Celtic Studies, and Philosophy,
>>>>>> Maynooth University,
>>>>>> Maynooth, Co Kildare, Ireland
>>>>>> Tel: 00 353 7086936
>>>>>> Fax: 00 353 1 7086952 
>>>>>> 
>>>>>>> On 5 Jun 2017, at 19:35, Anders Genell  wrote:
>>>>>>> 
>>>>>>> Thanks!
>>>>>>> I'll hold back for a while and see if you find anything. 
>>>>>>> 
>>>>>>> Regards,
>>>>>>> Anders
>>>>>>> 
>>>>>>>> 5 juni 2017 kl. 20:32 skrev Victor Lazzarini :
>>>>>>>> 
>>>>>>>> It’s a CMake problem, apparently. I’ve updated my CMake to 3.8 and now I am having the same problem as you. 
>>>>>>>> Not sure whether there is a fix beyond reverting to 3.6, but I’ll see what I find out.
>>>>>>>> ========================
>>>>>>>> Prof. Victor Lazzarini
>>>>>>>> Dean of Arts, Celtic Studies, and Philosophy,
>>>>>>>> Maynooth University,
>>>>>>>> Maynooth, Co Kildare, Ireland
>>>>>>>> Tel: 00 353 7086936
>>>>>>>> Fax: 00 353 1 7086952 
>>>>>>>> 
>>>>>>>>> On 5 Jun 2017, at 19:28, Anders Genell  wrote:
>>>>>>>>> 
>>>>>>>>> [ 63%] Building NVCC (Device) object Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o
>>>>>>>>> cd /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir && /usr/bin/cmake -E make_directory /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//.
>>>>>>>>> cd /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir && /usr/bin/cmake -D verbose:BOOL=1 -D build_configuration:STRING= -D generated_file:STRING=/home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o -D generated_cubin_file:STRING=/home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o.cubin.txt -P /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//cudaop3_generated_slidingm.cu.o.cmake
>>>>>>>>> CMake Warning (dev) at cudaop3_generated_slidingm.cu.o.cmake:81:
>>>>>>>>> Syntax Warning in cmake code at column 75
>>>>>>>>> 
>>>>>>>>> Argument not separated from preceding token by whitespace.
>>>>>>>>> This warning is for project developers.  Use -Wno-dev to suppress it.
>>>>>>>>> 
>>>>>>>>> -- Removing /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o
>>>>>>>>> /usr/bin/cmake -E remove /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o
>>>>>>>>> -- Generating dependency file: /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//cudaop3_generated_slidingm.cu.o.NVCC-depend
>>>>>>>>> /usr/bin/nvcc -M -D__CUDACC__ /home/sim/Src/csound/Opcodes/cuda/slidingm.cu -o /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//cudaop3_generated_slidingm.cu.o.NVCC-depend -ccbin /usr/bin/cc -m64 -Dcudaop3_EXPORTS -D_CSOUND_RELEASE_ -DCS_DEFAULT_PLUGINDIR= -D/usr/local/lib/csound/plugins-6.0\" -DUSE_LRINT -DLINUX -DPIPES -DNO_FLTK_THREADS -D_GNU_SOURCE -DHAVE_SOCKETS -DHAVE_STRTOK_R -DHAVE_STRTOD_L\" -Xcompiler ,\"-ffast-math\",\"-mfpmath=sse\",\"-msse2\",\"-fomit-frame-pointer\",\"-fvisibility=hidden\",\"-DHAVE_ATOMIC_BUILTIN\",\"-fopenmp\",\"-fPIC\",\"-g\" -arch=sm_20 -use_fast_math -DNVCC -I/usr/include -I/home/sim/Src/csound/./H -I/home/sim/Src/csound/./include -I/home/sim/Src/csound/./Engine -I/home/sim/Src/csound/. -I/home/sim/Src/csound/csound6.09 -I/home/sim/Src/csound/csound6.09/include -I/usr/include/python2.7 -I/home/sim/Src/csound/include -I/usr/local/include
>>>>>>>>> nvcc fatal   : Stray '"' character
>>>>>>>>> CMake Error at cudaop3_generated_slidingm.cu.o.cmake:222 (message):
>>>>>>>>> Error generating
>>>>>>>>> /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> Opcodes/cuda/CMakeFiles/cudaop3.dir/build.make:63: recipe for target 'Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o' failed
>>>>>>>>> make[2]: *** [Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o] Error 1
>>>>>>>>> make[2]: Leaving directory '/home/sim/Src/csound/csound6.09'
>>>>>>>>> CMakeFiles/Makefile2:1656: recipe for target 'Opcodes/cuda/CMakeFiles/cudaop3.dir/all' failed
>>>>>>>>> make[1]: *** [Opcodes/cuda/CMakeFiles/cudaop3.dir/all] Error 2
>>>>>>>>> make[1]: Leaving directory '/home/sim/Src/csound/csound6.09'
>>>>>>>>> Makefile:160: recipe for target 'all' failed
>>>>>>>>> make: *** [all] Error 2
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>>> 5 juni 2017 kl. 20:13 skrev Victor Lazzarini :
>>>>>>>>>> 
>>>>>>>>>> can you do a make clean, then just make ?
>>>>>>>>>> 
>>>>>>>>>> I want to see what happened in the compilation of the .o file.
>>>>>>>>>> ========================
>>>>>>>>>> Prof. Victor Lazzarini
>>>>>>>>>> Dean of Arts, Celtic Studies, and Philosophy,
>>>>>>>>>> Maynooth University,
>>>>>>>>>> Maynooth, Co Kildare, Ireland
>>>>>>>>>> Tel: 00 353 7086936
>>>>>>>>>> Fax: 00 353 1 7086952 
>>>>>>>>>> 
>>>>>>>>>>> On 5 Jun 2017, at 15:15, Anders Genell  wrote:
>>>>>>>>>>> 
>>>>>>>>>>> Just using "make" without -j6 shows a bit more info, and it now does seem to be cuda related...
>>>>>>>>>>> 
>>>>>>>>>>> [ 63%] Building NVCC (Device) object Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o
>>>>>>>>>>> CMake Warning (dev) at cudaop3_generated_slidingm.cu.o.cmake:81:
>>>>>>>>>>> Syntax Warning in cmake code at column 75
>>>>>>>>>>> 
>>>>>>>>>>> Argument not separated from preceding token by whitespace.
>>>>>>>>>>> This warning is for project developers.  Use -Wno-dev to suppress it.
>>>>>>>>>>> 
>>>>>>>>>>> nvcc fatal   : Stray '"' character
>>>>>>>>>>> CMake Error at cudaop3_generated_slidingm.cu.o.cmake:222 (message):
>>>>>>>>>>> Error generating
>>>>>>>>>>> /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> Opcodes/cuda/CMakeFiles/cudaop3.dir/build.make:63: recipe for target 'Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o' failed
>>>>>>>>>>> make[2]: *** [Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o] Error 1
>>>>>>>>>>> CMakeFiles/Makefile2:1656: recipe for target 'Opcodes/cuda/CMakeFiles/cudaop3.dir/all' failed
>>>>>>>>>>> make[1]: *** [Opcodes/cuda/CMakeFiles/cudaop3.dir/all] Error 2
>>>>>>>>>>> Makefile:160: recipe for target 'all' failed
>>>>>>>>>>> make: *** [all] Error 2
>>>>>>>>>>> 
>>>>>>>>>>> On Mon, Jun 5, 2017 at 3:20 PM, jpff  wrote:
>>>>>>>>>>> It looks to me tat the error is earlier if building with -j6 o te ie
>>>>>>>>>>> 
>>>>>>>>>>> Tese messagesare OK and suggest aa broken .o file
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> On Mon, 5 Jun 2017, Victor Lazzarini wrote:
>>>>>>>>>>> 
>>>>>>>>>>> Are you building with make -j 6 ? I can't see where it is failing. If you are,
>>>>>>>>>>> try just 'make'
>>>>>>>>>>> 
>>>>>>>>>>> Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy
>>>>>>>>>>> Maynooth University
>>>>>>>>>>> Ireland
>>>>>>>>>>> 
>>>>>>>>>>> On 5 Jun 2017, at 12:41, Anders Genell  wrote:
>>>>>>>>>>> 
>>>>>>>>>>> Ok, got the verbosity up:
>>>>>>>>>>> 
>>>>>>>>>>> [ 62%] Building C object
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o
>>>>>>>>>>> /usr/bin/cc 
>>>>>>>>>>> -DCS_DEFAULT_PLUGINDIR=\"/usr/local/lib/csound/plugins64-6.0\"
>>>>>>>>>>> -DHAVE_SOCKETS -DHAVE_STRTOD_L -DHAVE_STRTOK_R -DLINUX
>>>>>>>>>>> -DNO_FLTK_THREADS -DPIPES -DUSE_LRINT -D_CSOUND_RELEASE_
>>>>>>>>>>> -D_GNU_SOURCE -Dcsound64_EXPORTS -I/home/sim/Src/csound/./H
>>>>>>>>>>> -I/home/sim/Src/csound/./include -I/home/sim/Src/csound/./Engine
>>>>>>>>>>> -I/home/sim/Src/csound/. -I/home/sim/Src/csound/csound6.09
>>>>>>>>>>> -I/home/sim/Src/csound/csound6.09/include  -ffast-math
>>>>>>>>>>> -mfpmath=sse -msse2 -fomit-frame-pointer -fvisibility=hidden
>>>>>>>>>>> -DHAVE_ATOMIC_BUILTIN -DHAVE_PTHREAD -fPIC   -Wno-format  
>>>>>>>>>>> -D__BUILDING_LIBCSOUND -DHAVE_PTHREAD_SPIN_LOCK
>>>>>>>>>>> -DHAVE_PTHREAD_BARRIER_INIT -DPARCS -DGNU_GETTEXT -DHAVE_DIRENT_H
>>>>>>>>>>> -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H
>>>>>>>>>>> -DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H -DHAVE_VALUES_H -o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o   -c
>>>>>>>>>>> /home/sim/Src/csound/Engine/cs_par_dispatch.c
>>>>>>>>>>> [ 63%] Linking C shared library libcsound64.so
>>>>>>>>>>> /usr/bin/cmake -E cmake_link_script
>>>>>>>>>>> CMakeFiles/csound64.dir/link.txt --verbose=1
>>>>>>>>>>> /usr/bin/cc  -fPIC  -ffast-math -mfpmath=sse -msse2
>>>>>>>>>>> -fomit-frame-pointer -fvisibility=hidden -DHAVE_ATOMIC_BUILTIN
>>>>>>>>>>> -DHAVE_PTHREAD  -shared -Wl,-soname,libcsound64.so.6.0 -o
>>>>>>>>>>> libcsound64.so.6.0 CMakeFiles/csound64.dir/Top/csound.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/auxfd.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/cfgvar.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/corfiles.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/entry1.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/envvar.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/extract.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/fgens.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/insert.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/linevent.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/memalloc.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/memfiles.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/musmon.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/namedins.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/rdscor.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/scsort.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/scxtract.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/sort.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/sread.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/swritestr.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/twarp.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/csound_type_system.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/csound_standard_types.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/csound_data_structures.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/pools.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/libsnd.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/libsnd_u.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/midifile.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/midirecv.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/midisend.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/winascii.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/windin.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/window.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/winEPS.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/circularbuffer.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/aops.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/bus.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/cmath.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/diskin2.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/disprep.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/dumpf.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/fftlib.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/pffft.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/goto_ops.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/midiinterop.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/midiops.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/midiout.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/mxfft.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/oscils.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/pstream.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/pvfileio.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/pvsanal.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/random.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/remote.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/schedule.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/sndinfUG.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/str_ops.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/ugens1.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/ugens2.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/ugens3.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/ugens4.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/ugens5.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/ugens6.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/ugtabs.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/ugrw1.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/ugrw2.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/vdelay.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/compile_ops.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/babo.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/bilbar.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/compress.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/eqfil.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/Vosim.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pinker.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pitch.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pitch0.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/spectra.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ambicode1.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/sfont.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/grain4.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/hrtferX.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/loscilx.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/minmax.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pan2.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/arrays.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/phisem.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/hrtfopcodes.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/vbap.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/vbap1.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/vbap_n.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/vbap_zak.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/vaops.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ugakbari.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/harmon.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pitchtrack.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/partikkel.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/shape.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/tabsum.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/crossfm.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvlock.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/fareyseq.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/modmatrix.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/scoreline.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/modal4.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/physutil.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/physmod.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/mandolin.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/singwave.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/fm4op.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/moog1.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/shaker.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/bowedbar.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/gab/tabmorph.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/gab/hvs.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/gab/sliderTable.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/gab/newgabopc.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ftest.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/hrtfearly.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/hrtfreverb.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/cpumeter.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/gendy.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/tl/sc_noise.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/afilters.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/wpfilters.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Top/argdecode.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Top/csdebug.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Top/cscore_internal.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Top/cscorfns.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Top/csmodule.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Top/getstring.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Top/main.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Top/new_opts.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Top/one_file.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Top/opcode.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Top/threads.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Top/utility.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Top/threadsafe.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Top/server.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ambicode.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/bbcut.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/biquad.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/butter.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/clfilt.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/cross2.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/dam.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/dcblockr.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/filter.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/flanger.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/follow.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/fout.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/freeverb.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ftconv.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ftgen.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/gab/gab.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/gab/vectorial.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/grain.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/locsig.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/lowpassr.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/metro.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/midiops2.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/midiops3.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/newfils.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/nlfilt.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/oscbnk.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pluck.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/paulstretch.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/repluck.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/reverbsc.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/seqtime.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/sndloop.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/sndwarp.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/space.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/spat3d.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/syncgrain.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ugens7.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ugens9.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ugensa.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/uggab.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ugmoss.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ugnorman.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ugsc.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/wave-terrain.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/stdopcod.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/socksend.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/sockrecv.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ifd.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/partials.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/psynth.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvsbasic.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvscent.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvsdemix.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvs_ops.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvsband.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvsbuffer.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvsgendy.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/dsputil.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvadd.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvinterp.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvocext.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvread.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ugens8.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/vpvoc.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvoc.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/mp3in.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/libmpadec/layer1.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/libmpadec/layer2.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/libmpadec/layer3.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/libmpadec/synth.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/libmpadec/tables.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/libmpadec/mpadec.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/libmpadec/mp3dec.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/csound_orclex.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/csound_orcparse.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/csound_prelex.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/csound_orc_semantics.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/csound_orc_expressions.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/csound_orc_optimize.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/csound_orc_compile.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/new_orc_parser.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/symbtab.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/csound_prslex.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/cs_new_dispatch.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/cs_par_base.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/cs_par_orc_semantic_analysis.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o -lsndfile
>>>>>>>>>>> -lpthread -lm -ldl -lrt
>>>>>>>>>>> /usr/bin/cmake -E cmake_symlink_library libcsound64.so.6.0
>>>>>>>>>>> libcsound64.so.6.0 libcsound64.so
>>>>>>>>>>> make[2]: Leaving directory '/home/sim/Src/csound/csound6.09'
>>>>>>>>>>> [ 63%] Built target csound64
>>>>>>>>>>> make[1]: Leaving directory '/home/sim/Src/csound/csound6.09'
>>>>>>>>>>> Makefile:160: recipe for target 'all' failed
>>>>>>>>>>> make: *** [all] Error 2
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> On Mon, Jun 5, 2017 at 1:21 PM, Anders Genell 
>>>>>>>>>>> wrote:
>>>>>>>>>>> Well, the build runs fine when I do not try to build the
>>>>>>>>>>> cuda opcodes.
>>>>>>>>>>> 
>>>>>>>>>>> Where do I put CMAKE_MAKEFILE_VERBOSE? As a -D flag for cmake?
>>>>>>>>>>> 
>>>>>>>>>>> Regards,
>>>>>>>>>>> Anders
>>>>>>>>>>> 
>>>>>>>>>>> On Mon, Jun 5, 2017 at 1:10 PM, Victor Lazzarini
>>>>>>>>>>>  wrote:
>>>>>>>>>>> The line you printed does not indicate a build  error
>>>>>>>>>>> with the cuda opcodes. Try building with 
>>>>>>>>>>> CMAKE_MAKEFILE_VERBOSE=1 so we can see what the errors
>>>>>>>>>>> are.
>>>>>>>>>>> 
>>>>>>>>>>> Victor Lazzarini
>>>>>>>>>>> Dean of Arts, Celtic Studies, and Philosophy
>>>>>>>>>>> Maynooth University
>>>>>>>>>>> Ireland
>>>>>>>>>>> 
>>>>>>>>>>>> On 5 Jun 2017, at 11:43, Anders Genell
>>>>>>>>>>>  wrote:
>>>>>>>>>>>> 
>>>>>>>>>>>> Dear devs, particularly Prof. Lazzarini!
>>>>>>>>>>>> 
>>>>>>>>>>>> I just pulled from git and built on a fairly modern
>>>>>>>>>>> machine with a Nvidia GTX 780 hour. It has Ubuntu
>>>>>>>>>>> 17.04 installed, and I have installed the CUDA 8.0
>>>>>>>>>>> toolkit. The build did not automatically find the CUDA
>>>>>>>>>>> libs, and when forcing the CUDA opcodes build, I get a
>>>>>>>>>>> build error. It doesn't really give much information
>>>>>>>>>>> about the error, just
>>>>>>>>>>>> 
>>>>>>>>>>>> [ 62%] Building C object
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o
>>>>>>>>>>>> [ 63%] Linking C shared library libcsound64.so
>>>>>>>>>>>> [ 63%] Built target csound64
>>>>>>>>>>>> Makefile:160: recipe for target 'all' failed
>>>>>>>>>>>> make: *** [all] Error 2
>>>>>>>>>>>> 
>>>>>>>>>>>> I saw something somewhere that CUDA doesn't support
>>>>>>>>>>> gcc 5 yet, which might be the culprit. Has anyone else
>>>>>>>>>>> run into this?
>>>>>>>>>>>> 
>>>>>>>>>>>> Regards,
>>>>>>>>>>>> Anders
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>> 
>>>>>> 
>>>> 
>>> 

Date2017-06-07 08:51
FromAnders Genell
SubjectRe: [Csnd-dev] CUDA (again)
The compilation error points to line 222 of cudop3_generated_slidingm.cu.o.cmake:

221: if(CUDA_result)
222:   message(FATAL_ERROR "Error generating ${generated_file}")
223: endif()

What would a stray '"' mean for that line?
Regards,
Anders


On Tue, Jun 6, 2017 at 4:15 PM, Anders Genell <anders.genell@gmail.com> wrote:
Ah, ok. I'll give it a go and see if I get somewhere...

Regards,
Anders

> 6 juni 2017 kl. 15:41 skrev Victor Lazzarini <Victor.Lazzarini@NUIM.IE>:
>
> I followed the warning messages in the cmake build and removed one of the “ “ in the lines it pointed out in the generated files (they will be different for you).
> It’s not a great solution. I tried the fix  in the nvidia forum and it did not work here.
>
>
> ========================
> Prof. Victor Lazzarini
> Dean of Arts, Celtic Studies, and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952
>
>> On 6 Jun 2017, at 14:33, Anders Genell <anders.genell@gmail.com> wrote:
>>
>> Not bad! Two bugs in one day, and none of them Csound related!
>> Could you post on github or somewhere the fix you did for the erroneous makefile? Then I can try the fix for gcc-checking someone posted on the nvidia forum I referred to (if I can figure out what he did). It might cause runtime errors, of course, but maybe the build gets completed...
>>
>> Regards,
>> Anders
>>
>>
>>> 6 juni 2017 kl. 12:06 skrev Victor Lazzarini <Victor.Lazzarini@NUIM.IE>:
>>>
>>> yes, CUDA 8 won’t work here. So there are two problems: (1) cmake creates wrong makefiles (bug in cmake) (2) cuda tools do not work with the latest compilers.
>>> ========================
>>> Prof. Victor Lazzarini
>>> Dean of Arts, Celtic Studies, and Philosophy,
>>> Maynooth University,
>>> Maynooth, Co Kildare, Ireland
>>> Tel: 00 353 7086936
>>> Fax: 00 353 1 7086952
>>>
>>>> On 6 Jun 2017, at 08:48, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
>>>>
>>>> I think cuda 8 supports my compiler (clang 8). I could not install it yesterday, but I will try today.
>>>> ========================
>>>> Prof. Victor Lazzarini
>>>> Dean of Arts, Celtic Studies, and Philosophy,
>>>> Maynooth University,
>>>> Maynooth, Co Kildare, Ireland
>>>> Tel: 00 353 7086936
>>>> Fax: 00 353 1 7086952
>>>>
>>>>> On 6 Jun 2017, at 07:59, Anders Genell <anders.genell@GMAIL.COM> wrote:
>>>>>
>>>>> Yes, that is what I found somewhere too, that CUDA 8.0 doesn't support gcc >= 5. CUDA 9 is not released yet, but there should probably be some beta or release candidate version out soon as features of CUDA 9 have been revealed.
>>>>>
>>>>> Regards,
>>>>> Anders
>>>>>
>>>>>> 5 juni 2017 kl. 20:49 skrev Victor Lazzarini <Victor.Lazzarini@NUIM.IE>:
>>>>>>
>>>>>> I was able to edit the generated CMake files and it seemed to move from that error. But now I need to upgrade cuda because I have a new compiler that is not
>>>>>> compatible with the version I had.
>>>>>> ========================
>>>>>> Prof. Victor Lazzarini
>>>>>> Dean of Arts, Celtic Studies, and Philosophy,
>>>>>> Maynooth University,
>>>>>> Maynooth, Co Kildare, Ireland
>>>>>> Tel: 00 353 7086936
>>>>>> Fax: 00 353 1 7086952
>>>>>>
>>>>>>> On 5 Jun 2017, at 19:35, Anders Genell <anders.genell@GMAIL.COM> wrote:
>>>>>>>
>>>>>>> Thanks!
>>>>>>> I'll hold back for a while and see if you find anything.
>>>>>>>
>>>>>>> Regards,
>>>>>>> Anders
>>>>>>>
>>>>>>>> 5 juni 2017 kl. 20:32 skrev Victor Lazzarini <Victor.Lazzarini@NUIM.IE>:
>>>>>>>>
>>>>>>>> It’s a CMake problem, apparently. I’ve updated my CMake to 3.8 and now I am having the same problem as you.
>>>>>>>> Not sure whether there is a fix beyond reverting to 3.6, but I’ll see what I find out.
>>>>>>>> ========================
>>>>>>>> Prof. Victor Lazzarini
>>>>>>>> Dean of Arts, Celtic Studies, and Philosophy,
>>>>>>>> Maynooth University,
>>>>>>>> Maynooth, Co Kildare, Ireland
>>>>>>>> Tel: 00 353 7086936
>>>>>>>> Fax: 00 353 1 7086952
>>>>>>>>
>>>>>>>>> On 5 Jun 2017, at 19:28, Anders Genell <anders.genell@GMAIL.COM> wrote:
>>>>>>>>>
>>>>>>>>> [ 63%] Building NVCC (Device) object Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o
>>>>>>>>> cd /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir && /usr/bin/cmake -E make_directory /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//.
>>>>>>>>> cd /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir && /usr/bin/cmake -D verbose:BOOL=1 -D build_configuration:STRING= -D generated_file:STRING=/home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o -D generated_cubin_file:STRING=/home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o.cubin.txt -P /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//cudaop3_generated_slidingm.cu.o.cmake
>>>>>>>>> CMake Warning (dev) at cudaop3_generated_slidingm.cu.o.cmake:81:
>>>>>>>>> Syntax Warning in cmake code at column 75
>>>>>>>>>
>>>>>>>>> Argument not separated from preceding token by whitespace.
>>>>>>>>> This warning is for project developers.  Use -Wno-dev to suppress it.
>>>>>>>>>
>>>>>>>>> -- Removing /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o
>>>>>>>>> /usr/bin/cmake -E remove /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o
>>>>>>>>> -- Generating dependency file: /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//cudaop3_generated_slidingm.cu.o.NVCC-depend
>>>>>>>>> /usr/bin/nvcc -M -D__CUDACC__ /home/sim/Src/csound/Opcodes/cuda/slidingm.cu -o /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//cudaop3_generated_slidingm.cu.o.NVCC-depend -ccbin /usr/bin/cc -m64 -Dcudaop3_EXPORTS -D_CSOUND_RELEASE_ -DCS_DEFAULT_PLUGINDIR= -D/usr/local/lib/csound/plugins-6.0\" -DUSE_LRINT -DLINUX -DPIPES -DNO_FLTK_THREADS -D_GNU_SOURCE -DHAVE_SOCKETS -DHAVE_STRTOK_R -DHAVE_STRTOD_L\" -Xcompiler ,\"-ffast-math\",\"-mfpmath=sse\",\"-msse2\",\"-fomit-frame-pointer\",\"-fvisibility=hidden\",\"-DHAVE_ATOMIC_BUILTIN\",\"-fopenmp\",\"-fPIC\",\"-g\" -arch=sm_20 -use_fast_math -DNVCC -I/usr/include -I/home/sim/Src/csound/./H -I/home/sim/Src/csound/./include -I/home/sim/Src/csound/./Engine -I/home/sim/Src/csound/. -I/home/sim/Src/csound/csound6.09 -I/home/sim/Src/csound/csound6.09/include -I/usr/include/python2.7 -I/home/sim/Src/csound/include -I/usr/local/include
>>>>>>>>> nvcc fatal   : Stray '"' character
>>>>>>>>> CMake Error at cudaop3_generated_slidingm.cu.o.cmake:222 (message):
>>>>>>>>> Error generating
>>>>>>>>> /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Opcodes/cuda/CMakeFiles/cudaop3.dir/build.make:63: recipe for target 'Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o' failed
>>>>>>>>> make[2]: *** [Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o] Error 1
>>>>>>>>> make[2]: Leaving directory '/home/sim/Src/csound/csound6.09'
>>>>>>>>> CMakeFiles/Makefile2:1656: recipe for target 'Opcodes/cuda/CMakeFiles/cudaop3.dir/all' failed
>>>>>>>>> make[1]: *** [Opcodes/cuda/CMakeFiles/cudaop3.dir/all] Error 2
>>>>>>>>> make[1]: Leaving directory '/home/sim/Src/csound/csound6.09'
>>>>>>>>> Makefile:160: recipe for target 'all' failed
>>>>>>>>> make: *** [all] Error 2
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>> 5 juni 2017 kl. 20:13 skrev Victor Lazzarini <Victor.Lazzarini@NUIM.IE>:
>>>>>>>>>>
>>>>>>>>>> can you do a make clean, then just make ?
>>>>>>>>>>
>>>>>>>>>> I want to see what happened in the compilation of the .o file.
>>>>>>>>>> ========================
>>>>>>>>>> Prof. Victor Lazzarini
>>>>>>>>>> Dean of Arts, Celtic Studies, and Philosophy,
>>>>>>>>>> Maynooth University,
>>>>>>>>>> Maynooth, Co Kildare, Ireland
>>>>>>>>>> Tel: 00 353 7086936
>>>>>>>>>> Fax: 00 353 1 7086952
>>>>>>>>>>
>>>>>>>>>>> On 5 Jun 2017, at 15:15, Anders Genell <anders.genell@gmail.com> wrote:
>>>>>>>>>>>
>>>>>>>>>>> Just using "make" without -j6 shows a bit more info, and it now does seem to be cuda related...
>>>>>>>>>>>
>>>>>>>>>>> [ 63%] Building NVCC (Device) object Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o
>>>>>>>>>>> CMake Warning (dev) at cudaop3_generated_slidingm.cu.o.cmake:81:
>>>>>>>>>>> Syntax Warning in cmake code at column 75
>>>>>>>>>>>
>>>>>>>>>>> Argument not separated from preceding token by whitespace.
>>>>>>>>>>> This warning is for project developers.  Use -Wno-dev to suppress it.
>>>>>>>>>>>
>>>>>>>>>>> nvcc fatal   : Stray '"' character
>>>>>>>>>>> CMake Error at cudaop3_generated_slidingm.cu.o.cmake:222 (message):
>>>>>>>>>>> Error generating
>>>>>>>>>>> /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Opcodes/cuda/CMakeFiles/cudaop3.dir/build.make:63: recipe for target 'Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o' failed
>>>>>>>>>>> make[2]: *** [Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o] Error 1
>>>>>>>>>>> CMakeFiles/Makefile2:1656: recipe for target 'Opcodes/cuda/CMakeFiles/cudaop3.dir/all' failed
>>>>>>>>>>> make[1]: *** [Opcodes/cuda/CMakeFiles/cudaop3.dir/all] Error 2
>>>>>>>>>>> Makefile:160: recipe for target 'all' failed
>>>>>>>>>>> make: *** [all] Error 2
>>>>>>>>>>>
>>>>>>>>>>> On Mon, Jun 5, 2017 at 3:20 PM, jpff <jpff@codemist.co.uk> wrote:
>>>>>>>>>>> It looks to me tat the error is earlier if building with -j6 o te ie
>>>>>>>>>>>
>>>>>>>>>>> Tese messagesare OK and suggest aa broken .o file
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On Mon, 5 Jun 2017, Victor Lazzarini wrote:
>>>>>>>>>>>
>>>>>>>>>>> Are you building with make -j 6 ? I can't see where it is failing. If you are,
>>>>>>>>>>> try just 'make'
>>>>>>>>>>>
>>>>>>>>>>> Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy
>>>>>>>>>>> Maynooth University
>>>>>>>>>>> Ireland
>>>>>>>>>>>
>>>>>>>>>>> On 5 Jun 2017, at 12:41, Anders Genell <anders.genell@GMAIL.COM> wrote:
>>>>>>>>>>>
>>>>>>>>>>> Ok, got the verbosity up:
>>>>>>>>>>>
>>>>>>>>>>> [ 62%] Building C object
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o
>>>>>>>>>>> /usr/bin/cc
>>>>>>>>>>> -DCS_DEFAULT_PLUGINDIR=\"/usr/local/lib/csound/plugins64-6.0\"
>>>>>>>>>>> -DHAVE_SOCKETS -DHAVE_STRTOD_L -DHAVE_STRTOK_R -DLINUX
>>>>>>>>>>> -DNO_FLTK_THREADS -DPIPES -DUSE_LRINT -D_CSOUND_RELEASE_
>>>>>>>>>>> -D_GNU_SOURCE -Dcsound64_EXPORTS -I/home/sim/Src/csound/./H
>>>>>>>>>>> -I/home/sim/Src/csound/./include -I/home/sim/Src/csound/./Engine
>>>>>>>>>>> -I/home/sim/Src/csound/. -I/home/sim/Src/csound/csound6.09
>>>>>>>>>>> -I/home/sim/Src/csound/csound6.09/include  -ffast-math
>>>>>>>>>>> -mfpmath=sse -msse2 -fomit-frame-pointer -fvisibility=hidden
>>>>>>>>>>> -DHAVE_ATOMIC_BUILTIN -DHAVE_PTHREAD -fPIC   -Wno-format
>>>>>>>>>>> -D__BUILDING_LIBCSOUND -DHAVE_PTHREAD_SPIN_LOCK
>>>>>>>>>>> -DHAVE_PTHREAD_BARRIER_INIT -DPARCS -DGNU_GETTEXT -DHAVE_DIRENT_H
>>>>>>>>>>> -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H
>>>>>>>>>>> -DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H -DHAVE_VALUES_H -o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o   -c
>>>>>>>>>>> /home/sim/Src/csound/Engine/cs_par_dispatch.c
>>>>>>>>>>> [ 63%] Linking C shared library libcsound64.so
>>>>>>>>>>> /usr/bin/cmake -E cmake_link_script
>>>>>>>>>>> CMakeFiles/csound64.dir/link.txt --verbose=1
>>>>>>>>>>> /usr/bin/cc  -fPIC  -ffast-math -mfpmath=sse -msse2
>>>>>>>>>>> -fomit-frame-pointer -fvisibility=hidden -DHAVE_ATOMIC_BUILTIN
>>>>>>>>>>> -DHAVE_PTHREAD  -shared -Wl,-soname,libcsound64.so.6.0 -o
>>>>>>>>>>> libcsound64.so.6.0 CMakeFiles/csound64.dir/Top/csound.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/auxfd.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/cfgvar.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/corfiles.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/entry1.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/envvar.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/extract.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/fgens.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/insert.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/linevent.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/memalloc.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/memfiles.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/musmon.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/namedins.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/rdscor.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/scsort.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/scxtract.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/sort.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/sread.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/swritestr.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/twarp.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/csound_type_system.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/csound_standard_types.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/csound_data_structures.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/pools.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/libsnd.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/libsnd_u.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/midifile.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/midirecv.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/midisend.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/winascii.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/windin.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/window.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/winEPS.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/circularbuffer.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/aops.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/bus.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/cmath.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/diskin2.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/disprep.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/dumpf.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/fftlib.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/pffft.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/goto_ops.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/midiinterop.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/midiops.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/midiout.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/mxfft.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/oscils.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/pstream.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/pvfileio.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/pvsanal.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/random.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/remote.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/schedule.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/sndinfUG.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/str_ops.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/ugens1.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/ugens2.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/ugens3.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/ugens4.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/ugens5.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/ugens6.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/ugtabs.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/ugrw1.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/ugrw2.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/vdelay.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/compile_ops.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/babo.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/bilbar.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/compress.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/eqfil.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/Vosim.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pinker.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pitch.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pitch0.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/spectra.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ambicode1.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/sfont.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/grain4.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/hrtferX.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/loscilx.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/minmax.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pan2.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/arrays.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/phisem.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/hrtfopcodes.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/vbap.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/vbap1.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/vbap_n.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/vbap_zak.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/vaops.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ugakbari.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/harmon.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pitchtrack.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/partikkel.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/shape.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/tabsum.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/crossfm.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvlock.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/fareyseq.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/modmatrix.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/scoreline.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/modal4.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/physutil.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/physmod.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/mandolin.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/singwave.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/fm4op.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/moog1.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/shaker.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/bowedbar.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/gab/tabmorph.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/gab/hvs.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/gab/sliderTable.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/gab/newgabopc.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ftest.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/hrtfearly.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/hrtfreverb.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/cpumeter.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/gendy.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/tl/sc_noise.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/afilters.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/wpfilters.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Top/argdecode.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Top/csdebug.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Top/cscore_internal.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Top/cscorfns.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Top/csmodule.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Top/getstring.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Top/main.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Top/new_opts.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Top/one_file.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Top/opcode.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Top/threads.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Top/utility.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Top/threadsafe.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Top/server.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ambicode.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/bbcut.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/biquad.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/butter.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/clfilt.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/cross2.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/dam.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/dcblockr.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/filter.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/flanger.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/follow.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/fout.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/freeverb.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ftconv.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ftgen.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/gab/gab.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/gab/vectorial.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/grain.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/locsig.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/lowpassr.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/metro.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/midiops2.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/midiops3.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/newfils.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/nlfilt.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/oscbnk.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pluck.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/paulstretch.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/repluck.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/reverbsc.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/seqtime.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/sndloop.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/sndwarp.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/space.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/spat3d.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/syncgrain.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ugens7.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ugens9.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ugensa.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/uggab.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ugmoss.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ugnorman.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ugsc.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/wave-terrain.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/stdopcod.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/socksend.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/sockrecv.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ifd.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/partials.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/psynth.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvsbasic.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvscent.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvsdemix.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvs_ops.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvsband.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvsbuffer.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvsgendy.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/dsputil.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvadd.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvinterp.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvocext.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvread.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ugens8.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/vpvoc.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvoc.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/mp3in.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/libmpadec/layer1.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/libmpadec/layer2.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/libmpadec/layer3.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/libmpadec/synth.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/libmpadec/tables.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/libmpadec/mpadec.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/libmpadec/mp3dec.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/csound_orclex.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/csound_orcparse.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/csound_prelex.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/csound_orc_semantics.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/csound_orc_expressions.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/csound_orc_optimize.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/csound_orc_compile.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/new_orc_parser.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/symbtab.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/csound_prslex.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/cs_new_dispatch.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/cs_par_base.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/cs_par_orc_semantic_analysis.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o -lsndfile
>>>>>>>>>>> -lpthread -lm -ldl -lrt
>>>>>>>>>>> /usr/bin/cmake -E cmake_symlink_library libcsound64.so.6.0
>>>>>>>>>>> libcsound64.so.6.0 libcsound64.so
>>>>>>>>>>> make[2]: Leaving directory '/home/sim/Src/csound/csound6.09'
>>>>>>>>>>> [ 63%] Built target csound64
>>>>>>>>>>> make[1]: Leaving directory '/home/sim/Src/csound/csound6.09'
>>>>>>>>>>> Makefile:160: recipe for target 'all' failed
>>>>>>>>>>> make: *** [all] Error 2
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On Mon, Jun 5, 2017 at 1:21 PM, Anders Genell <anders.genell@gmail.com>
>>>>>>>>>>> wrote:
>>>>>>>>>>> Well, the build runs fine when I do not try to build the
>>>>>>>>>>> cuda opcodes.
>>>>>>>>>>>
>>>>>>>>>>> Where do I put CMAKE_MAKEFILE_VERBOSE? As a -D flag for cmake?
>>>>>>>>>>>
>>>>>>>>>>> Regards,
>>>>>>>>>>> Anders
>>>>>>>>>>>
>>>>>>>>>>> On Mon, Jun 5, 2017 at 1:10 PM, Victor Lazzarini
>>>>>>>>>>> <Victor.Lazzarini@nuim.ie> wrote:
>>>>>>>>>>> The line you printed does not indicate a build  error
>>>>>>>>>>> with the cuda opcodes. Try building with
>>>>>>>>>>> CMAKE_MAKEFILE_VERBOSE=1 so we can see what the errors
>>>>>>>>>>> are.
>>>>>>>>>>>
>>>>>>>>>>> Victor Lazzarini
>>>>>>>>>>> Dean of Arts, Celtic Studies, and Philosophy
>>>>>>>>>>> Maynooth University
>>>>>>>>>>> Ireland
>>>>>>>>>>>
>>>>>>>>>>>> On 5 Jun 2017, at 11:43, Anders Genell
>>>>>>>>>>> <anders.genell@GMAIL.COM> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>> Dear devs, particularly Prof. Lazzarini!
>>>>>>>>>>>>
>>>>>>>>>>>> I just pulled from git and built on a fairly modern
>>>>>>>>>>> machine with a Nvidia GTX 780 hour. It has Ubuntu
>>>>>>>>>>> 17.04 installed, and I have installed the CUDA 8.0
>>>>>>>>>>> toolkit. The build did not automatically find the CUDA
>>>>>>>>>>> libs, and when forcing the CUDA opcodes build, I get a
>>>>>>>>>>> build error. It doesn't really give much information
>>>>>>>>>>> about the error, just
>>>>>>>>>>>>
>>>>>>>>>>>> [ 62%] Building C object
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o
>>>>>>>>>>>> [ 63%] Linking C shared library libcsound64.so
>>>>>>>>>>>> [ 63%] Built target csound64
>>>>>>>>>>>> Makefile:160: recipe for target 'all' failed
>>>>>>>>>>>> make: *** [all] Error 2
>>>>>>>>>>>>
>>>>>>>>>>>> I saw something somewhere that CUDA doesn't support
>>>>>>>>>>> gcc 5 yet, which might be the culprit. Has anyone else
>>>>>>>>>>> run into this?
>>>>>>>>>>>>
>>>>>>>>>>>> Regards,
>>>>>>>>>>>> Anders
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>
>>>>>>
>>>>
>>>
>


Date2017-06-07 09:22
FromAnders Genell
SubjectRe: [Csnd-dev] CUDA (again)
Never mind - I downloaded cmake 3.6.3 and it gets past that error, but slams into the nvcc-gcc version error, which I cannot get past. I'll wait for a cuda 9 release candidate.

Regards,
Anders

On Wed, Jun 7, 2017 at 9:51 AM, Anders Genell <anders.genell@gmail.com> wrote:
The compilation error points to line 222 of cudop3_generated_slidingm.cu.o.cmake:

221: if(CUDA_result)
222:   message(FATAL_ERROR "Error generating ${generated_file}")
223: endif()

What would a stray '"' mean for that line?
Regards,
Anders


On Tue, Jun 6, 2017 at 4:15 PM, Anders Genell <anders.genell@gmail.com> wrote:
Ah, ok. I'll give it a go and see if I get somewhere...

Regards,
Anders

> 6 juni 2017 kl. 15:41 skrev Victor Lazzarini <Victor.Lazzarini@NUIM.IE>:
>
> I followed the warning messages in the cmake build and removed one of the “ “ in the lines it pointed out in the generated files (they will be different for you).
> It’s not a great solution. I tried the fix  in the nvidia forum and it did not work here.
>
>
> ========================
> Prof. Victor Lazzarini
> Dean of Arts, Celtic Studies, and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952
>
>> On 6 Jun 2017, at 14:33, Anders Genell <anders.genell@gmail.com> wrote:
>>
>> Not bad! Two bugs in one day, and none of them Csound related!
>> Could you post on github or somewhere the fix you did for the erroneous makefile? Then I can try the fix for gcc-checking someone posted on the nvidia forum I referred to (if I can figure out what he did). It might cause runtime errors, of course, but maybe the build gets completed...
>>
>> Regards,
>> Anders
>>
>>
>>> 6 juni 2017 kl. 12:06 skrev Victor Lazzarini <Victor.Lazzarini@NUIM.IE>:
>>>
>>> yes, CUDA 8 won’t work here. So there are two problems: (1) cmake creates wrong makefiles (bug in cmake) (2) cuda tools do not work with the latest compilers.
>>> ========================
>>> Prof. Victor Lazzarini
>>> Dean of Arts, Celtic Studies, and Philosophy,
>>> Maynooth University,
>>> Maynooth, Co Kildare, Ireland
>>> Tel: 00 353 7086936
>>> Fax: 00 353 1 7086952
>>>
>>>> On 6 Jun 2017, at 08:48, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
>>>>
>>>> I think cuda 8 supports my compiler (clang 8). I could not install it yesterday, but I will try today.
>>>> ========================
>>>> Prof. Victor Lazzarini
>>>> Dean of Arts, Celtic Studies, and Philosophy,
>>>> Maynooth University,
>>>> Maynooth, Co Kildare, Ireland
>>>> Tel: 00 353 7086936
>>>> Fax: 00 353 1 7086952
>>>>
>>>>> On 6 Jun 2017, at 07:59, Anders Genell <anders.genell@GMAIL.COM> wrote:
>>>>>
>>>>> Yes, that is what I found somewhere too, that CUDA 8.0 doesn't support gcc >= 5. CUDA 9 is not released yet, but there should probably be some beta or release candidate version out soon as features of CUDA 9 have been revealed.
>>>>>
>>>>> Regards,
>>>>> Anders
>>>>>
>>>>>> 5 juni 2017 kl. 20:49 skrev Victor Lazzarini <Victor.Lazzarini@NUIM.IE>:
>>>>>>
>>>>>> I was able to edit the generated CMake files and it seemed to move from that error. But now I need to upgrade cuda because I have a new compiler that is not
>>>>>> compatible with the version I had.
>>>>>> ========================
>>>>>> Prof. Victor Lazzarini
>>>>>> Dean of Arts, Celtic Studies, and Philosophy,
>>>>>> Maynooth University,
>>>>>> Maynooth, Co Kildare, Ireland
>>>>>> Tel: 00 353 7086936
>>>>>> Fax: 00 353 1 7086952
>>>>>>
>>>>>>> On 5 Jun 2017, at 19:35, Anders Genell <anders.genell@GMAIL.COM> wrote:
>>>>>>>
>>>>>>> Thanks!
>>>>>>> I'll hold back for a while and see if you find anything.
>>>>>>>
>>>>>>> Regards,
>>>>>>> Anders
>>>>>>>
>>>>>>>> 5 juni 2017 kl. 20:32 skrev Victor Lazzarini <Victor.Lazzarini@NUIM.IE>:
>>>>>>>>
>>>>>>>> It’s a CMake problem, apparently. I’ve updated my CMake to 3.8 and now I am having the same problem as you.
>>>>>>>> Not sure whether there is a fix beyond reverting to 3.6, but I’ll see what I find out.
>>>>>>>> ========================
>>>>>>>> Prof. Victor Lazzarini
>>>>>>>> Dean of Arts, Celtic Studies, and Philosophy,
>>>>>>>> Maynooth University,
>>>>>>>> Maynooth, Co Kildare, Ireland
>>>>>>>> Tel: 00 353 7086936
>>>>>>>> Fax: 00 353 1 7086952
>>>>>>>>
>>>>>>>>> On 5 Jun 2017, at 19:28, Anders Genell <anders.genell@GMAIL.COM> wrote:
>>>>>>>>>
>>>>>>>>> [ 63%] Building NVCC (Device) object Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o
>>>>>>>>> cd /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir && /usr/bin/cmake -E make_directory /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//.
>>>>>>>>> cd /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir && /usr/bin/cmake -D verbose:BOOL=1 -D build_configuration:STRING= -D generated_file:STRING=/home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o -D generated_cubin_file:STRING=/home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o.cubin.txt -P /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//cudaop3_generated_slidingm.cu.o.cmake
>>>>>>>>> CMake Warning (dev) at cudaop3_generated_slidingm.cu.o.cmake:81:
>>>>>>>>> Syntax Warning in cmake code at column 75
>>>>>>>>>
>>>>>>>>> Argument not separated from preceding token by whitespace.
>>>>>>>>> This warning is for project developers.  Use -Wno-dev to suppress it.
>>>>>>>>>
>>>>>>>>> -- Removing /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o
>>>>>>>>> /usr/bin/cmake -E remove /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o
>>>>>>>>> -- Generating dependency file: /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//cudaop3_generated_slidingm.cu.o.NVCC-depend
>>>>>>>>> /usr/bin/nvcc -M -D__CUDACC__ /home/sim/Src/csound/Opcodes/cuda/slidingm.cu -o /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//cudaop3_generated_slidingm.cu.o.NVCC-depend -ccbin /usr/bin/cc -m64 -Dcudaop3_EXPORTS -D_CSOUND_RELEASE_ -DCS_DEFAULT_PLUGINDIR= -D/usr/local/lib/csound/plugins-6.0\" -DUSE_LRINT -DLINUX -DPIPES -DNO_FLTK_THREADS -D_GNU_SOURCE -DHAVE_SOCKETS -DHAVE_STRTOK_R -DHAVE_STRTOD_L\" -Xcompiler ,\"-ffast-math\",\"-mfpmath=sse\",\"-msse2\",\"-fomit-frame-pointer\",\"-fvisibility=hidden\",\"-DHAVE_ATOMIC_BUILTIN\",\"-fopenmp\",\"-fPIC\",\"-g\" -arch=sm_20 -use_fast_math -DNVCC -I/usr/include -I/home/sim/Src/csound/./H -I/home/sim/Src/csound/./include -I/home/sim/Src/csound/./Engine -I/home/sim/Src/csound/. -I/home/sim/Src/csound/csound6.09 -I/home/sim/Src/csound/csound6.09/include -I/usr/include/python2.7 -I/home/sim/Src/csound/include -I/usr/local/include
>>>>>>>>> nvcc fatal   : Stray '"' character
>>>>>>>>> CMake Error at cudaop3_generated_slidingm.cu.o.cmake:222 (message):
>>>>>>>>> Error generating
>>>>>>>>> /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Opcodes/cuda/CMakeFiles/cudaop3.dir/build.make:63: recipe for target 'Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o' failed
>>>>>>>>> make[2]: *** [Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o] Error 1
>>>>>>>>> make[2]: Leaving directory '/home/sim/Src/csound/csound6.09'
>>>>>>>>> CMakeFiles/Makefile2:1656: recipe for target 'Opcodes/cuda/CMakeFiles/cudaop3.dir/all' failed
>>>>>>>>> make[1]: *** [Opcodes/cuda/CMakeFiles/cudaop3.dir/all] Error 2
>>>>>>>>> make[1]: Leaving directory '/home/sim/Src/csound/csound6.09'
>>>>>>>>> Makefile:160: recipe for target 'all' failed
>>>>>>>>> make: *** [all] Error 2
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>> 5 juni 2017 kl. 20:13 skrev Victor Lazzarini <Victor.Lazzarini@NUIM.IE>:
>>>>>>>>>>
>>>>>>>>>> can you do a make clean, then just make ?
>>>>>>>>>>
>>>>>>>>>> I want to see what happened in the compilation of the .o file.
>>>>>>>>>> ========================
>>>>>>>>>> Prof. Victor Lazzarini
>>>>>>>>>> Dean of Arts, Celtic Studies, and Philosophy,
>>>>>>>>>> Maynooth University,
>>>>>>>>>> Maynooth, Co Kildare, Ireland
>>>>>>>>>> Tel: 00 353 7086936
>>>>>>>>>> Fax: 00 353 1 7086952
>>>>>>>>>>
>>>>>>>>>>> On 5 Jun 2017, at 15:15, Anders Genell <anders.genell@gmail.com> wrote:
>>>>>>>>>>>
>>>>>>>>>>> Just using "make" without -j6 shows a bit more info, and it now does seem to be cuda related...
>>>>>>>>>>>
>>>>>>>>>>> [ 63%] Building NVCC (Device) object Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o
>>>>>>>>>>> CMake Warning (dev) at cudaop3_generated_slidingm.cu.o.cmake:81:
>>>>>>>>>>> Syntax Warning in cmake code at column 75
>>>>>>>>>>>
>>>>>>>>>>> Argument not separated from preceding token by whitespace.
>>>>>>>>>>> This warning is for project developers.  Use -Wno-dev to suppress it.
>>>>>>>>>>>
>>>>>>>>>>> nvcc fatal   : Stray '"' character
>>>>>>>>>>> CMake Error at cudaop3_generated_slidingm.cu.o.cmake:222 (message):
>>>>>>>>>>> Error generating
>>>>>>>>>>> /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Opcodes/cuda/CMakeFiles/cudaop3.dir/build.make:63: recipe for target 'Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o' failed
>>>>>>>>>>> make[2]: *** [Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o] Error 1
>>>>>>>>>>> CMakeFiles/Makefile2:1656: recipe for target 'Opcodes/cuda/CMakeFiles/cudaop3.dir/all' failed
>>>>>>>>>>> make[1]: *** [Opcodes/cuda/CMakeFiles/cudaop3.dir/all] Error 2
>>>>>>>>>>> Makefile:160: recipe for target 'all' failed
>>>>>>>>>>> make: *** [all] Error 2
>>>>>>>>>>>
>>>>>>>>>>> On Mon, Jun 5, 2017 at 3:20 PM, jpff <jpff@codemist.co.uk> wrote:
>>>>>>>>>>> It looks to me tat the error is earlier if building with -j6 o te ie
>>>>>>>>>>>
>>>>>>>>>>> Tese messagesare OK and suggest aa broken .o file
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On Mon, 5 Jun 2017, Victor Lazzarini wrote:
>>>>>>>>>>>
>>>>>>>>>>> Are you building with make -j 6 ? I can't see where it is failing. If you are,
>>>>>>>>>>> try just 'make'
>>>>>>>>>>>
>>>>>>>>>>> Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy
>>>>>>>>>>> Maynooth University
>>>>>>>>>>> Ireland
>>>>>>>>>>>
>>>>>>>>>>> On 5 Jun 2017, at 12:41, Anders Genell <anders.genell@GMAIL.COM> wrote:
>>>>>>>>>>>
>>>>>>>>>>> Ok, got the verbosity up:
>>>>>>>>>>>
>>>>>>>>>>> [ 62%] Building C object
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o
>>>>>>>>>>> /usr/bin/cc
>>>>>>>>>>> -DCS_DEFAULT_PLUGINDIR=\"/usr/local/lib/csound/plugins64-6.0\"
>>>>>>>>>>> -DHAVE_SOCKETS -DHAVE_STRTOD_L -DHAVE_STRTOK_R -DLINUX
>>>>>>>>>>> -DNO_FLTK_THREADS -DPIPES -DUSE_LRINT -D_CSOUND_RELEASE_
>>>>>>>>>>> -D_GNU_SOURCE -Dcsound64_EXPORTS -I/home/sim/Src/csound/./H
>>>>>>>>>>> -I/home/sim/Src/csound/./include -I/home/sim/Src/csound/./Engine
>>>>>>>>>>> -I/home/sim/Src/csound/. -I/home/sim/Src/csound/csound6.09
>>>>>>>>>>> -I/home/sim/Src/csound/csound6.09/include  -ffast-math
>>>>>>>>>>> -mfpmath=sse -msse2 -fomit-frame-pointer -fvisibility=hidden
>>>>>>>>>>> -DHAVE_ATOMIC_BUILTIN -DHAVE_PTHREAD -fPIC   -Wno-format
>>>>>>>>>>> -D__BUILDING_LIBCSOUND -DHAVE_PTHREAD_SPIN_LOCK
>>>>>>>>>>> -DHAVE_PTHREAD_BARRIER_INIT -DPARCS -DGNU_GETTEXT -DHAVE_DIRENT_H
>>>>>>>>>>> -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H
>>>>>>>>>>> -DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H -DHAVE_VALUES_H -o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o   -c
>>>>>>>>>>> /home/sim/Src/csound/Engine/cs_par_dispatch.c
>>>>>>>>>>> [ 63%] Linking C shared library libcsound64.so
>>>>>>>>>>> /usr/bin/cmake -E cmake_link_script
>>>>>>>>>>> CMakeFiles/csound64.dir/link.txt --verbose=1
>>>>>>>>>>> /usr/bin/cc  -fPIC  -ffast-math -mfpmath=sse -msse2
>>>>>>>>>>> -fomit-frame-pointer -fvisibility=hidden -DHAVE_ATOMIC_BUILTIN
>>>>>>>>>>> -DHAVE_PTHREAD  -shared -Wl,-soname,libcsound64.so.6.0 -o
>>>>>>>>>>> libcsound64.so.6.0 CMakeFiles/csound64.dir/Top/csound.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/auxfd.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/cfgvar.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/corfiles.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/entry1.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/envvar.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/extract.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/fgens.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/insert.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/linevent.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/memalloc.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/memfiles.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/musmon.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/namedins.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/rdscor.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/scsort.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/scxtract.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/sort.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/sread.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/swritestr.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/twarp.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/csound_type_system.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/csound_standard_types.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/csound_data_structures.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/pools.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/libsnd.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/libsnd_u.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/midifile.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/midirecv.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/midisend.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/winascii.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/windin.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/window.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/winEPS.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/circularbuffer.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/aops.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/bus.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/cmath.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/diskin2.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/disprep.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/dumpf.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/fftlib.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/pffft.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/goto_ops.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/midiinterop.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/midiops.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/midiout.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/mxfft.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/oscils.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/pstream.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/pvfileio.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/pvsanal.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/random.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/remote.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/schedule.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/sndinfUG.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/str_ops.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/ugens1.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/ugens2.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/ugens3.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/ugens4.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/ugens5.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/ugens6.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/ugtabs.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/ugrw1.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/ugrw2.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/vdelay.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/compile_ops.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/babo.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/bilbar.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/compress.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/eqfil.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/Vosim.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pinker.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pitch.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pitch0.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/spectra.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ambicode1.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/sfont.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/grain4.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/hrtferX.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/loscilx.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/minmax.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pan2.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/arrays.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/phisem.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/hrtfopcodes.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/vbap.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/vbap1.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/vbap_n.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/vbap_zak.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/vaops.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ugakbari.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/harmon.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pitchtrack.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/partikkel.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/shape.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/tabsum.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/crossfm.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvlock.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/fareyseq.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/modmatrix.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/scoreline.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/modal4.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/physutil.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/physmod.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/mandolin.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/singwave.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/fm4op.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/moog1.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/shaker.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/bowedbar.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/gab/tabmorph.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/gab/hvs.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/gab/sliderTable.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/gab/newgabopc.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ftest.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/hrtfearly.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/hrtfreverb.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/cpumeter.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/gendy.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/tl/sc_noise.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/afilters.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/wpfilters.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Top/argdecode.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Top/csdebug.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Top/cscore_internal.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Top/cscorfns.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Top/csmodule.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Top/getstring.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Top/main.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Top/new_opts.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Top/one_file.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Top/opcode.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Top/threads.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Top/utility.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Top/threadsafe.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Top/server.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ambicode.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/bbcut.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/biquad.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/butter.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/clfilt.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/cross2.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/dam.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/dcblockr.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/filter.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/flanger.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/follow.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/fout.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/freeverb.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ftconv.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ftgen.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/gab/gab.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/gab/vectorial.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/grain.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/locsig.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/lowpassr.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/metro.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/midiops2.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/midiops3.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/newfils.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/nlfilt.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/oscbnk.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pluck.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/paulstretch.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/repluck.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/reverbsc.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/seqtime.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/sndloop.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/sndwarp.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/space.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/spat3d.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/syncgrain.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ugens7.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ugens9.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ugensa.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/uggab.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ugmoss.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ugnorman.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ugsc.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/wave-terrain.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/stdopcod.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/socksend.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/sockrecv.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ifd.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/partials.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/psynth.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvsbasic.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvscent.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvsdemix.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvs_ops.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvsband.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvsbuffer.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvsgendy.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/dsputil.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvadd.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvinterp.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvocext.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvread.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ugens8.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/vpvoc.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvoc.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/mp3in.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/libmpadec/layer1.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/libmpadec/layer2.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/libmpadec/layer3.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/libmpadec/synth.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/libmpadec/tables.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/libmpadec/mpadec.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/libmpadec/mp3dec.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/csound_orclex.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/csound_orcparse.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/csound_prelex.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/csound_orc_semantics.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/csound_orc_expressions.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/csound_orc_optimize.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/csound_orc_compile.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/new_orc_parser.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/symbtab.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/csound_prslex.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/cs_new_dispatch.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/cs_par_base.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/cs_par_orc_semantic_analysis.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o -lsndfile
>>>>>>>>>>> -lpthread -lm -ldl -lrt
>>>>>>>>>>> /usr/bin/cmake -E cmake_symlink_library libcsound64.so.6.0
>>>>>>>>>>> libcsound64.so.6.0 libcsound64.so
>>>>>>>>>>> make[2]: Leaving directory '/home/sim/Src/csound/csound6.09'
>>>>>>>>>>> [ 63%] Built target csound64
>>>>>>>>>>> make[1]: Leaving directory '/home/sim/Src/csound/csound6.09'
>>>>>>>>>>> Makefile:160: recipe for target 'all' failed
>>>>>>>>>>> make: *** [all] Error 2
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On Mon, Jun 5, 2017 at 1:21 PM, Anders Genell <anders.genell@gmail.com>
>>>>>>>>>>> wrote:
>>>>>>>>>>> Well, the build runs fine when I do not try to build the
>>>>>>>>>>> cuda opcodes.
>>>>>>>>>>>
>>>>>>>>>>> Where do I put CMAKE_MAKEFILE_VERBOSE? As a -D flag for cmake?
>>>>>>>>>>>
>>>>>>>>>>> Regards,
>>>>>>>>>>> Anders
>>>>>>>>>>>
>>>>>>>>>>> On Mon, Jun 5, 2017 at 1:10 PM, Victor Lazzarini
>>>>>>>>>>> <Victor.Lazzarini@nuim.ie> wrote:
>>>>>>>>>>> The line you printed does not indicate a build  error
>>>>>>>>>>> with the cuda opcodes. Try building with
>>>>>>>>>>> CMAKE_MAKEFILE_VERBOSE=1 so we can see what the errors
>>>>>>>>>>> are.
>>>>>>>>>>>
>>>>>>>>>>> Victor Lazzarini
>>>>>>>>>>> Dean of Arts, Celtic Studies, and Philosophy
>>>>>>>>>>> Maynooth University
>>>>>>>>>>> Ireland
>>>>>>>>>>>
>>>>>>>>>>>> On 5 Jun 2017, at 11:43, Anders Genell
>>>>>>>>>>> <anders.genell@GMAIL.COM> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>> Dear devs, particularly Prof. Lazzarini!
>>>>>>>>>>>>
>>>>>>>>>>>> I just pulled from git and built on a fairly modern
>>>>>>>>>>> machine with a Nvidia GTX 780 hour. It has Ubuntu
>>>>>>>>>>> 17.04 installed, and I have installed the CUDA 8.0
>>>>>>>>>>> toolkit. The build did not automatically find the CUDA
>>>>>>>>>>> libs, and when forcing the CUDA opcodes build, I get a
>>>>>>>>>>> build error. It doesn't really give much information
>>>>>>>>>>> about the error, just
>>>>>>>>>>>>
>>>>>>>>>>>> [ 62%] Building C object
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o
>>>>>>>>>>>> [ 63%] Linking C shared library libcsound64.so
>>>>>>>>>>>> [ 63%] Built target csound64
>>>>>>>>>>>> Makefile:160: recipe for target 'all' failed
>>>>>>>>>>>> make: *** [all] Error 2
>>>>>>>>>>>>
>>>>>>>>>>>> I saw something somewhere that CUDA doesn't support
>>>>>>>>>>> gcc 5 yet, which might be the culprit. Has anyone else
>>>>>>>>>>> run into this?
>>>>>>>>>>>>
>>>>>>>>>>>> Regards,
>>>>>>>>>>>> Anders
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>
>>>>>>
>>>>
>>>
>



Date2017-08-15 12:32
FromAnders Genell
SubjectRe: [Csnd-dev] CUDA (again)
Here is a quick followup:

I have installed the CUDA 9.0 rc but have still had no luck building the cuda opcodes.
If anyone would like to test this, I could make the CUDA 9.0 rc deb-file available if you do not want to register an account with NVIDIA to get it.


Regards,
Anders



Ubuntu 17.04 64-bit

Kernel 4.10.0-32-generic #36-Ubuntu SMP Tue Aug 8 12:10:06 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

gcc (Ubuntu 6.3.0-12ubuntu2) 6.3.0 20170406
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2017 NVIDIA Corporation
Built on Mon_Jun_26_16:13:28_CDT_2017
Cuda compilation tools, release 9.0, V9.0.102


[...]
[ 65%] Building NVCC (Device) object Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o
CMake Warning (dev) at cudaop3_generated_slidingm.cu.o.cmake:81:
  Syntax Warning in cmake code at column 75

  Argument not separated from preceding token by whitespace.
This warning is for project developers.  Use -Wno-dev to suppress it.

nvcc fatal   : Stray '"' character
CMake Error at cudaop3_generated_slidingm.cu.o.cmake:222 (message):
  Error generating
  /home/sim/Src/csound/csound6.09.1/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o


Opcodes/cuda/CMakeFiles/cudaop3.dir/build.make:63: recipe for target 'Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o' failed
make[2]: *** [Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o] Error 1
CMakeFiles/Makefile2:1656: recipe for target 'Opcodes/cuda/CMakeFiles/cudaop3.dir/all' failed
make[1]: *** [Opcodes/cuda/CMakeFiles/cudaop3.dir/all] Error 2
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2


On Wed, Jun 7, 2017 at 10:22 AM, Anders Genell <anders.genell@gmail.com> wrote:
Never mind - I downloaded cmake 3.6.3 and it gets past that error, but slams into the nvcc-gcc version error, which I cannot get past. I'll wait for a cuda 9 release candidate.

Regards,
Anders

On Wed, Jun 7, 2017 at 9:51 AM, Anders Genell <anders.genell@gmail.com> wrote:
The compilation error points to line 222 of cudop3_generated_slidingm.cu.o.cmake:

221: if(CUDA_result)
222:   message(FATAL_ERROR "Error generating ${generated_file}")
223: endif()

What would a stray '"' mean for that line?
Regards,
Anders


On Tue, Jun 6, 2017 at 4:15 PM, Anders Genell <anders.genell@gmail.com> wrote:
Ah, ok. I'll give it a go and see if I get somewhere...

Regards,
Anders

> 6 juni 2017 kl. 15:41 skrev Victor Lazzarini <Victor.Lazzarini@NUIM.IE>:
>
> I followed the warning messages in the cmake build and removed one of the “ “ in the lines it pointed out in the generated files (they will be different for you).
> It’s not a great solution. I tried the fix  in the nvidia forum and it did not work here.
>
>
> ========================
> Prof. Victor Lazzarini
> Dean of Arts, Celtic Studies, and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952
>
>> On 6 Jun 2017, at 14:33, Anders Genell <anders.genell@gmail.com> wrote:
>>
>> Not bad! Two bugs in one day, and none of them Csound related!
>> Could you post on github or somewhere the fix you did for the erroneous makefile? Then I can try the fix for gcc-checking someone posted on the nvidia forum I referred to (if I can figure out what he did). It might cause runtime errors, of course, but maybe the build gets completed...
>>
>> Regards,
>> Anders
>>
>>
>>> 6 juni 2017 kl. 12:06 skrev Victor Lazzarini <Victor.Lazzarini@NUIM.IE>:
>>>
>>> yes, CUDA 8 won’t work here. So there are two problems: (1) cmake creates wrong makefiles (bug in cmake) (2) cuda tools do not work with the latest compilers.
>>> ========================
>>> Prof. Victor Lazzarini
>>> Dean of Arts, Celtic Studies, and Philosophy,
>>> Maynooth University,
>>> Maynooth, Co Kildare, Ireland
>>> Tel: 00 353 7086936
>>> Fax: 00 353 1 7086952
>>>
>>>> On 6 Jun 2017, at 08:48, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
>>>>
>>>> I think cuda 8 supports my compiler (clang 8). I could not install it yesterday, but I will try today.
>>>> ========================
>>>> Prof. Victor Lazzarini
>>>> Dean of Arts, Celtic Studies, and Philosophy,
>>>> Maynooth University,
>>>> Maynooth, Co Kildare, Ireland
>>>> Tel: 00 353 7086936
>>>> Fax: 00 353 1 7086952
>>>>
>>>>> On 6 Jun 2017, at 07:59, Anders Genell <anders.genell@GMAIL.COM> wrote:
>>>>>
>>>>> Yes, that is what I found somewhere too, that CUDA 8.0 doesn't support gcc >= 5. CUDA 9 is not released yet, but there should probably be some beta or release candidate version out soon as features of CUDA 9 have been revealed.
>>>>>
>>>>> Regards,
>>>>> Anders
>>>>>
>>>>>> 5 juni 2017 kl. 20:49 skrev Victor Lazzarini <Victor.Lazzarini@NUIM.IE>:
>>>>>>
>>>>>> I was able to edit the generated CMake files and it seemed to move from that error. But now I need to upgrade cuda because I have a new compiler that is not
>>>>>> compatible with the version I had.
>>>>>> ========================
>>>>>> Prof. Victor Lazzarini
>>>>>> Dean of Arts, Celtic Studies, and Philosophy,
>>>>>> Maynooth University,
>>>>>> Maynooth, Co Kildare, Ireland
>>>>>> Tel: 00 353 7086936
>>>>>> Fax: 00 353 1 7086952
>>>>>>
>>>>>>> On 5 Jun 2017, at 19:35, Anders Genell <anders.genell@GMAIL.COM> wrote:
>>>>>>>
>>>>>>> Thanks!
>>>>>>> I'll hold back for a while and see if you find anything.
>>>>>>>
>>>>>>> Regards,
>>>>>>> Anders
>>>>>>>
>>>>>>>> 5 juni 2017 kl. 20:32 skrev Victor Lazzarini <Victor.Lazzarini@NUIM.IE>:
>>>>>>>>
>>>>>>>> It’s a CMake problem, apparently. I’ve updated my CMake to 3.8 and now I am having the same problem as you.
>>>>>>>> Not sure whether there is a fix beyond reverting to 3.6, but I’ll see what I find out.
>>>>>>>> ========================
>>>>>>>> Prof. Victor Lazzarini
>>>>>>>> Dean of Arts, Celtic Studies, and Philosophy,
>>>>>>>> Maynooth University,
>>>>>>>> Maynooth, Co Kildare, Ireland
>>>>>>>> Tel: 00 353 7086936
>>>>>>>> Fax: 00 353 1 7086952
>>>>>>>>
>>>>>>>>> On 5 Jun 2017, at 19:28, Anders Genell <anders.genell@GMAIL.COM> wrote:
>>>>>>>>>
>>>>>>>>> [ 63%] Building NVCC (Device) object Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o
>>>>>>>>> cd /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir && /usr/bin/cmake -E make_directory /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//.
>>>>>>>>> cd /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir && /usr/bin/cmake -D verbose:BOOL=1 -D build_configuration:STRING= -D generated_file:STRING=/home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o -D generated_cubin_file:STRING=/home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o.cubin.txt -P /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//cudaop3_generated_slidingm.cu.o.cmake
>>>>>>>>> CMake Warning (dev) at cudaop3_generated_slidingm.cu.o.cmake:81:
>>>>>>>>> Syntax Warning in cmake code at column 75
>>>>>>>>>
>>>>>>>>> Argument not separated from preceding token by whitespace.
>>>>>>>>> This warning is for project developers.  Use -Wno-dev to suppress it.
>>>>>>>>>
>>>>>>>>> -- Removing /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o
>>>>>>>>> /usr/bin/cmake -E remove /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o
>>>>>>>>> -- Generating dependency file: /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//cudaop3_generated_slidingm.cu.o.NVCC-depend
>>>>>>>>> /usr/bin/nvcc -M -D__CUDACC__ /home/sim/Src/csound/Opcodes/cuda/slidingm.cu -o /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//cudaop3_generated_slidingm.cu.o.NVCC-depend -ccbin /usr/bin/cc -m64 -Dcudaop3_EXPORTS -D_CSOUND_RELEASE_ -DCS_DEFAULT_PLUGINDIR= -D/usr/local/lib/csound/plugins-6.0\" -DUSE_LRINT -DLINUX -DPIPES -DNO_FLTK_THREADS -D_GNU_SOURCE -DHAVE_SOCKETS -DHAVE_STRTOK_R -DHAVE_STRTOD_L\" -Xcompiler ,\"-ffast-math\",\"-mfpmath=sse\",\"-msse2\",\"-fomit-frame-pointer\",\"-fvisibility=hidden\",\"-DHAVE_ATOMIC_BUILTIN\",\"-fopenmp\",\"-fPIC\",\"-g\" -arch=sm_20 -use_fast_math -DNVCC -I/usr/include -I/home/sim/Src/csound/./H -I/home/sim/Src/csound/./include -I/home/sim/Src/csound/./Engine -I/home/sim/Src/csound/. -I/home/sim/Src/csound/csound6.09 -I/home/sim/Src/csound/csound6.09/include -I/usr/include/python2.7 -I/home/sim/Src/csound/include -I/usr/local/include
>>>>>>>>> nvcc fatal   : Stray '"' character
>>>>>>>>> CMake Error at cudaop3_generated_slidingm.cu.o.cmake:222 (message):
>>>>>>>>> Error generating
>>>>>>>>> /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Opcodes/cuda/CMakeFiles/cudaop3.dir/build.make:63: recipe for target 'Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o' failed
>>>>>>>>> make[2]: *** [Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o] Error 1
>>>>>>>>> make[2]: Leaving directory '/home/sim/Src/csound/csound6.09'
>>>>>>>>> CMakeFiles/Makefile2:1656: recipe for target 'Opcodes/cuda/CMakeFiles/cudaop3.dir/all' failed
>>>>>>>>> make[1]: *** [Opcodes/cuda/CMakeFiles/cudaop3.dir/all] Error 2
>>>>>>>>> make[1]: Leaving directory '/home/sim/Src/csound/csound6.09'
>>>>>>>>> Makefile:160: recipe for target 'all' failed
>>>>>>>>> make: *** [all] Error 2
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>> 5 juni 2017 kl. 20:13 skrev Victor Lazzarini <Victor.Lazzarini@NUIM.IE>:
>>>>>>>>>>
>>>>>>>>>> can you do a make clean, then just make ?
>>>>>>>>>>
>>>>>>>>>> I want to see what happened in the compilation of the .o file.
>>>>>>>>>> ========================
>>>>>>>>>> Prof. Victor Lazzarini
>>>>>>>>>> Dean of Arts, Celtic Studies, and Philosophy,
>>>>>>>>>> Maynooth University,
>>>>>>>>>> Maynooth, Co Kildare, Ireland
>>>>>>>>>> Tel: 00 353 7086936
>>>>>>>>>> Fax: 00 353 1 7086952
>>>>>>>>>>
>>>>>>>>>>> On 5 Jun 2017, at 15:15, Anders Genell <anders.genell@gmail.com> wrote:
>>>>>>>>>>>
>>>>>>>>>>> Just using "make" without -j6 shows a bit more info, and it now does seem to be cuda related...
>>>>>>>>>>>
>>>>>>>>>>> [ 63%] Building NVCC (Device) object Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o
>>>>>>>>>>> CMake Warning (dev) at cudaop3_generated_slidingm.cu.o.cmake:81:
>>>>>>>>>>> Syntax Warning in cmake code at column 75
>>>>>>>>>>>
>>>>>>>>>>> Argument not separated from preceding token by whitespace.
>>>>>>>>>>> This warning is for project developers.  Use -Wno-dev to suppress it.
>>>>>>>>>>>
>>>>>>>>>>> nvcc fatal   : Stray '"' character
>>>>>>>>>>> CMake Error at cudaop3_generated_slidingm.cu.o.cmake:222 (message):
>>>>>>>>>>> Error generating
>>>>>>>>>>> /home/sim/Src/csound/csound6.09/Opcodes/cuda/CMakeFiles/cudaop3.dir//./cudaop3_generated_slidingm.cu.o
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Opcodes/cuda/CMakeFiles/cudaop3.dir/build.make:63: recipe for target 'Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o' failed
>>>>>>>>>>> make[2]: *** [Opcodes/cuda/CMakeFiles/cudaop3.dir/cudaop3_generated_slidingm.cu.o] Error 1
>>>>>>>>>>> CMakeFiles/Makefile2:1656: recipe for target 'Opcodes/cuda/CMakeFiles/cudaop3.dir/all' failed
>>>>>>>>>>> make[1]: *** [Opcodes/cuda/CMakeFiles/cudaop3.dir/all] Error 2
>>>>>>>>>>> Makefile:160: recipe for target 'all' failed
>>>>>>>>>>> make: *** [all] Error 2
>>>>>>>>>>>
>>>>>>>>>>> On Mon, Jun 5, 2017 at 3:20 PM, jpff <jpff@codemist.co.uk> wrote:
>>>>>>>>>>> It looks to me tat the error is earlier if building with -j6 o te ie
>>>>>>>>>>>
>>>>>>>>>>> Tese messagesare OK and suggest aa broken .o file
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On Mon, 5 Jun 2017, Victor Lazzarini wrote:
>>>>>>>>>>>
>>>>>>>>>>> Are you building with make -j 6 ? I can't see where it is failing. If you are,
>>>>>>>>>>> try just 'make'
>>>>>>>>>>>
>>>>>>>>>>> Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy
>>>>>>>>>>> Maynooth University
>>>>>>>>>>> Ireland
>>>>>>>>>>>
>>>>>>>>>>> On 5 Jun 2017, at 12:41, Anders Genell <anders.genell@GMAIL.COM> wrote:
>>>>>>>>>>>
>>>>>>>>>>> Ok, got the verbosity up:
>>>>>>>>>>>
>>>>>>>>>>> [ 62%] Building C object
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o
>>>>>>>>>>> /usr/bin/cc
>>>>>>>>>>> -DCS_DEFAULT_PLUGINDIR=\"/usr/local/lib/csound/plugins64-6.0\"
>>>>>>>>>>> -DHAVE_SOCKETS -DHAVE_STRTOD_L -DHAVE_STRTOK_R -DLINUX
>>>>>>>>>>> -DNO_FLTK_THREADS -DPIPES -DUSE_LRINT -D_CSOUND_RELEASE_
>>>>>>>>>>> -D_GNU_SOURCE -Dcsound64_EXPORTS -I/home/sim/Src/csound/./H
>>>>>>>>>>> -I/home/sim/Src/csound/./include -I/home/sim/Src/csound/./Engine
>>>>>>>>>>> -I/home/sim/Src/csound/. -I/home/sim/Src/csound/csound6.09
>>>>>>>>>>> -I/home/sim/Src/csound/csound6.09/include  -ffast-math
>>>>>>>>>>> -mfpmath=sse -msse2 -fomit-frame-pointer -fvisibility=hidden
>>>>>>>>>>> -DHAVE_ATOMIC_BUILTIN -DHAVE_PTHREAD -fPIC   -Wno-format
>>>>>>>>>>> -D__BUILDING_LIBCSOUND -DHAVE_PTHREAD_SPIN_LOCK
>>>>>>>>>>> -DHAVE_PTHREAD_BARRIER_INIT -DPARCS -DGNU_GETTEXT -DHAVE_DIRENT_H
>>>>>>>>>>> -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H
>>>>>>>>>>> -DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H -DHAVE_VALUES_H -o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o   -c
>>>>>>>>>>> /home/sim/Src/csound/Engine/cs_par_dispatch.c
>>>>>>>>>>> [ 63%] Linking C shared library libcsound64.so
>>>>>>>>>>> /usr/bin/cmake -E cmake_link_script
>>>>>>>>>>> CMakeFiles/csound64.dir/link.txt --verbose=1
>>>>>>>>>>> /usr/bin/cc  -fPIC  -ffast-math -mfpmath=sse -msse2
>>>>>>>>>>> -fomit-frame-pointer -fvisibility=hidden -DHAVE_ATOMIC_BUILTIN
>>>>>>>>>>> -DHAVE_PTHREAD  -shared -Wl,-soname,libcsound64.so.6.0 -o
>>>>>>>>>>> libcsound64.so.6.0 CMakeFiles/csound64.dir/Top/csound.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/auxfd.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/cfgvar.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/corfiles.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/entry1.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/envvar.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/extract.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/fgens.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/insert.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/linevent.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/memalloc.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/memfiles.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/musmon.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/namedins.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/rdscor.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/scsort.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/scxtract.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/sort.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/sread.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/swritestr.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/twarp.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/csound_type_system.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/csound_standard_types.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/csound_data_structures.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/pools.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/libsnd.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/libsnd_u.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/midifile.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/midirecv.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/midisend.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/winascii.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/windin.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/window.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/winEPS.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/circularbuffer.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/aops.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/bus.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/cmath.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/diskin2.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/disprep.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/dumpf.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/fftlib.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/pffft.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/goto_ops.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/midiinterop.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/midiops.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/midiout.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/mxfft.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/oscils.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/pstream.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/pvfileio.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/pvsanal.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/random.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/remote.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/schedule.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/sndinfUG.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/str_ops.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/ugens1.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/ugens2.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/ugens3.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/ugens4.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/ugens5.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/ugens6.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/ugtabs.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/ugrw1.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/ugrw2.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/vdelay.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/OOps/compile_ops.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/babo.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/bilbar.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/compress.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/eqfil.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/Vosim.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pinker.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pitch.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pitch0.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/spectra.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ambicode1.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/sfont.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/grain4.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/hrtferX.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/loscilx.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/minmax.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pan2.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/arrays.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/phisem.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/hrtfopcodes.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/vbap.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/vbap1.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/vbap_n.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/vbap_zak.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/vaops.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ugakbari.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/harmon.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pitchtrack.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/partikkel.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/shape.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/tabsum.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/crossfm.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvlock.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/fareyseq.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/modmatrix.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/scoreline.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/modal4.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/physutil.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/physmod.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/mandolin.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/singwave.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/fm4op.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/moog1.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/shaker.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/bowedbar.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/gab/tabmorph.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/gab/hvs.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/gab/sliderTable.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/gab/newgabopc.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ftest.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/hrtfearly.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/hrtfreverb.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/cpumeter.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/gendy.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/tl/sc_noise.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/afilters.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/wpfilters.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Top/argdecode.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Top/csdebug.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Top/cscore_internal.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Top/cscorfns.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Top/csmodule.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Top/getstring.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Top/main.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Top/new_opts.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Top/one_file.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Top/opcode.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Top/threads.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Top/utility.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Top/threadsafe.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Top/server.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ambicode.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/bbcut.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/biquad.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/butter.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/clfilt.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/cross2.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/dam.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/dcblockr.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/filter.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/flanger.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/follow.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/fout.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/freeverb.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ftconv.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ftgen.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/gab/gab.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/gab/vectorial.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/grain.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/locsig.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/lowpassr.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/metro.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/midiops2.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/midiops3.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/newfils.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/nlfilt.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/oscbnk.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pluck.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/paulstretch.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/repluck.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/reverbsc.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/seqtime.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/sndloop.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/sndwarp.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/space.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/spat3d.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/syncgrain.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ugens7.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ugens9.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ugensa.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/uggab.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ugmoss.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ugnorman.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ugsc.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/wave-terrain.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/stdopcod.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/socksend.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/sockrecv.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ifd.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/partials.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/psynth.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvsbasic.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvscent.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvsdemix.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvs_ops.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvsband.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvsbuffer.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvsgendy.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/dsputil.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvadd.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvinterp.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvocext.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvread.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/ugens8.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/vpvoc.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/pvoc.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Opcodes/mp3in.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/libmpadec/layer1.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/libmpadec/layer2.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/libmpadec/layer3.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/libmpadec/synth.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/libmpadec/tables.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/libmpadec/mpadec.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/InOut/libmpadec/mp3dec.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/csound_orclex.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/csound_orcparse.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/csound_prelex.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/csound_orc_semantics.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/csound_orc_expressions.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/csound_orc_optimize.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/csound_orc_compile.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/new_orc_parser.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/symbtab.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/csound_prslex.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/cs_new_dispatch.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/cs_par_base.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/cs_par_orc_semantic_analysis.c.o
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o -lsndfile
>>>>>>>>>>> -lpthread -lm -ldl -lrt
>>>>>>>>>>> /usr/bin/cmake -E cmake_symlink_library libcsound64.so.6.0
>>>>>>>>>>> libcsound64.so.6.0 libcsound64.so
>>>>>>>>>>> make[2]: Leaving directory '/home/sim/Src/csound/csound6.09'
>>>>>>>>>>> [ 63%] Built target csound64
>>>>>>>>>>> make[1]: Leaving directory '/home/sim/Src/csound/csound6.09'
>>>>>>>>>>> Makefile:160: recipe for target 'all' failed
>>>>>>>>>>> make: *** [all] Error 2
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On Mon, Jun 5, 2017 at 1:21 PM, Anders Genell <anders.genell@gmail.com>
>>>>>>>>>>> wrote:
>>>>>>>>>>> Well, the build runs fine when I do not try to build the
>>>>>>>>>>> cuda opcodes.
>>>>>>>>>>>
>>>>>>>>>>> Where do I put CMAKE_MAKEFILE_VERBOSE? As a -D flag for cmake?
>>>>>>>>>>>
>>>>>>>>>>> Regards,
>>>>>>>>>>> Anders
>>>>>>>>>>>
>>>>>>>>>>> On Mon, Jun 5, 2017 at 1:10 PM, Victor Lazzarini
>>>>>>>>>>> <Victor.Lazzarini@nuim.ie> wrote:
>>>>>>>>>>> The line you printed does not indicate a build  error
>>>>>>>>>>> with the cuda opcodes. Try building with
>>>>>>>>>>> CMAKE_MAKEFILE_VERBOSE=1 so we can see what the errors
>>>>>>>>>>> are.
>>>>>>>>>>>
>>>>>>>>>>> Victor Lazzarini
>>>>>>>>>>> Dean of Arts, Celtic Studies, and Philosophy
>>>>>>>>>>> Maynooth University
>>>>>>>>>>> Ireland
>>>>>>>>>>>
>>>>>>>>>>>> On 5 Jun 2017, at 11:43, Anders Genell
>>>>>>>>>>> <anders.genell@GMAIL.COM> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>> Dear devs, particularly Prof. Lazzarini!
>>>>>>>>>>>>
>>>>>>>>>>>> I just pulled from git and built on a fairly modern
>>>>>>>>>>> machine with a Nvidia GTX 780 hour. It has Ubuntu
>>>>>>>>>>> 17.04 installed, and I have installed the CUDA 8.0
>>>>>>>>>>> toolkit. The build did not automatically find the CUDA
>>>>>>>>>>> libs, and when forcing the CUDA opcodes build, I get a
>>>>>>>>>>> build error. It doesn't really give much information
>>>>>>>>>>> about the error, just
>>>>>>>>>>>>
>>>>>>>>>>>> [ 62%] Building C object
>>>>>>>>>>> CMakeFiles/csound64.dir/Engine/cs_par_dispatch.c.o
>>>>>>>>>>>> [ 63%] Linking C shared library libcsound64.so
>>>>>>>>>>>> [ 63%] Built target csound64
>>>>>>>>>>>> Makefile:160: recipe for target 'all' failed
>>>>>>>>>>>> make: *** [all] Error 2
>>>>>>>>>>>>
>>>>>>>>>>>> I saw something somewhere that CUDA doesn't support
>>>>>>>>>>> gcc 5 yet, which might be the culprit. Has anyone else
>>>>>>>>>>> run into this?
>>>>>>>>>>>>
>>>>>>>>>>>> Regards,
>>>>>>>>>>>> Anders
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>
>>>>>>
>>>>
>>>
>