Linking Static Library to PETSc code

Tim Stitt timothy.stitt at ichec.ie
Fri Nov 16 09:12:15 CST 2007


PETSc Developers,

I am trying to link a self-written static library to my PETSc code but 
during the compile and link phase I keep getting the following link 
error with my library:

"could not read symbols: Bad value"

Can anyone suggest how I can call external routines from my PETSc code 
which are packaged in an external static library without getting this error?

Thanks,

Tim.

-- 
Dr. Timothy Stitt <timothy_dot_stitt_at_ichec.ie>
HPC Application Consultant - ICHEC (www.ichec.ie)

Dublin Institute for Advanced Studies
5 Merrion Square - Dublin 2 - Ireland

+353-1-6621333 (tel) / +353-1-6621477 (fax)




More information about the petsc-users mailing list