[petsc-users] configure error with --with-shared-libraries=0 --download-elemental

George Pau gpau at lbl.gov
Tue Aug 4 12:22:18 CDT 2015


Hi,

I am configuring petsc on NERSC/Edison with the following configure
arguments:

--with-debugging=1 --with-shared-libraries=0
--prefix=/global/homes/g/gpau/clm-rom/install/t
pls --with-cxx-dialect=C++11 --download-elemental --download-mumps
--download-scalapack --do
wnload-parmetis --download-metis --download-hdf5 --download-netcdf
--with-x=0 --with-cc=/opt
/cray/craype/2.3.1/bin/cc --with-cxx=/opt/cray/craype/2.3.1/bin/CC
--with-fc=/opt/cray/crayp
e/2.3.1/bin/ftn

but it seems like the --with-shared-libraries=0 is not propagated when
building elemental.  In the end I get the following error:

gmake[3]: Leaving directory
`/global/u1/g/gpau/clm-rom/build/tpl-build/petsc/petsc-3.6.1-sou
rce/arch-linux2-c-debug/externalpackages/Elemental-0.85-p1/build'/usr/bin/ld:
/usr/common/us
g/darshan/2.3.0/lib/libdarshan-mpi-io.a(darshan-mpi-io.o): relocation
R_X86_64_32 against `.
rodata' can not be used when making a shared object; recompile with -fPIC

Any help will be appreciated.  Attached is the configure log file.

Thanks,
George


-- 
George Pau
Earth Sciences Division
Lawrence Berkeley National Laboratory
One Cyclotron, MS 74-120
Berkeley, CA 94720

(510) 486-7196
gpau at lbl.gov
http://esd.lbl.gov/about/staff/georgepau/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20150804/bfa590b2/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: petsc-configure-out.log
Type: application/octet-stream
Size: 210962 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20150804/bfa590b2/attachment-0001.obj>


More information about the petsc-users mailing list