Skip to content

Commit

Permalink
Update spack for latest changes in crtm, esmf and mapl (#315)
Browse files Browse the repository at this point in the history
* Update submodule pointer for spack
* Update .github/workflows/macos-dom.yaml
* Update openmpi version in doc/source/Platforms.rst instructions
* Remove global-workflow-env from Dom's macOS build
* Update doc/source/KnownIssues.rst
  • Loading branch information
climbfuji authored Aug 24, 2022
1 parent ecc33fe commit 0a73b3e
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 5 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/macos-dom.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,15 @@ jobs:
spack external find
spack external find perl
spack external find python@3
spack external find python
spack external find wget
PATH="/usr/local/opt/qt@5/bin:${PATH}" spack external find qt@5
PATH="/usr/local/opt/qt@5/bin:${PATH}" spack external find qt
PATH="/usr/local/opt/curl/bin:${PATH}" spack external find curl
spack compiler find
# https://github.com/dtcenter/MET/issues/2239
spack remove global-workflow-env
spack concretize
spack install --fail-fast
Expand Down
6 changes: 6 additions & 0 deletions doc/source/KnownIssues.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ General

There are several build errors with Python 3.10, for example Python packages being installed in nested subdirectories ``local`` of what is supposed to be the target installation directory. We therefore strongly recommend using Python 3.8 or 3.9.

3. Issues starting/finding ``ecflow_server`` due to a mismatch of hostnames
On some systems, ``ecflow_server`` gets confused by multiple hostnames, e.g. ``localhost`` and ``MYORG-L-12345``. The ``ecflow_start.sh`` script reports the hostname it wants to use. This name (or both) must be in ``/etc/hosts`` in the correct address line, often the loopback address (``127.0.0.1``).

==============================
NASA Discover
==============================
Expand Down Expand Up @@ -61,3 +64,6 @@ macOS

4. Errors such as ``Symbol not found: __cg_png_create_info_struct``
Can happen when trying to use the raster plotting scripts in ``fv3-jedi-tools``. In that case, exporting ``DYLD_LIBRARY_PATH=/usr/lib/:$DYLD_LIBRARY_PATH`` can help. If ``git`` commands fail after this, you might need to verify where ``which git`` points to (Homebrew vs module) and unload the ``git`` module.

5. Error building MET 10.1.1.20220419 build error on macOS Monterey 12.1
See https://github.com/NOAA-EMC/spack-stack/issues/316. Note that this error does not occur in the macOS CI tests.
4 changes: 2 additions & 2 deletions doc/source/Platforms.rst
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ Remember to activate the ``lua`` module environment and have MacTeX in your sear
.. code-block:: console
spack config add "packages:python:buildable:False"
spack config add "packages:all:providers:mpi:[[email protected].3]"
spack config add "packages:all:providers:mpi:[[email protected].4]"
spack config add "packages:all:compiler:[[email protected]]"
7. Optionally, edit site config files and common config files, for example to remove duplicate versions of external packages that are unwanted, add specs in ``envs/jedi-ufs.mymacos/spack.yaml``, etc.
Expand Down Expand Up @@ -711,7 +711,7 @@ It is recommended to increase the stacksize limit by using ``ulimit -S -s unlimi
# Example for Red Hat 8 following the above instructions
spack config add "packages:python:buildable:False"
spack config add "packages:all:providers:mpi:[[email protected].3]"
spack config add "packages:all:providers:mpi:[[email protected].4]"
spack config add "packages:all:compiler:[[email protected]]"
# Example for Ubuntu 20.04 following the above instructions
Expand Down
2 changes: 1 addition & 1 deletion spack
Submodule spack updated from 8a949c to 5fbc9b

0 comments on commit 0a73b3e

Please sign in to comment.