[Csnd-dev] CUDA (again)

classic Classic list List threaded Threaded
23 messages Options
12
Reply | Threaded
Open this post in threaded view
|

[Csnd-dev] CUDA (again)

genell
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
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd-dev] CUDA (again)

Victor Lazzarini
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 <[hidden email]> 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
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd-dev] CUDA (again)

genell
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 <[hidden email]> 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 <[hidden email]> 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

Reply | Threaded
Open this post in threaded view
|

Re: [Csnd-dev] CUDA (again)

genell
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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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


Reply | Threaded
Open this post in threaded view
|

Re: [Csnd-dev] CUDA (again)

Victor Lazzarini
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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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


Reply | Threaded
Open this post in threaded view
|

Re: [Csnd-dev] CUDA (again)

jpff
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 <[hidden email]> 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 <[hidden email]>
> 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
> <[hidden email]> 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
>       <[hidden email]> 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
>
>
>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd-dev] CUDA (again)

genell
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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]>
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
<[hidden email]> 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
      <[hidden email]> 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





Reply | Threaded
Open this post in threaded view
|

Re: [Csnd-dev] CUDA (again)

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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]>
> 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
> <[hidden email]> 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
>       <[hidden email]> 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
>
>
>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd-dev] CUDA (again)

Victor Lazzarini
In reply to this post by genell
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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]>
> 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
> <[hidden email]> 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
>       <[hidden email]> 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
>
>
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: [Csnd-dev] CUDA (again)

genell
In reply to this post by Victor Lazzarini
[ 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 <[hidden email]>:
>
> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]>
>> 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
>> <[hidden email]> 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
>>      <[hidden email]> 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
>>
>>
>>
>>
>>
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd-dev] CUDA (again)

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 <[hidden email]> 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 <[hidden email]>:
>>
>> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]>
>>> 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
>>> <[hidden email]> 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
>>>     <[hidden email]> 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
>>>
>>>
>>>
>>>
>>>

Reply | Threaded
Open this post in threaded view
|

Re: [Csnd-dev] CUDA (again)

genell
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 <[hidden email]>:
>
> 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 <[hidden email]> 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 <[hidden email]>:
>>>
>>> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]>
>>>> 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
>>>> <[hidden email]> 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
>>>>    <[hidden email]> 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
>>>>
>>>>
>>>>
>>>>
>>>>
>
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd-dev] CUDA (again)

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 <[hidden email]> 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 <[hidden email]>:
>>
>> 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 <[hidden email]> 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 <[hidden email]>:
>>>>
>>>> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]>
>>>>> 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
>>>>> <[hidden email]> 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
>>>>>   <[hidden email]> 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
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>

Reply | Threaded
Open this post in threaded view
|

Re: [Csnd-dev] CUDA (again)

genell
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 <[hidden email]>:
>
> 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 <[hidden email]> 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 <[hidden email]>:
>>>
>>> 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 <[hidden email]> 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 <[hidden email]>:
>>>>>
>>>>> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]>
>>>>>> 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
>>>>>> <[hidden email]> 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
>>>>>>  <[hidden email]> 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
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>
>
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd-dev] CUDA (again)

genell
In reply to this post by Victor Lazzarini
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 <[hidden email]>:

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 <[hidden email]> 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 <[hidden email]>:

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 <[hidden email]> 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 <[hidden email]>:

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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]>
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
<[hidden email]> 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
 <[hidden email]> 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







Reply | Threaded
Open this post in threaded view
|

Re: [Csnd-dev] CUDA (again)

Victor Lazzarini
In reply to this post by genell
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 <[hidden email]> 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 <[hidden email]>:
>>
>> 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 <[hidden email]> 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 <[hidden email]>:
>>>>
>>>> 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 <[hidden email]> 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 <[hidden email]>:
>>>>>>
>>>>>> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]>
>>>>>>> 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
>>>>>>> <[hidden email]> 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
>>>>>>> <[hidden email]> 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
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>
>>

Reply | Threaded
Open this post in threaded view
|

Re: [Csnd-dev] CUDA (again)

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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]>:
>>>
>>> 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 <[hidden email]> 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 <[hidden email]>:
>>>>>
>>>>> 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 <[hidden email]> 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 <[hidden email]>:
>>>>>>>
>>>>>>> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]>
>>>>>>>> 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
>>>>>>>> <[hidden email]> 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
>>>>>>>> <[hidden email]> 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
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>
>>>
>

Reply | Threaded
Open this post in threaded view
|

Re: [Csnd-dev] CUDA (again)

genell
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 <[hidden email]>:
>
> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]>:
>>>>
>>>> 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 <[hidden email]> 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 <[hidden email]>:
>>>>>>
>>>>>> 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 <[hidden email]> 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 <[hidden email]>:
>>>>>>>>
>>>>>>>> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]>
>>>>>>>>> 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
>>>>>>>>> <[hidden email]> 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
>>>>>>>>> <[hidden email]> 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
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>
>>>>
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd-dev] CUDA (again)

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 <[hidden email]> 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 <[hidden email]>:
>>
>> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]>:
>>>>>
>>>>> 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 <[hidden email]> 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 <[hidden email]>:
>>>>>>>
>>>>>>> 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 <[hidden email]> 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 <[hidden email]>:
>>>>>>>>>
>>>>>>>>> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]>
>>>>>>>>>> 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
>>>>>>>>>> <[hidden email]> 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
>>>>>>>>>> <[hidden email]> 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
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>
>>>>>
>>>
>>

Reply | Threaded
Open this post in threaded view
|

Re: [Csnd-dev] CUDA (again)

genell
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 <[hidden email]>:
>
> 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 <[hidden email]> 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 <[hidden email]>:
>>>
>>> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]>:
>>>>>>
>>>>>> 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 <[hidden email]> 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 <[hidden email]>:
>>>>>>>>
>>>>>>>> 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 <[hidden email]> 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 <[hidden email]>:
>>>>>>>>>>
>>>>>>>>>> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]>
>>>>>>>>>>> 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
>>>>>>>>>>> <[hidden email]> 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
>>>>>>>>>>> <[hidden email]> 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
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>
>>>>>>
>>>>
>>>
>
12