<div dir="ltr">Hi,<div><br></div><div>I am configuring petsc on NERSC/Edison with the following configure arguments:</div><div><br></div><div><div>--with-debugging=1 --with-shared-libraries=0 --prefix=/global/homes/g/gpau/clm-rom/install/t</div><div>pls --with-cxx-dialect=C++11 --download-elemental --download-mumps --download-scalapack --do</div><div>wnload-parmetis --download-metis --download-hdf5 --download-netcdf --with-x=0 --with-cc=/opt</div><div>/cray/craype/2.3.1/bin/cc --with-cxx=/opt/cray/craype/2.3.1/bin/CC --with-fc=/opt/cray/crayp</div><div>e/2.3.1/bin/ftn</div><div><br></div><div>but it seems like the --with-shared-libraries=0 is not propagated when building elemental.  In the end I get the following error:</div><div><br></div><div><div>gmake[3]: Leaving directory `/global/u1/g/gpau/clm-rom/build/tpl-build/petsc/petsc-3.6.1-sou</div><div>rce/arch-linux2-c-debug/externalpackages/Elemental-0.85-p1/build'/usr/bin/ld: /usr/common/us</div><div>g/darshan/2.3.0/lib/libdarshan-mpi-io.a(darshan-mpi-io.o): relocation R_X86_64_32 against `.</div><div>rodata' can not be used when making a shared object; recompile with -fPIC</div></div><div><br></div><div>Any help will be appreciated.  Attached is the configure log file.</div><div><br></div><div>Thanks,</div><div>George</div><div><br></div><div><br></div>-- <br><div class="gmail_signature"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">George Pau</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Earth Sciences Division</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Lawrence Berkeley National Laboratory</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">One Cyclotron, MS 74-120</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Berkeley, CA 94720</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">(510) 486-7196<br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><a href="mailto:gpau@lbl.gov" style="color:rgb(17,85,204);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)" target="_blank">gpau@lbl.gov</a><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><a href="http://esd.lbl.gov/about/staff/georgepau/" style="color:rgb(17,85,204);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)" target="_blank">http://esd.lbl.gov/about/staff/georgepau/</a><br></div>
</div></div>