Hi,
I am trying to compile WRF-4.2.1 in Nasa-Unified WRF system using intel compilers and facing error related to multiple definition of a function.
------------------------------------------------------------------------------
libwrflib.a(module_sf_clm.o): In function `initimeconst_':
module_sf_clm.f90.text+0xe16d0): multiple definition of `initimeconst_'
libwrflib.a(iniTimeConst.o):iniTimeConst.F90.text+0x0): first defined here
libwrflib.a(module_sf_clm.o): In function `initimevar_':
module_sf_clm.f90.text+0xc7ad0): multiple definition of `initimevar_'
libwrflib.a(iniTimeVar.o):iniTimeVar.F90.text+0x0): first defined here
1.43user 0.97system 0:12.81elapsed 18%CPU (0avgtext+0avgdata 230584maxresident)k
135776inputs+163088outputs (5major+116222minor)pagefaults 0swaps
make[1]: [em_wrf] Error 1 (ignored)
---------------------------------------------------------------------------------------
Kindly let me know the reason behind the above error. I attached below the compile.log and configure.wrf files.
Thank you,
Pavani
I am trying to compile WRF-4.2.1 in Nasa-Unified WRF system using intel compilers and facing error related to multiple definition of a function.
------------------------------------------------------------------------------
libwrflib.a(module_sf_clm.o): In function `initimeconst_':
module_sf_clm.f90.text+0xe16d0): multiple definition of `initimeconst_'
libwrflib.a(iniTimeConst.o):iniTimeConst.F90.text+0x0): first defined here
libwrflib.a(module_sf_clm.o): In function `initimevar_':
module_sf_clm.f90.text+0xc7ad0): multiple definition of `initimevar_'
libwrflib.a(iniTimeVar.o):iniTimeVar.F90.text+0x0): first defined here
1.43user 0.97system 0:12.81elapsed 18%CPU (0avgtext+0avgdata 230584maxresident)k
135776inputs+163088outputs (5major+116222minor)pagefaults 0swaps
make[1]: [em_wrf] Error 1 (ignored)
---------------------------------------------------------------------------------------
Kindly let me know the reason behind the above error. I attached below the compile.log and configure.wrf files.
Thank you,
Pavani