Closed dlaporte closed 7 months ago
Good to know! I use oneapi for more than oobabooga, so my oneapi source is in .bashrc and just runs when I open a terminal.
Does running source /opt/intel/oneapi/setvars.sh
in terminal before starting the script also solve the issue? If it does, it might be better to export servars.sh. From what I understand, that catches more Intel specific libraries.
From: David LaPorte @.> Sent: Sunday, January 28, 2024 4:21:26 PM To: kcyarn/oobabooga_intel_arc @.> Cc: Subscribed @.***> Subject: [kcyarn/oobabooga_intel_arc] LD_LIBRARY_PATH issue (Issue #1)
Thank you for these scripts! When running run_arc.sh, I got the following error:
OSError: libmkl_intel_lp64.so.2: cannot open shared object file: No such file or directory
Adding:
export LD_LIBRARY_PATH=/opt/intel/oneapi/2024.0/lib
to the exports at the top fixed it!
— Reply to this email directly, view it on GitHubhttps://github.com/kcyarn/oobabooga_intel_arc/issues/1, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AACVH5GKHZPK7WZ2VAHC243YQ26NLAVCNFSM6AAAAABCOOUXGKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGEYDIMZVGI3TEOA. You are receiving this because you are subscribed to this thread.Message ID: @.***>
Yes, sourcing /opt/intel/oneapi/setvars.sh does work and agreed that it seems like a cleaner option. Thanks!
From: Kristle Chester @.> Sent: Sunday, January 28, 2024 17:16 To: kcyarn/oobabooga_intel_arc @.> Cc: David LaPorte @.>; Author @.> Subject: Re: [kcyarn/oobabooga_intel_arc] LD_LIBRARY_PATH issue (Issue #1)
Good to know! I use oneapi for more than oobabooga, so my oneapi source is in .bashrc and just runs when I open a terminal.
Does running source /opt/intel/oneapi/setvars.sh
in terminal before starting the script also solve the issue? If it does, it might be better to export servars.sh. From what I understand, that catches more Intel specific libraries.
From: David LaPorte @.<mailto:@.>> Sent: Sunday, January 28, 2024 4:21:26 PM To: kcyarn/oobabooga_intel_arc @.<mailto:@.>> Cc: Subscribed @.<mailto:@.>> Subject: [kcyarn/oobabooga_intel_arc] LD_LIBRARY_PATH issue (Issue #1)
Thank you for these scripts! When running run_arc.sh, I got the following error:
OSError: libmkl_intel_lp64.so.2: cannot open shared object file: No such file or directory
Adding:
export LD_LIBRARY_PATH=/opt/intel/oneapi/2024.0/lib
to the exports at the top fixed it!
— Reply to this email directly, view it on GitHubhttps://github.com/kcyarn/oobabooga_intel_arc/issues/1, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AACVH5GKHZPK7WZ2VAHC243YQ26NLAVCNFSM6AAAAABCOOUXGKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGEYDIMZVGI3TEOA. You are receiving this because you are subscribed to this thread.Message ID: @.<mailto:@.>>
— Reply to this email directly, view it on GitHubhttps://github.com/kcyarn/oobabooga_intel_arc/issues/1#issuecomment-1913739205, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AALZX4IVX6FS22LWMXGNXGTYQ3EZDAVCNFSM6AAAAABCOOUXGKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJTG4ZTSMRQGU. You are receiving this because you authored the thread.Message ID: @.**@.>>
Thank you for these scripts! When running run_arc.sh, I got the following error:
OSError: libmkl_intel_lp64.so.2: cannot open shared object file: No such file or directory
Adding:
export LD_LIBRARY_PATH=/opt/intel/oneapi/2024.0/lib
to the exports at the top fixed it!