Dear developers, I have a problem on installing libmesh with petsc.
I configured petsc with --with-shared-libraries=0. (I have to, on my cluster) Then I configure libmesh with ./configure --enable-parmesh --prefix=$LIBMESH_DIR --with-methods=opt --with-dof-id-bytes=8 It outputs error like this: CXX src/utils/libmesh_opt_la-utility.lo CXX src/utils/libmesh_opt_la-xdr_cxx.lo CXXLD libmesh_opt.la /usr/bin/ld: /home/liluo/lib/petsc-3.4/mpich/lib/libpetsc.a(str.c.o): relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC /home/liluo/lib/petsc-3.4/mpich/lib/libpetsc.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[1]: *** [libmesh_opt.la] Error 1 make[1]: Leaving directory `/home/liluo/lib/libmesh-0.9.3' make: *** [all-recursive] Error 1 bash-3.2$ How can I do with ' shared object'? Thank you. -- Li Luo https://sites.google.com/site/rolyliluo/ Shenzhen Institutes of Advanced Technology Address: 1068 Xueyuan Avenue, Shenzhen University Town, Shenzhen, P.R.China Tel: +86-15899753087 [email protected] ------------------------------------------------------------------------------ _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
