$ build-env-dive nalu-wind
+ spack build-env --dump /Users/psakiev/scratch/exawind-manager/spack-manager/.tmp/spack-build-env.txt nalu-wind
==> Dumping a source-able environment to /Users/psakiev/scratch/exawind-manager/spack-manager/.tmp/spack-build-env.txt
+ bash --rcfile <(echo 'export SPACK_ENV=/Users/psakiev/scratch/exawind-manager/environments/nalu-fields; . /Users/psakiev/scratch/exawind-manager/spack-manager/.tmp/spack-build-env.txt; spack cd -b nalu-wind')
==> Error: Package 'spack.pkg.exawind.nalu-wind' not found.
Use 'spack create' to create a new package.
Did you mean one of the following packages?
nalu-wind
amr-wind
libunwind
The issue is we modify PYTHONPATH to preserve the imports of our custom packages. Just exporting the build env breaks.
Need to preserve this or more of the user env.
The issue is we modify
PYTHONPATH
to preserve the imports of our custom packages. Just exporting the build env breaks. Need to preserve this or more of the user env.