Re: [Csnd] csound build on OSX 10.9
Date | 2014-04-22 17:22 |
From | Matti Koskinen |
Subject | Re: [Csnd] csound build on OSX 10.9 |
There's problem with -dumpspecs. clang is set to nvcc-flags, no matter if I set host compiler to gcc. gcc has dumpspecs, but clang not. This was a big nuisance when building opencv also. Tnx -m Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" |
Date | 2014-04-22 18:51 |
From | Victor Lazzarini |
Subject | Re: [Csnd] csound build on OSX 10.9 |
That was a problem here on 10.6, but I fixed cmake, try pulling and building again (don’t forget to set CMAKE_OSX_DEPLOYMENT_TARGET=10.6). ======================== Dr Victor Lazzarini Senior Lecturer NUI Maynooth, Ireland victor dot lazzarini at nuim dot ie On 22 Apr 2014, at 17:22, Matti Koskinen |
Date | 2014-04-22 20:23 |
From | Matti Koskinen |
Subject | Re: [Csnd] csound build on OSX 10.9 |
On Apr 22, 2014, at 8:51 PM, Victor Lazzarini wrote: > That was a problem here on 10.6, but I fixed cmake, try pulling and building again (don’t forget to set CMAKE_OSX_DEPLOYMENT_TARGET=10.6). > ======================== > Dr Victor Lazzarini > Senior Lecturer > NUI Maynooth, Ireland > victor dot lazzarini at nuim dot ie thanks, now libcudaop*.dylibs are built, but running I get warning, that they cannot be loaded. They are in Library/Frameworks/... and file-command shows they're Mach-0 x86_64 dylibs. -m Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" |
Date | 2014-04-22 20:33 |
From | Victor Lazzarini |
Subject | Re: [Csnd] csound build on OSX 10.9 |
what is the warning exactly? ======================== Dr Victor Lazzarini Senior Lecturer NUI Maynooth, Ireland victor dot lazzarini at nuim dot ie On 22 Apr 2014, at 20:23, Matti Koskinen |
Date | 2014-04-22 21:04 |
From | Matti Koskinen |
Subject | Re: [Csnd] csound build on OSX 10.9 |
On Apr 22, 2014, at 10:33 PM, Victor Lazzarini wrote: > what is the warning exactly? > ======================== > Dr Victor Lazzarini > Senior Lecturer > NUI Maynooth, Ireland > victor dot lazzarini at nuim dot ie the traditional: WARNING: could not open library '/Users/mjkoskin/Library/Frameworks/CsoundLib64.framework/Versions/6.0/Resources/Opcodes64/libcudaop2.dylib' (-1) WARNING: could not open library '/Users/mjkoskin/Library/Frameworks/CsoundLib64.framework/Versions/6.0/Resources/Opcodes64/libcudaop3.dylib' (-1) WARNING: could not open library '/Users/mjkoskin/Library/Frameworks/CsoundLib64.framework/Versions/6.0/Resources/Opcodes64/libcudaop4.dylib' (-1) tnx -m Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" |
Date | 2014-04-22 21:23 |
From | Victor Lazzarini |
Subject | Re: [Csnd] csound build on OSX 10.9 |
Version mismatch? Make sure you are running the latest version you built (the build date should show at the start up). Another possibility is that the cuda library (libcudart) is not being found, which is strange because the opcodes build alright. ======================== Dr Victor Lazzarini Senior Lecturer NUI Maynooth, Ireland victor dot lazzarini at nuim dot ie On 22 Apr 2014, at 21:04, Matti Koskinen |
Date | 2014-04-22 22:19 |
From | Matti Koskinen |
Subject | Re: [Csnd] csound build on OSX 10.9 |
On 04/22/2014 11:23 PM, Victor Lazzarini wrote: > Version mismatch? Make sure you are running the latest version you built (the build date should show at the start up). > Another possibility is that the cuda library (libcudart) is not being found, which is strange because the opcodes build alright. > ======================== > Dr Victor Lazzarini > Senior Lecturer > NUI Maynooth, Ireland > victor dot lazzarini at nuim dot ie > > thanks, tomorrow I'll try when I get the Macbook (wife want's to talk with Skype). Now I'm upstairs trying with ubuntu 12.04. The opcodes were built ok, but I got something like CUDAnal capability(0.0) and floating point exception. The 12.04 is compiling the cuda samples (needed to download cuda 6.0), so I can check what the driver returns, and see if cuda is working at all. tnx -m Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" |
Date | 2014-04-22 22:27 |
From | Victor Lazzarini |
Subject | Re: [Csnd] csound build on OSX 10.9 |
if you’re back on 10.6 tomorrow, pull again because I had to make a special version of the pvs opcodes for 1.1 capabilities, using floats (the doubles did not seem to work correctly there). The cudaconv opcode does not seem to work on 1.1 too, and I think it’s to do with using doubles too. I’ll try to fix it another time. ======================== Dr Victor Lazzarini Senior Lecturer NUI Maynooth, Ireland victor dot lazzarini at nuim dot ie On 22 Apr 2014, at 22:19, Matti Koskinen |
Date | 2014-04-23 13:01 |
From | Matti Koskinen |
Subject | Re: [Csnd] csound build on OSX 10.9 |
On Apr 23, 2014, at 12:27 AM, Victor Lazzarini wrote: > if you’re back on 10.6 tomorrow, pull again because I had to make a special version of the pvs opcodes for 1.1 capabilities, using floats (the doubles did not seem > to work correctly there). The cudaconv opcode does not seem to work on 1.1 too, and I think it’s to do with using doubles too. I’ll try to fix it another time. > > ======================== > Dr Victor Lazzarini > Senior Lecturer > NUI Maynooth, Ireland > victor dot lazzarini at nuim dot ie I'm back! sorry. I made a pull, everything compiles ok, but running cuda csds still give the -1, cannot load library libcudaop*.dylib otool gives this: host-002:cuda mjkoskin$ otool -L libcudaop1.dylib libcudaop1.dylib: libcudaop1.dylib (compatibility version 0.0.0, current version 0.0.0) @rpath/libcufft.dylib (compatibility version 1.1.0, current version 4.2.0) @rpath/libcudart.dylib (compatibility version 1.1.0, current version 4.2.0) /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.9.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.11) cuda-libs are not /usr/local/cuda/lib as libstdc++ etc., but @rpath, I don't know enough, what that @rpath is, but is this correct? Also got csound finally built on Mavericks, needed to add linker library paths to libjpeg and libpng in CMAKE_SHARED_LINK_FLAGS or something like that. But a strange parser error with diskin: the / is not accepted in the filename. csound on 10.9 gives same warnings with libcudaop*. tnx -m Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" |