incorrect AMD math library link order

Wei-Keng Liao wkliao at northwestern.edu
Wed Mar 20 09:53:30 CDT 2024


Hi, Max

Thanks for the update.

Wei-keng

On Mar 19, 2024, at 7:16 AM, Max R. Dechantsreiter <max at performancejones.com> wrote:

Dear Wei-Keng,

After much trial-and-error, I found that by configuring PnetCDF with

export LIBS='-lamdlibm -lm'

(NOT LIBS='-lamdlibm'), everything was linked with '-lamdlibm -lm'
instead of '-lm -lamdlibm' as it had been before, so the AMD math
library entries should be used in place of their libm counterparts.

I cannot explain why both libamdlibm and libm need to be specified;
but it worked.

Best regards,

Max
---
Max R. Dechantsreiter
President
Performance Jones L.L.C.
max at performancejones.com
Skype: PerformanceJones (UTC+01:00)
+1 414 446-3100 (telephone/voicemail)
https://urldefense.com/v3/__http://www.linkedin.com/in/benchmarking__;!!Dq0X2DkFhyF93HkjWTBQKhk!Q2AZDTjswD1rqsCAzWtdSZ4VJsGlzTZQSlC3-Sg0gBVD9rZmv5PEmUKe1-Q7euvrMz7K7oHx8caeSSKzh2fs4As$

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/parallel-netcdf/attachments/20240320/8f3835af/attachment.html>


More information about the parallel-netcdf mailing list