sandialabs / Albany

Sandia National Laboratories' Albany multiphysics code
Other
282 stars 89 forks source link

Question: where is Omega_h checked out to when it is on? #1002

Closed ikalash closed 1 year ago

ikalash commented 1 year ago

I am trying to figure out to what dir is Omega_h supposed to be cloned to relative to the Albany dir when it is enabled. @cwsmith , @bartgol, can you please let me know? This is important to try to troubleshoot some clone issues on one of the Sandia nightly testing machines.

cwsmith commented 1 year ago

@ikalash It looks like it should be /path/to/Albany/build/dir/tpls/omegah/Omega_h-prefix/src/Omega_h.

ikalash commented 1 year ago

Ah ok thanks @cwsmith ! I was looking in the tpls/omegah dir and it appeared this was a build/install dir not a clone dir. I guess I wasn't looking deep enough.

Is there a way to tell Albany to use an existing Omega_h clone to build Omega_h rather than cloning it? I'm asking b/c I can't get Omega_h to clone properly with the scripts that are in Albany via the cronjob that runs there. A workaround would be to have it get cloned separately.

bartgol commented 1 year ago

We first call find_package to see if there's an available installation. Setting the env var Omega_h_ROOT should make find_package look there.

ikalash commented 1 year ago

Thanks @bartgol . Does omega_h need to be compiled and installed or you can just point to the source code if it has been cloned?

cwsmith commented 1 year ago

The 'external' option currently only supports an existing install (not just the source).