<div dir="ltr">Thanks, and did 




<span></span>





__FUNCT__ go away?</div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jan 28, 2018 at 10:29 AM, Matthew Knepley <span dir="ltr"><<a href="mailto:knepley@gmail.com" target="_blank">knepley@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class="">On Mon, Jan 29, 2018 at 2:27 AM, Mark Adams <span dir="ltr"><<a href="mailto:mfadams@lbl.gov" target="_blank">mfadams@lbl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I want to add stuff to compile lines and I tried:<div><br></div><div><div><br></div><div>include ${PETSC_DIR}/lib/petsc/conf/va<wbr>riables</div><div>include ${PETSC_DIR}/lib/petsc/conf/ru<wbr>les</div><div><br></div><div>CC_FLAGS := ${CC_FLAGS} -I$(OLYMPUS_INC_DIR) -I$(FEI_DIR) -DPROM_HAVE_METIS -DPROM_USE_PETSC -DPROM_NO_FEI -DPROM_HAVE_SILO # -I$(SILO_INC)</div><div>FC_FLAGS := ${FC_FLAGS} -fdefault-integer-8</div></div><div><br></div><div>This a C++ code:</div><div><br></div><div>




<span></span>





<p class="m_7564316181709665356m_1622509283810497172gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(52,188,38);background-color:rgba(0,0,0,0.9)"><span class="m_7564316181709665356m_1622509283810497172gmail-s1" style="font-variant-ligatures:no-common-ligatures;color:rgb(0,249,0)">10:21</span><span class="m_7564316181709665356m_1622509283810497172gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(213,59,211)"> 2</span><span class="m_7564316181709665356m_1622509283810497172gmail-s1" style="font-variant-ligatures:no-common-ligatures;color:rgb(0,249,0)"> </span><span class="m_7564316181709665356m_1622509283810497172gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(82,48,225)">master *= </span><span class="m_7564316181709665356m_1622509283810497172gmail-s4" style="font-variant-ligatures:no-common-ligatures">~/Codes/olympus-keaveny/Olympu<wbr>s</span><span class="m_7564316181709665356m_1622509283810497172gmail-s1" style="font-variant-ligatures:no-common-ligatures;color:rgb(0,249,0)">$ make getcflags</span></p>
<p class="m_7564316181709665356m_1622509283810497172gmail-p2" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(0,249,0);background-color:rgba(0,0,0,0.9)"><span class="m_7564316181709665356m_1622509283810497172gmail-s4" style="font-variant-ligatures:no-common-ligatures">-Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -fvisibility=hidden -g -mavx2 -I./include -I./fei_prom -DPROM_HAVE_METIS -DPROM_USE_PETSC -DPROM_NO_FEI -DPROM_HAVE_SILO</span></p>
<p class="m_7564316181709665356m_1622509283810497172gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(52,188,38);background-color:rgba(0,0,0,0.9)"><span class="m_7564316181709665356m_1622509283810497172gmail-s1" style="font-variant-ligatures:no-common-ligatures;color:rgb(0,249,0)">10:21 </span><span class="m_7564316181709665356m_1622509283810497172gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(82,48,225)">master *= </span><span class="m_7564316181709665356m_1622509283810497172gmail-s4" style="font-variant-ligatures:no-common-ligatures">~/Codes/olympus-keaveny/Olympu<wbr>s</span><span class="m_7564316181709665356m_1622509283810497172gmail-s1" style="font-variant-ligatures:no-common-ligatures;color:rgb(0,249,0)">$ make</span></p>
<p class="m_7564316181709665356m_1622509283810497172gmail-p2" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(0,249,0);background-color:rgba(0,0,0,0.9)"><span class="m_7564316181709665356m_1622509283810497172gmail-s4" style="font-variant-ligatures:no-common-ligatures">/Users/markadams/Codes/petsc/a<wbr>rch-macosx-gnu-g/bin/mpicxx -o pfeap/pfeap.o -c -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -g -mavx2 <span class="m_7564316181709665356m_1622509283810497172gmail-Apple-converted-space">      </span>-I/Users/markadams/Codes/petsc<wbr>/include -I/Users/markadams/Codes/petsc<wbr>/arch-macosx-gnu-g/include -I/Users/markadams/Codes/petsc<wbr>/arch-macosx-gnu-g/include/<wbr>pragmatic -I/Users/markadams/Codes/petsc<wbr>/arch-macosx-gnu-g/include/<wbr>eigen3<span class="m_7564316181709665356m_1622509283810497172gmail-Apple-converted-space">    </span>`pwd`/pfeap/pfeap.C</span></p>
<p class="m_7564316181709665356m_1622509283810497172gmail-p2" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(0,249,0);background-color:rgba(0,0,0,0.9)"><span class="m_7564316181709665356m_1622509283810497172gmail-s4" style="font-variant-ligatures:no-common-ligatures">/Users/markadams/Codes/olympus<wbr>-keaveny/Olympus/pfeap/pfeap.<wbr>C:7:10: </span><span class="m_7564316181709665356m_1622509283810497172gmail-s5" style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)">fatal error: </span><span class="m_7564316181709665356m_1622509283810497172gmail-s4" style="font-variant-ligatures:no-common-ligatures">'pfeap.hh' file not found</span></p>
<p class="m_7564316181709665356m_1622509283810497172gmail-p2" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(0,249,0);background-color:rgba(0,0,0,0.9)"><span class="m_7564316181709665356m_1622509283810497172gmail-s4" style="font-variant-ligatures:no-common-ligatures">#include "pfeap.hh"</span></p>
<p class="m_7564316181709665356m_1622509283810497172gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(52,188,38);background-color:rgba(0,0,0,0.9)"><span class="m_7564316181709665356m_1622509283810497172gmail-s4" style="font-variant-ligatures:no-common-ligatures"><span class="m_7564316181709665356m_1622509283810497172gmail-Apple-converted-space">         </span>^~~~~~~~~~</span></p>
<p class="m_7564316181709665356m_1622509283810497172gmail-p2" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(0,249,0);background-color:rgba(0,0,0,0.9)"><span class="m_7564316181709665356m_1622509283810497172gmail-s4" style="font-variant-ligatures:no-common-ligatures">1 error generated.</span></p>


<br></div>It looks like CC_FLAGS are not getting used by CXX (-I./include is not making it to the compile line). How should I do this? I don't see a <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">CXX_FLAGS.</span></div></blockquote><div><br></div></span><div>It is CXX_FLAGS.</div><div><br></div><div>   Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>Thanks,</div><div>Mark</div></div><span class="HOEnZb"><font color="#888888">
</font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div class="m_7564316181709665356gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div><div><br></div><div><a href="http://www.caam.rice.edu/~mk51/" target="_blank">https://www.cse.buffalo.edu/~<wbr>knepley/</a><br></div></div></div></div></div>
</font></span></div></div>
</blockquote></div><br></div>