<div class="gmail_quote">2012/3/25 Satish Balay <span dir="ltr"><<a href="mailto:balay@mcs.anl.gov">balay@mcs.anl.gov</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div id=":5un">Cusp installer is nothing but unzip. The recommended installation<br>
methond is:<br>
<br>
<a href="https://code.google.com/p/cusp-library/wiki/QuickStartGuide" target="_blank">https://code.google.com/p/cusp-library/wiki/QuickStartGuide</a><br>
<br>
>>>>>>>><br>
Simply download the newest version of Cusp from here and extract the contents of each zip file to a directory. We suggest installing Cusp to the CUDA include directory, which is usually<br>
<br>
    /usr/local/cuda/include/ on a Linux and Mac OSX<br>
    C:\CUDA\include\ on a Windows system<br>
<br>
If you are unable to install to the CUDA include directory, then you can place the files somewhere in your home directory, for example: /home/nathan/cuda_libraries/cusp/.<br>
<br>
Warning: Do not install Cusp to a standard include path like /usr/local/include/. It appears that nvcc treats such paths differently than the suggestions above which causes errors like error: expected primary-expression before ‘<’ token.<br>

<<<<<<<<<<<<br>
<br>
In the above example  --with-cusp-dir=/home/nathan/cuda_libraries/cusp/ would have worked.<br></div></blockquote><div><br></div><div>Would it have been so hard to write --with-cusp-include=/home/nathan/cuda_libraries/cusp/ if you don't want to install with a normal layout?</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":5un">
<br>
So when one specifies --with-cusp-dir=/opt/local to petsc configure<br>
and expects -I/opt/local/include to work - the install process was perhaps:<br>
<br>
cd /opt/local/include<br>
unzip cusp.zip<br>
<br>
[i.e equivalent to using --prefix=/opt/local/include]<br></div></blockquote><div><br></div><div>What other package ever uses --prefix=.../include? Every one I know of would expect you to say --prefix=/opt/local/ and it would place headers in /opt/local/include.</div>
<div><br></div></div>