<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Cray machines can be used with shared libraries, it’s not like the earlier versions of BG/Q</div><div class=""><br class=""></div><div class="">Yes, you need almost all of this. If you run with configure with the option —with-batch=1, will then generate something like the one I have sent you.</div><div class=""><br class=""></div>—with-shared-libraries is a PETSc configuration, i.e. you will create libpetsc.so<div class="">—LDFLAGS=-dynamic is used to link dynamically a PETSc executable</div><div class=""><div class="">—known-mpi-shared-libraries=0 will use a statically linked MPI</div></div><div class=""><br class=""></div><div class="">You can remove the first two options listed above if you would like to have a static version of PETSC.</div><div class="">You may want to refine the options for optimized builds, i.e. add your favorite COPTFLAGS and remove —with-debugging=1</div><div class="">Another thing you can do. Load any of the PETSc modules on the XC40, and then look at the file</div><div class=""><div style="margin: 0px; font-size: 14px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; font-size: 14px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">$PETSC_DIR/include/petscconfiginfo.h</span></div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div><blockquote type="cite" class=""><div class="">On Jun 13, 2017, at 4:01 PM, Vaz, Guilherme <<a href="mailto:G.Vaz@marin.nl" class="">G.Vaz@marin.nl</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><p style="margin-top: 0px; margin-bottom: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""></p><div style="margin-top: 0px; margin-bottom: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class="">Stefano/Mathew,<br class=""></div><div style="margin-top: 0px; margin-bottom: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class="">Do I need all this :-)?</div><div style="margin-top: 0px; margin-bottom: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class="">And I dont want a debug version, just an optimized release version. Thus I understand the -g -O0 flags for debug, but the rest I am not sure what is for debug and for a release version. Sorry...<br class=""></div><div style="margin-top: 0px; margin-bottom: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class="">I am also kind of confused on the shared libraries issue,</div><div style="margin-top: 0px; margin-bottom: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""><span class="gmail-s1" style="color: rgb(33, 33, 33); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);">'</span><span class="gmail-s2" style="color: rgb(33, 33, 33); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);">--known-mpi-shared-libraries=0</span><span class="gmail-s1" style="color: rgb(33, 33, 33); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);">',</span><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""><span class="gmail-s1" style="color: rgb(33, 33, 33); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);"> '</span><span class="gmail-s2" style="color: rgb(33, 33, 33); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);">--with-shared-libraries=1</span><span class="gmail-s1" style="color: rgb(33, 33, 33); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);">',</span><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class="">on the static vs dynamic linking (I thought in XC-40 we had to compile everything statically,<br class=""></div><div style="margin-top: 0px; margin-bottom: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""><span style="color: rgb(33, 33, 33); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);" class="">--LDFLAGS=-dynamic</span><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""><span style="color: rgb(33, 33, 33); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);" class="">and on the FFFLAG:</span></div><div style="margin-top: 0px; margin-bottom: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""><span style="color: rgb(33, 33, 33); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);" class=""><span style="color: rgb(33, 33, 33); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);" class="">--FFLAGS=-mkl=sequential -g -O0 -lstdc++</span><br class=""></span></div><div style="margin-top: 0px; margin-bottom: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""><span style="color: rgb(33, 33, 33); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);" class=""><span style="color: rgb(33, 33, 33); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);" class="">Is this to be used with Intel MKL libraries?</span></span></div><div style="margin-top: 0px; margin-bottom: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""><span style="color: rgb(33, 33, 33); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);" class=""><span style="color: rgb(33, 33, 33); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);" class=""><br class=""></span></span></div><div style="margin-top: 0px; margin-bottom: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""><span style="color: rgb(33, 33, 33); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);" class=""><span style="color: rgb(33, 33, 33); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);" class="">Thanks for the help, you both.</span></span></div><div style="margin-top: 0px; margin-bottom: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""><span style="color: rgb(33, 33, 33); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);" class=""><span style="color: rgb(33, 33, 33); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);" class=""><br class=""></span></span></div><div style="margin-top: 0px; margin-bottom: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""><span style="color: rgb(33, 33, 33); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);" class=""><span style="color: rgb(33, 33, 33); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);" class="">Guilherme V.</span></span></div><div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); color: rgb(33, 33, 33);" class=""></div><br style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""><font style="font-style: normal; font-variant-caps: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); font-family: Verdana; font-size: 8pt; color: rgb(125, 125, 125); font-weight: bold;" class="">dr. ir.</font><font style="font-style: normal; font-variant-caps: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); font-family: Verdana; font-size: 8pt; color: rgb(125, 125, 125); font-weight: bold;" class=""><span class="Apple-converted-space"> </span></font><font style="font-style: normal; font-variant-caps: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); font-family: Verdana; font-size: 8pt; color: rgb(125, 125, 125); font-weight: bold;" class="">Guilherme</font><font style="font-style: normal; font-variant-caps: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); font-family: Verdana; font-size: 8pt; color: rgb(125, 125, 125); font-weight: bold;" class=""><span class="Apple-converted-space"> </span></font><font style="font-style: normal; font-variant-caps: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); font-family: Verdana; font-size: 8pt; color: rgb(125, 125, 125); font-weight: bold;" class="">Vaz</font><font size="3" face="Segoe UI" style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""></font><font style="font-style: normal; font-variant-caps: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); font-family: Verdana; font-size: 8pt; color: rgb(125, 125, 125); font-weight: bold;" class=""><span class="Apple-converted-space"> </span>|<span class="Apple-converted-space"> </span></font><font style="font-style: normal; font-variant-caps: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); font-family: Verdana; font-size: 8pt; color: rgb(125, 125, 125); font-weight: bold;" class="">CFD Research Coordinator / Senior CFD Researcher<span class="Apple-converted-space"> </span></font><font style="font-style: normal; font-variant-caps: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); font-family: Verdana; font-size: 8pt; color: rgb(125, 125, 125); font-weight: bold;" class=""> |<span class="Apple-converted-space"> </span></font><font style="font-style: normal; font-variant-caps: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); font-family: Verdana; font-size: 8pt; color: rgb(125, 125, 125); font-weight: bold;" class="">Research & Development</font><br style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""><font style="font-style: normal; font-variant-caps: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); font-family: Verdana; font-size: 9pt; color: rgb(125, 125, 125); font-weight: bold;" class="">MARIN</font><font style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); font-family: Verdana; font-size: 8pt; color: rgb(125, 125, 125);" class=""><span class="Apple-converted-space"> </span>| T<span class="Apple-converted-space"> </span></font><font style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); font-family: Verdana; font-size: 8pt; color: rgb(125, 125, 125);" class="">+31 317 49 33 25</font><font style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); font-family: Verdana; font-size: 8pt; color: rgb(125, 125, 125);" class=""><span class="Apple-converted-space"> </span>| M<span class="Apple-converted-space"> </span></font><font style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); font-family: Verdana; font-size: 8pt; color: rgb(125, 125, 125);" class="">+31 621 13 11 97</font><font color="#7d7d7d" size="2" face="Segoe UI" style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""></font><font style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); font-family: Verdana; font-size: 8pt;" class=""><span class="Apple-converted-space"> </span>|<span class="Apple-converted-space"> </span></font><span style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); font-family: Verdana; font-size: 8pt;" class=""><a href="mailto:G.Vaz@marin.nl" title="" target="" style="font-family: Verdana; font-size: 8pt;" class=""><span style="font-family: Verdana; font-size: 8pt;" class="">G.Vaz@marin.nl</span></a></span><font color="#7d7d7d" size="2" face="Segoe UI" style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""></font><font style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); font-family: Verdana; font-size: 8pt;" class=""> |<span class="Apple-converted-space"> </span></font><span style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); font-family: Verdana; font-size: 8pt;" class=""><a href="http://www.marin.nl/" title="" target="" style="font-family: Verdana; font-size: 8pt;" class=""><span style="font-family: Verdana; font-size: 8pt;" class="">www.marin.nl</span></a></span><br style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""><br style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""><a href="https://www.linkedin.com/company/marin" target="" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""><span id="cid:image067d96.PNG@7d0c2c86.44b6c66f"><image067d96.PNG></span></a><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); float: none; display: inline !important;" class=""> </span><a href="http://www.youtube.com/marinmultimedia" target="" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""><span id="cid:image0c3f53.PNG@84fc88d5.4884e8b0"><image0c3f53.PNG></span></a><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); float: none; display: inline !important;" class=""> </span><a href="https://twitter.com/MARIN_nieuws" target="" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""><span id="cid:image887afd.PNG@b91011e7.4db439e1"><image887afd.PNG></span></a><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); float: none; display: inline !important;" class=""> </span><a href="https://www.facebook.com/marin.wageningen" target="" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""><span id="cid:image2a2a45.PNG@2815692d.45b60a80"><image2a2a45.PNG></span></a><br style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""><font color="#7d7d7d" size="2" face="Verdana" style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); font-family: Verdana; font-size: 8pt;" class="">MARIN news:<span class="Apple-converted-space"> </span><font style="font-family: Verdana; font-size: 8pt;" class=""><span style="font-family: Verdana; font-size: 8pt;" class=""><a href="http://www.marin.nl/web/News/News-items/MARIN-deelt-onderzoek-tijdens-RD-Seminar-21-juni-2017.htm" title="" target="" style="font-family: Verdana; font-size: 8pt;" class=""><span style="font-family: Verdana; font-size: 8pt;" class="">MARIN deelt onderzoek tijdens R&D Seminar, 21 juni 2017</span></a></span></font></font><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); float: none; display: inline !important;" class=""></span><p style="margin-top: 0px; margin-bottom: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""></p><p style="margin-top: 0px; margin-bottom: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""></p><div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); color: rgb(33, 33, 33);" class=""><hr tabindex="-1" style="display: inline-block; width: 1351.40625px;" class=""><div id="divRplyFwdMsg" dir="ltr" class=""><font face="Calibri, sans-serif" style="font-size: 11pt;" class=""><b class="">From:</b><span class="Apple-converted-space"> </span>Stefano Zampini <<a href="mailto:stefano.zampini@gmail.com" class="">stefano.zampini@gmail.com</a>><br class=""><b class="">Sent:</b><span class="Apple-converted-space"> </span>Tuesday, June 13, 2017 3:42 PM<br class=""><b class="">To:</b><span class="Apple-converted-space"> </span>Vaz, Guilherme<br class=""><b class="">Cc:</b><span class="Apple-converted-space"> </span>Matthew Knepley; PETSc<br class=""><b class="">Subject:</b><span class="Apple-converted-space"> </span>Re: [petsc-users] PETSC on Cray Hazelhen</font><div class=""> </div></div><div class=""><div dir="ltr" class="">Guilherme,<div class=""><br class=""></div><div class="">here is my debug configuration (with shared libraries) in PETSc on a XC40</div><div class=""><br class=""></div><div class=""><div style="margin-top: 0px; margin-bottom: 0px;" class=""><span class="gmail-s1"> '</span><span class="gmail-s2">--CFLAGS=-mkl=sequential -g -O0<span class="Apple-converted-space"> </span></span><span class="gmail-s1">',</span></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><span class="gmail-s1"> '</span><span class="gmail-s2">--CXXFLAGS=-mkl=sequential -g -O0<span class="Apple-converted-space"> </span></span><span class="gmail-s1">',</span></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><span class="gmail-s1"> '</span><span class="gmail-s2">--FFLAGS=-mkl=sequential -g -O0 -lstdc++</span><span class="gmail-s1">',</span></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><span class="gmail-s1"> '</span><span class="gmail-s2">--LDFLAGS=-dynamic</span><span class="gmail-s1">',</span></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><span class="gmail-s1"> '</span><span class="gmail-s2">--download-metis-cmake-arguments=-DCMAKE_C_COMPILER_FORCED=1</span><span class="gmail-s1">',</span></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><span class="gmail-s1"> '</span><span class="gmail-s2">--download-metis=1</span><span class="gmail-s1">',</span></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><span class="gmail-s1"> '</span><span class="gmail-s2">--download-parmetis-cmake-arguments=-DCMAKE_C_COMPILER_FORCED=1</span><span class="gmail-s1">',</span></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><span class="gmail-s1"> '</span><span class="gmail-s2">--download-parmetis=1</span><span class="gmail-s1">',</span></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><span class="gmail-s1"> '</span><span class="gmail-s2">--known-bits-per-byte=8</span><span class="gmail-s1">',</span></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><span class="gmail-s1"> '</span><span class="gmail-s2">--known-has-attribute-aligned=1</span><span class="gmail-s1">',</span></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><span class="gmail-s1"> '</span><span class="gmail-s2">--known-level1-dcache-assoc=8</span><span class="gmail-s1">',</span></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><span class="gmail-s1"> '</span><span class="gmail-s2">--known-level1-dcache-linesize=64</span><span class="gmail-s1">',</span></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><span class="gmail-s1"> '</span><span class="gmail-s2">--known-level1-dcache-size=32768</span><span class="gmail-s1">',</span></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><span class="gmail-s1"> '</span><span class="gmail-s2">--known-memcmp-ok=1</span><span class="gmail-s1">',</span></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><span class="gmail-s1"> '</span><span class="gmail-s2">--known-mpi-c-double-complex=1</span><span class="gmail-s1">',</span></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><span class="gmail-s1"> '</span><span class="gmail-s2">--known-mpi-int64_t=1</span><span class="gmail-s1">',</span></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><span class="gmail-s1"> '</span><span class="gmail-s2">--known-mpi-long-double=1</span><span class="gmail-s1">',</span></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><span class="gmail-s1"> '</span><span class="gmail-s2">--known-mpi-shared-libraries=0</span><span class="gmail-s1">',</span></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><span class="gmail-s1"> '</span><span class="gmail-s2">--known-sdot-returns-double=0</span><span class="gmail-s1">',</span></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><span class="gmail-s1"> '</span><span class="gmail-s2">--known-sizeof-MPI_Comm=4</span><span class="gmail-s1">',</span></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><span class="gmail-s1"> '</span><span class="gmail-s2">--known-sizeof-MPI_Fint=4</span><span class="gmail-s1">',</span></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><span class="gmail-s1"> '</span><span class="gmail-s2">--known-sizeof-char=1</span><span class="gmail-s1">',</span></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><span class="gmail-s1"> '</span><span class="gmail-s2">--known-sizeof-double=8</span><span class="gmail-s1">',</span></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><span class="gmail-s1"> '</span><span class="gmail-s2">--known-sizeof-float=4</span><span class="gmail-s1">',</span></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><span class="gmail-s1"> '</span><span class="gmail-s2">--known-sizeof-int=4</span><span class="gmail-s1">',</span></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><span class="gmail-s1"> '</span><span class="gmail-s2">--known-sizeof-long-long=8</span><span class="gmail-s1">',</span></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><span class="gmail-s1"> '</span><span class="gmail-s2">--known-sizeof-long=8</span><span class="gmail-s1">',</span></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><span class="gmail-s1"> '</span><span class="gmail-s2">--known-sizeof-short=2</span><span class="gmail-s1">',</span></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><span class="gmail-s1"> '</span><span class="gmail-s2">--known-sizeof-size_t=8</span><span class="gmail-s1">',</span></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><span class="gmail-s1"> '</span><span class="gmail-s2">--known-sizeof-void-p=8</span><span class="gmail-s1">',</span></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><span class="gmail-s1"> '</span><span class="gmail-s2">--known-snrm2-returns-double=0</span><span class="gmail-s1">',</span></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><span class="gmail-s1"> '</span><span class="gmail-s2">--with-ar=ar</span><span class="gmail-s1">',</span></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><span class="gmail-s1"> '</span><span class="gmail-s2">--with-batch=1</span><span class="gmail-s1">',</span></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><span class="gmail-s1"> '</span><span class="gmail-s2">--with-cc=/opt/cray/craype/2.4.2/bin/cc</span><span class="gmail-s1">',</span></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><span class="gmail-s1"> '</span><span class="gmail-s2">--with-clib-autodetect=0</span><span class="gmail-s1">',</span></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><span class="gmail-s1"> '</span><span class="gmail-s2">--with-cmake=/home/zampins/local/bin/cmake</span><span class="gmail-s1">',</span></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><span class="gmail-s1"> '</span><span class="gmail-s2">--with-cxx=/opt/cray/craype/2.4.2/bin/CC</span><span class="gmail-s1">',</span></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><span class="gmail-s1"> '</span><span class="gmail-s2">--with-cxxlib-autodetect=0</span><span class="gmail-s1">',</span></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><span class="gmail-s1"> '</span><span class="gmail-s2">--with-debugging=1</span><span class="gmail-s1">',</span></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><span class="gmail-s1"> '</span><span class="gmail-s2">--with-dependencies=0</span><span class="gmail-s1">',</span></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><span class="gmail-s1"> '</span><span class="gmail-s2">--with-etags=0</span><span class="gmail-s1">',</span></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><span class="gmail-s1"> '</span><span class="gmail-s2">--with-fc=/opt/cray/craype/2.4.2/bin/ftn</span><span class="gmail-s1">',</span></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><span class="gmail-s1"> '</span><span class="gmail-s2">--with-fortran-datatypes=0</span><span class="gmail-s1">',</span></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><span class="gmail-s1"> '</span><span class="gmail-s2">--with-fortran-interfaces=0</span><span class="gmail-s1">',</span></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><span class="gmail-s1"> '</span><span class="gmail-s2">--with-fortranlib-autodetect=0</span><span class="gmail-s1">',</span></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><span class="gmail-s1"> '</span><span class="gmail-s2">--with-pthread=0</span><span class="gmail-s1">',</span></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><span class="gmail-s1"> '</span><span class="gmail-s2">--with-ranlib=ranlib</span><span class="gmail-s1">',</span></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><span class="gmail-s1"> '</span><span class="gmail-s2">--with-scalar-type=real</span><span class="gmail-s1">',</span></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><span class="gmail-s1"> '</span><span class="gmail-s2">--with-shared-ld=ar</span><span class="gmail-s1">',</span></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><span class="gmail-s1"> '</span><span class="gmail-s2">--with-shared-libraries=1</span><span class="gmail-s1">',</span></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><span class="gmail-s1"> '</span><span class="gmail-s2">PETSC_ARCH=arch-intel-debug</span><span class="gmail-s1">',</span></div></div><div class=""><br class=""></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">2017-06-13 15:34 GMT+02:00 Vaz, Guilherme<span class="Apple-converted-space"> </span><span dir="ltr" class=""><<a href="mailto:G.Vaz@marin.nl" target="_blank" class="">G.Vaz@marin.nl</a>></span>:<br class=""><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex;"><div dir="ltr" style="font-size: 12pt; background-color: rgb(255, 255, 255); font-family: Calibri, Arial, Helvetica, sans-serif;" class=""><p style="margin-top: 0px; margin-bottom: 0px;" class=""></p><div style="margin-top: 0px; margin-bottom: 0px;" class="">Dear Matthew,<br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class="">Thanks. It went further, but now I get:<br class=""></div><div class="">TESTING: configureMPIEXEC from config.packages.MPI(/zhome/<wbr class="">academic/HLRS/pri/iprguvaz/<wbr class="">ReFRESCO/Dev/trunk/Libs/build/<wbr class="">petsc-3.7.5/config/<wbr class="">BuildSystem/config/packages/<wbr class="">MPI.py:143)</div><span class=""><div class="">******************************<wbr class="">******************************<wbr class="">*******************</div><div class=""> UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details):</div><div class="">------------------------------<wbr class="">------------------------------<wbr class="">-------------------</div></span><div class="">Must give a default value for known-mpi-shared-libraries since executables cannot be run</div><div class="">******************************<wbr class="">******************************<wbr class="">*******************<br class=""></div><div class=""><br class=""></div><div class="">Last lines from the log:<br class=""></div><div class=""><div class=""> File "./config/configure.py", line 405, in petsc_configure</div><div class=""> framework.configure(out = sys.stdout)</div><div class=""> File "/zhome/academic/HLRS/pri/<wbr class="">iprguvaz/ReFRESCO/Dev/trunk/<wbr class="">Libs/build/petsc-3.7.5/config/<wbr class="">BuildSystem/config/framework.<wbr class="">py", line 1090, in configure</div><div class=""> self.processChildren()</div><div class=""> File "/zhome/academic/HLRS/pri/<wbr class="">iprguvaz/ReFRESCO/Dev/trunk/<wbr class="">Libs/build/petsc-3.7.5/config/<wbr class="">BuildSystem/config/framework.<wbr class="">py", line 1079, in processChildren</div><div class=""> self.serialEvaluation(self.<wbr class="">childGraph)</div><div class=""> File "/zhome/academic/HLRS/pri/<wbr class="">iprguvaz/ReFRESCO/Dev/trunk/<wbr class="">Libs/build/petsc-3.7.5/config/<wbr class="">BuildSystem/config/framework.<wbr class="">py", line 1060, in serialEvaluation</div><div class=""> child.configure()</div><div class=""> File "/zhome/academic/HLRS/pri/<wbr class="">iprguvaz/ReFRESCO/Dev/trunk/<wbr class="">Libs/build/petsc-3.7.5/config/<wbr class="">BuildSystem/config/package.py"<wbr class="">, line 791, in configure</div><div class=""> self.executeTest(self.<wbr class="">checkSharedLibrary)</div><div class=""> File "/zhome/academic/HLRS/pri/<wbr class="">iprguvaz/ReFRESCO/Dev/trunk/<wbr class="">Libs/build/petsc-3.7.5/config/<wbr class="">BuildSystem/config/base.py", line 126, in executeTest</div><div class=""> ret = test(*args,**kargs)</div><div class=""> File "/zhome/academic/HLRS/pri/<wbr class="">iprguvaz/ReFRESCO/Dev/trunk/<wbr class="">Libs/build/petsc-3.7.5/config/<wbr class="">BuildSystem/config/packages/<wbr class="">MPI.py", line 135, in checkSharedLibrary</div><div class=""> self.shared = self.libraries.checkShared('#<wbr class="">include <mpi.h>\n','MPI_Init','MPI_<wbr class="">Initialized','MPI_Finalize',<wbr class="">checkLink = self.checkPackageLink,<wbr class="">libraries = self.lib, defaultArg = 'known-mpi-shared-libraries', ex</div><div class="">ecutor = self.mpiexec)</div><div class=""> File "/zhome/academic/HLRS/pri/<wbr class="">iprguvaz/ReFRESCO/Dev/trunk/<wbr class="">Libs/build/petsc-3.7.5/config/<wbr class="">BuildSystem/config/libraries.<wbr class="">py", line 471, in checkShared</div><div class=""> if self.checkRun(defaultIncludes, body, defaultArg = defaultArg, executor = executor):</div><div class=""> File "/zhome/academic/HLRS/pri/<wbr class="">iprguvaz/ReFRESCO/Dev/trunk/<wbr class="">Libs/build/petsc-3.7.5/config/<wbr class="">BuildSystem/config/base.py", line 628, in checkRun</div><div class=""> (output, returnCode) = self.outputRun(includes, body, cleanup, defaultArg, executor)</div><div class=""> File "/zhome/academic/HLRS/pri/<wbr class="">iprguvaz/ReFRESCO/Dev/trunk/<wbr class="">Libs/build/petsc-3.7.5/config/<wbr class="">BuildSystem/config/base.py", line 598, in outputRun</div><div class=""> raise ConfigureSetupError('Must give a default value for '+defaultOutputArg+' since executables cannot be run')</div><div class=""><br class=""><span style="font-size: 12pt;" class="">Any ideas? Something related with </span><div class=""><div class=""> --with-shared-libraries=0 \ </div><div class=""> --with-batch=1 \</div><div class="">The first I set because it was in the cray example, and the second because aprun (the mpiexec of Cray) is not available in the frontend. <br class=""></div></div><div class=""><br class=""></div></div></div><span class=""><div class="">Thanks,<br class=""></div><div class=""><br class=""></div><div class="">Guilherme V.<br class=""></div><div style="color: rgb(33, 33, 33);" class=""></div><br class=""><font style="font-family: Verdana; font-size: 8pt; color: rgb(125, 125, 125); font-weight: bold;" class="">dr. ir.</font><font style="font-family: Verdana; font-size: 8pt; color: rgb(125, 125, 125); font-weight: bold;" class=""><span class="Apple-converted-space"> </span></font><font style="font-family: Verdana; font-size: 8pt; color: rgb(125, 125, 125); font-weight: bold;" class="">Guilherme</font><font style="font-family: Verdana; font-size: 8pt; color: rgb(125, 125, 125); font-weight: bold;" class=""><span class="Apple-converted-space"> </span></font><font style="font-family: Verdana; font-size: 8pt; color: rgb(125, 125, 125); font-weight: bold;" class="">Vaz</font><font size="3" face="Segoe UI" class=""></font><font style="font-family: Verdana; font-size: 8pt; color: rgb(125, 125, 125); font-weight: bold;" class=""><span class="Apple-converted-space"> </span>|<span class="Apple-converted-space"> </span></font><font style="font-family: Verdana; font-size: 8pt; color: rgb(125, 125, 125); font-weight: bold;" class="">CFD Research Coordinator / Senior CFD Researcher<span class="Apple-converted-space"> </span></font><font style="font-family: Verdana; font-size: 8pt; color: rgb(125, 125, 125); font-weight: bold;" class=""> |<span class="Apple-converted-space"> </span></font><font style="font-family: Verdana; font-size: 8pt; color: rgb(125, 125, 125); font-weight: bold;" class="">Research & Development</font><br class=""><font style="font-family: Verdana; font-size: 9pt; color: rgb(125, 125, 125); font-weight: bold;" class="">MARIN</font><font style="font-family: Verdana; font-size: 8pt; color: rgb(125, 125, 125);" class=""><span class="Apple-converted-space"> </span>| T<span class="Apple-converted-space"> </span></font><font style="font-family: Verdana; font-size: 8pt; color: rgb(125, 125, 125);" class="">+31 317 49 33 25</font><font style="font-family: Verdana; font-size: 8pt; color: rgb(125, 125, 125);" class=""><span class="Apple-converted-space"> </span>| M<span class="Apple-converted-space"> </span></font><font style="font-family: Verdana; font-size: 8pt; color: rgb(125, 125, 125);" class="">+31 621 13 11 97</font><font color="#7d7d7d" size="2" face="Segoe UI" class=""></font><font style="font-family: Verdana; font-size: 8pt;" class=""><span class="Apple-converted-space"> </span>|<span class="Apple-converted-space"> </span></font><span style="font-family: Verdana; font-size: 8pt;" class=""><a href="mailto:G.Vaz@marin.nl" title="" target="_blank" style="font-family: Verdana; font-size: 8pt;" class=""><span style="font-family: Verdana; font-size: 8pt;" class="">G.Vaz@marin.nl</span></a></span><font color="#7d7d7d" size="2" face="Segoe UI" class=""></font><font style="font-family: Verdana; font-size: 8pt;" class=""> |<span class="Apple-converted-space"> </span></font><span style="font-family: Verdana; font-size: 8pt;" class=""><a href="http://www.marin.nl/" title="" target="_blank" style="font-family: Verdana; font-size: 8pt;" class=""><span style="font-family: Verdana; font-size: 8pt;" class="">www.marin.nl</span></a></span><br class=""><br class=""><a href="https://www.linkedin.com/company/marin" target="_blank" class=""><span id="cid:image628296.PNG@fbf8c989.498af4c5"><image628296.PNG></span></a> <a href="http://www.youtube.com/marinmultimedia" target="_blank" class=""><span id="cid:imagecdd6dd.PNG@12c78be7.439e8e7b"><imagecdd6dd.PNG></span></a> <a href="https://twitter.com/MARIN_nieuws" target="_blank" class=""><span id="cid:imageae7ad3.PNG@a7352b8f.48aae75c"><imageae7ad3.PNG></span></a> <a href="https://www.facebook.com/marin.wageningen" target="_blank" class=""><span id="cid:image9aa6ed.PNG@868e7665.448635bd"><image9aa6ed.PNG></span></a><br class=""></span><font color="#7d7d7d" size="2" face="Verdana" style="font-family: Verdana; font-size: 8pt;" class="">MARIN news:<span class="Apple-converted-space"> </span><font style="font-family: Verdana; font-size: 8pt;" class=""><span style="font-family: Verdana; font-size: 8pt;" class=""><a href="http://www.marin.nl/web/News/News-items/MARIN-deelt-onderzoek-tijdens-RD-Seminar-21-juni-2017.htm" title="" target="_blank" style="font-family: Verdana; font-size: 8pt;" class=""><span style="font-family: Verdana; font-size: 8pt;" class="">MARIN deelt onderzoek tijdens R&D Seminar, 21 juni 2017</span></a></span></font></font><p style="margin-top: 0px; margin-bottom: 0px;" class=""></p><p style="margin-top: 0px; margin-bottom: 0px;" class=""></p><div style="color: rgb(33, 33, 33);" class=""><hr style="display: inline-block; width: 1337.265625px;" class=""><div id="m_4042342488001796776divRplyFwdMsg" dir="ltr" class=""><font face="Calibri, sans-serif" style="font-size: 11pt;" class=""><b class="">From:</b><span class="Apple-converted-space"> </span>Matthew Knepley <<a href="mailto:knepley@gmail.com" target="_blank" class="">knepley@gmail.com</a>><br class=""><b class="">Sent:</b><span class="Apple-converted-space"> </span>Tuesday, June 13, 2017 2:34 PM<br class=""><b class="">To:</b><span class="Apple-converted-space"> </span>Vaz, Guilherme<br class=""><b class="">Cc:</b><span class="Apple-converted-space"> </span>PETSc<br class=""><b class="">Subject:</b><span class="Apple-converted-space"> </span>Re: [petsc-users] PETSC on Cray Hazelhen</font><div class=""> </div></div><div class=""><div class="h5"><div class=""><div dir="ltr" class=""><div class="gmail_extra"><div class="gmail_quote">On Tue, Jun 13, 2017 at 3:48 AM, Vaz, Guilherme<span class="Apple-converted-space"> </span><span dir="ltr" class=""><<a href="mailto:G.Vaz@marin.nl" target="_blank" class="">G.Vaz@marin.nl</a>></span><span class="Apple-converted-space"> </span>wrote:<br class=""><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex;"><div dir="ltr" style="font-size: 12pt; background-color: rgb(255, 255, 255); font-family: Calibri, Arial, Helvetica, sans-serif;" class=""><p style="margin-top: 0px; margin-bottom: 0px;" class=""></p><div style="margin-top: 0px; margin-bottom: 0px;" class="">Dear all,<br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><span style="font-size: 12pt;" class="">I am trying to install PETSC on a Cray XC40 system (Hazelhen) with the usual Cray wrappers for Intel compilers, with some chosen external packages and MKL libraries.</span><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class="">I read some threads in the mailing list about this, and I tried the petsc-3.7.5/config/examples/ar<wbr class="">ch-cray-xt6-pkgs-opt.py config<wbr class="">uration options. After trying this (please abstract from my own env vars),<br class=""></div><div class="">CONFOPTS="--prefix=$PETSC_INST<wbr class="">ALL_DIR \</div><div class=""> --with-cc=cc \</div><div class=""> --with-cxx=CC \</div><div class=""> --with-fc=ftn \</div><div class=""> --with-clib-autodetect=0 \</div><div class=""> --with-cxxlib-autodetect=0 \</div><div class=""> --with-fortranlib-autodetect=0 \</div><div class=""> --COPTFLAGS=-fast -mp \</div><div class=""> --CXXOPTFLAGS=-fast -mp \</div><div class=""> --FOPTFLAGS=-fast -mp \<br class=""></div><div class=""> --with-shared-libraries=0 \ </div><div class=""> --with-batch=1 \</div><div class=""> --with-x=0 \</div><div class=""> --with-mpe=0 \</div><div class=""> --with-debugging=0 \</div><div class=""> --download-superlu_dist=$SOURC<wbr class="">E_DIR/$SUPERLU_SOURCE_FILE \</div><div class=""> --with-blas-lapack-dir=$BLASDI<wbr class="">R \</div><div class=""> --download-parmetis=$SOURCE_DI<wbr class="">R/$PARMETIS_SOURCE_FILE \</div><div class=""> --download-metis=$SOURCE_DIR/$<wbr class="">METIS_SOURCE_FILE \</div><div class=""> --with-external-packages-dir=$<wbr class="">INSTALL_DIR \</div><div class=""> --with-ssl=0<span class="Apple-converted-space"> </span><span style="font-size: 12pt;" class="">"</span></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class="">I get the following error:<br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""></div><div class="">TESTING: checkFortranLinkingCxx from config.compilers(/zhome/academ<wbr class="">ic/HLRS/pri/iprguvaz/ReFRESCO/<wbr class="">Dev/trunk/Libs/build/petsc-3.<wbr class="">7.5/config/BuildSystem/config/<wbr class="">compilers.py:1097)</div><div class="">******************************<wbr class="">******************************<wbr class="">*******************</div><div class=""> UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details):</div><div class="">------------------------------<wbr class="">------------------------------<wbr class="">-------------------</div><div class="">Fortran could not successfully link C++ objects</div><div class="">******************************<wbr class="">******************************<wbr class="">*******************</div><div class=""><br class="">Does it ring a bell? Any tips?</div></div></blockquote><div class=""><br class=""></div><div class="">You turned off autodetection, so it will not find libstdc++. That either has to be put in LIBS, or I would recommend</div><div class=""><br class=""></div><div class=""> --with-cxx=0</div><div class=""><br class=""></div><div class="">since nothing you have there requires C++.</div><div class=""><br class=""></div><div class=""> Thanks,</div><div class=""><br class=""></div><div class=""> Matt</div><div class=""> </div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex;"><div dir="ltr" style="font-size: 12pt; background-color: rgb(255, 255, 255); font-family: Calibri, Arial, Helvetica, sans-serif;" class=""><div class="">Thanks,<br class=""></div><div class="">Guilherme V.<br class=""></div><br class=""><font style="font-family: Verdana; font-size: 8pt; color: rgb(125, 125, 125); font-weight: bold;" class="">dr. ir.</font><font style="font-family: Verdana; font-size: 8pt; color: rgb(125, 125, 125); font-weight: bold;" class=""><span class="Apple-converted-space"> </span></font><font style="font-family: Verdana; font-size: 8pt; color: rgb(125, 125, 125); font-weight: bold;" class="">Guilherme</font><font style="font-family: Verdana; font-size: 8pt; color: rgb(125, 125, 125); font-weight: bold;" class=""><span class="Apple-converted-space"> </span></font><font style="font-family: Verdana; font-size: 8pt; color: rgb(125, 125, 125); font-weight: bold;" class="">Vaz</font><font size="3" face="Segoe UI" class=""></font><font style="font-family: Verdana; font-size: 8pt; color: rgb(125, 125, 125); font-weight: bold;" class=""><span class="Apple-converted-space"> </span>|<span class="Apple-converted-space"> </span></font><font style="font-family: Verdana; font-size: 8pt; color: rgb(125, 125, 125); font-weight: bold;" class="">CFD Research Coordinator / Senior CFD Researcher<span class="Apple-converted-space"> </span></font><font style="font-family: Verdana; font-size: 8pt; color: rgb(125, 125, 125); font-weight: bold;" class=""> |<span class="Apple-converted-space"> </span></font><font style="font-family: Verdana; font-size: 8pt; color: rgb(125, 125, 125); font-weight: bold;" class="">Research & Development</font><br class=""><font style="font-family: Verdana; font-size: 9pt; color: rgb(125, 125, 125); font-weight: bold;" class="">MARIN</font><font style="font-family: Verdana; font-size: 8pt; color: rgb(125, 125, 125);" class=""><span class="Apple-converted-space"> </span>| T<span class="Apple-converted-space"> </span></font><font style="font-family: Verdana; font-size: 8pt; color: rgb(125, 125, 125);" class=""><a href="tel:+31%20317%20493%20325" value="+31317493325" target="_blank" class="">+31 317 49 33 25</a></font><font style="font-family: Verdana; font-size: 8pt; color: rgb(125, 125, 125);" class=""><span class="Apple-converted-space"> </span>| M<span class="Apple-converted-space"> </span></font><font style="font-family: Verdana; font-size: 8pt; color: rgb(125, 125, 125);" class="">+31 621 13 11 97</font><font color="#7d7d7d" size="2" face="Segoe UI" class=""></font><font style="font-family: Verdana; font-size: 8pt;" class=""><span class="Apple-converted-space"> </span>|<span class="Apple-converted-space"> </span></font><span style="font-family: Verdana; font-size: 8pt;" class=""><a href="mailto:G.Vaz@marin.nl" title="" target="_blank" style="font-family: Verdana; font-size: 8pt;" class=""><span style="font-family: Verdana; font-size: 8pt;" class="">G.Vaz@marin.nl</span></a></span><font color="#7d7d7d" size="2" face="Segoe UI" class=""></font><font style="font-family: Verdana; font-size: 8pt;" class=""> |<span class="Apple-converted-space"> </span></font><span style="font-family: Verdana; font-size: 8pt;" class=""><a href="http://www.marin.nl/" title="" target="_blank" style="font-family: Verdana; font-size: 8pt;" class=""><span style="font-family: Verdana; font-size: 8pt;" class="">www.marin.nl</span></a></span><br class=""><br class=""><a href="https://www.linkedin.com/company/marin" target="_blank" class=""><span id="cid:imageb0ee12.PNG@97f5ea85.48ac3c32"><imageb0ee12.PNG></span></a> <a href="http://www.youtube.com/marinmultimedia" target="_blank" class=""><span id="cid:imaged8f08c.PNG@bb234aec.4683311a"><imaged8f08c.PNG></span></a> <a href="https://twitter.com/MARIN_nieuws" target="_blank" class=""><span id="cid:imagedacd80.PNG@f0201308.4eb9c37d"><imagedacd80.PNG></span></a> <a href="https://www.facebook.com/marin.wageningen" target="_blank" class=""><span id="cid:image1bd020.PNG@2555c18e.439addb5"><image1bd020.PNG></span></a><br class=""><font color="#7d7d7d" size="2" face="Verdana" style="font-family: Verdana; font-size: 8pt;" class="">MARIN news:<span class="Apple-converted-space"> </span><font style="font-family: Verdana; font-size: 8pt;" class=""><span style="font-family: Verdana; font-size: 8pt;" class=""><a href="http://www.marin.nl/web/News/News-items/Maritime-Safety-seminar-September-12-Singapore.htm" title="" target="_blank" style="font-family: Verdana; font-size: 8pt;" class=""><span style="font-family: Verdana; font-size: 8pt;" class="">Maritime Safety seminar, September 12, Singapore</span></a></span></font></font><p style="margin-top: 0px; margin-bottom: 0px;" class=""></p><div style="margin-top: 0px; margin-bottom: 0px;" class=""><u class=""></u></div><u class=""></u><u class=""></u><u class=""></u></div></blockquote></div><br class=""><br clear="all" class=""><div class=""><br class=""></div>--<span class="Apple-converted-space"> </span><br class=""><div class="m_4042342488001796776gmail_signature"><div dir="ltr" class=""><div class="">What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br class="">-- Norbert Wiener</div><div class=""><br class=""></div><div class=""><a href="http://www.caam.rice.edu/~mk51/" target="_blank" class="">http://www.caam.rice.edu/~<wbr class="">mk51/</a><br class=""></div></div></div></div></div></div></div></div></div><u class=""></u><p style="margin-top: 0px; margin-bottom: 0px;" class=""></p><u class=""></u><u class=""></u><u class=""></u></div></blockquote></div><br class=""><br clear="all" class=""><div class=""><br class=""></div>--<span class="Apple-converted-space"> </span><br class=""><div class="gmail_signature">Stefano</div></div></div></div><p style="margin-top: 0px; margin-bottom: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""></p></div></blockquote></div><br class=""></div></body></html>