[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Linking Static Library to PETSc code



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)