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

Include paths are missing in source code compilation commands in phys/

wadud.miah

New member
When I execute the ./compile -j 4 em_real command, it fails to build source code in the phys/ subdirectory. When I see what commands make will execute, it shows:

$ make -i -n -r -j 8 non_nmm

mpiifort -o module_cam_support.o -c -O3 -ip -fp-model precise -w -ftz -align all -fno-alias -FR -convert big_endian -real-size `expr 8 \* 4` -i4 module_cam_support.f90


As you can see, the include paths are all missing and subsequently, the compilation of module_cam_support.f90 fails. The $INCLUDE_MODULES variable from configure.wrf should be in the compilation command. Can someone please suggest how to remedy this error? I have attached my configure.wrf (named configure.wrf.txt so I can attach it to this ticket).


Thanks in advance.
 

Attachments

  • configure.wrf.txt
    23.9 KB · Views: 1
0inputs+752outputs (0major+16800minor)pagefaults 0swaps
39.79user 0.43system 0:40.49elapsed 99%CPU (0avgtext+0avgdata 528472maxresident)k
0inputs+7360outputs (0major+154328minor)pagefaults 0swaps
make[3]: Leaving directory '/WRF4.6/WRF-4.6.0/phys'
ar: module_cam_support.o: No such file or directory
make[2]: [Makefile:252: physics] Error 1 (ignored)
make[2]: Leaving directory '//WRF-4.6.0/phys'
make[1]: Leaving directory '/WRF-4.6.0'

------------------------------------------------------------------------------
Error Error Error NoahMP submodule files not populating WRF directories
------------------------------------------------------------------------------

make: *** [Makefile:111: wrf] Error 31


hello,

I have the same issue,
i downloaded the tar file !!
any solutions?
 
@wadud.miah
Could you please post a build log of the compilation?

@kgeorge I believe your issue is different but should be easier to address. I think you download the "Source code (tar.gz)" instead of the "v4.6.0.tar.gz" package.
 
So looking at this it is the noahlsm physics module that is the issue. I believe @islas is correct that you downloaded the source code tar.gz file instead of the v4.6.0 tar package. The source code doesn't have the noahlsm physics package in it. So if you download this file (see image) and restart the building of WRF from the beginning, with libraries or export all the paths it should work.

1717070005707.png
 
Top