I am trying to compile some software written in 2009. I'm not a software engineer, just trying to help a user. Let me first say I'm using PGI Portland compilers, but I am not sure that has anything to do with the problem. I am also not sure that I can get in touch with the author of the software, but a lot has changed since she wrote it in 2009. Anyway in trying to compile, I get the error:
Code:
ld: -lpthread not found
As best as I can find, pthread is now part of glibc, please correct me if I am wrong. I found a library in /usr/lib64/libpthread and tried to like to it:
Code:
-L/usr/lib64 -lpthread
but received the same error. I am out of things to try. I am working with a meteorologist, who has had the software sitting around. She does have a collaborator who I spoke to today, that has it running, but he's on CentOS (and in another state). I didn't think to ask what version of CentOS he was running, but I can find out. It has taken me days to get to this point. The software requires NetCDF, compiled by the Portland compilers, as well as HDF5, again compiled by the Portland compilers. I have downgraded the two applications to match the user who has his software working . This may be more info than anyone is looking for, it might be something very simple, but I can't figure it out. Thanks.