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
{{ message }}
This repository was archived by the owner on Aug 20, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 20, 2026. It is now read-only.
[bug]: Unable to locate a modulefile for 'spack/spack' in build-wrf.shand build_wps.sh #712
When running the build-wrf.sh or build-wps.sh script in the apps/wrf directory, the build process fails with an error message indicating that the necessary module files cannot be located:
Specifically, in this script SHARED_APP variable is set to the apps directory, and the script assumes that the necessary module files are located in this directory. However, apps directory, copied from this repository does not include the modulefiles required in this line and exits with the following error:
ModuleCmd_Use.c(231):ERROR:64: Directory '/apps/modulefiles' not found
ModuleCmd_Load.c(213):ERROR:105: Unable to locate a modulefile for 'spack/spack'
/apps/wrf/build_wrf.sh: line 67: source: filename argument required
source: usage: source filename [arguments]
This error occurs because the necessary module files are not present in the directory specified by SHARED_APP and it is also missing in the repository.
changed the title [-]Bug: Unable to locate a modulefile for 'spack/spack' in `build-wrf.sh`and `build_wps.sh`[/-][+][bug]: Unable to locate a modulefile for 'spack/spack' in `build-wrf.sh`and `build_wps.sh`[/+]on Mar 24, 2023
Did you install spack using apps/spack/build_spack.sh (See wrf prerequisites (in readme)), this script creates the missing spack modulefile in SHARED_APP.
Activity
[-]Bug: Unable to locate a modulefile for 'spack/spack' in `build-wrf.sh`and `build_wps.sh`[/-][+][bug]: Unable to locate a modulefile for 'spack/spack' in `build-wrf.sh`and `build_wps.sh`[/+]garvct commentedon Mar 28, 2023
Did you install spack using apps/spack/build_spack.sh (See wrf prerequisites (in readme)), this script creates the missing spack modulefile in SHARED_APP.