Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

Installation error: fatal: not a git repository (or any parent up to mount point /lus)


Dear experts,

I met this error when I tried to install WRF 4.5.2. Is this error related to the NoahMP modules or no access of /lus/eagle?

make[2]: Entering directory '/lus/eagle/projects/WRF_LES/4.5.2_WRF/WRF/phys'
Pulling in NoahMP submodule
fatal: not a git repository (or any parent up to mount point /lus)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
make[2]: Leaving directory '/lus/eagle/projects/WRF_LES/4.5.2_WRF/WRF/phys'
make[2]: Entering directory '/lus/eagle/projects/WRF_LES/4.5.2_WRF/WRF/phys'
make -i -r -j 2 non_nmm ; \

Thank you in advance,
Hi Haochen,
I believe this is related to the NoahMP module. Are you using "git" to clone the code, or downloading the files as either a *.tar.gz or *.zip file? If you are using 'git' then you need to use this command:

git clone --recurse-submodule

The "--recurse-submodule" command will make sure to grab the NoahMP files (which will be in the phys/noahmp directory).

If you are downloading the files, you should get them from the WRF GitHub Release page and make sure to get either the v4.x.x.tar.gz file, or the file. Don't get the ones labeled "Source code," as they won't include the NoahMP submodule.