You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So on a machine that can't support AMGX calling using AMGX gives an error. But it only gives that error the first time it's called! (See code below.)
Because using AMGXonly errors the first time, an approach like
const hasamgx =tryusing AMGX
truecatchfalseend
won't work.
It would be good if using AMGX would always work. Otherwise developers need to figure out ways to load AMGX conditionally based on the machine. Any suggestions on how to do that? Or what's the best way to conditionally load AMGX? Is there, for example, a way to check whether libamgxsh exists or can be installed on the machine?
So on a machine that can't support AMGX calling
using AMGX
gives an error. But it only gives that error the first time it's called! (See code below.)Because
using AMGX
only errors the first time, an approach likewon't work.
It would be good if
using AMGX
would always work. Otherwise developers need to figure out ways to load AMGX conditionally based on the machine. Any suggestions on how to do that? Or what's the best way to conditionally load AMGX? Is there, for example, a way to check whetherlibamgxsh
exists or can be installed on the machine?cc @glwagner, @elise-palethorpe
The text was updated successfully, but these errors were encountered: