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

Error while compiling WRFDA

Liuwh

New member
When I am compiling WRFDA, running . /compile all_wrfvar >& compile.wrfda.log, it generates 43 exe files, missing da_wrfvar.exe file, and the following error is reported in compile.wrfda.log, I don't know how to solve it:


module_dm.f90(1305): error #7013: This module file was not generated by any release of this compiler. [MPI]
use mpi
----------^
module_dm.f90(1345): error #7013: This module file was not generated by any release of this compiler. [MPI]
use mpi
----------^
module_dm.f90(1385): error #7013: This module file was not generated by any release of this compiler. [MPI]
use mpi
----------^
module_dm.f90(6464): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MODULE_DM]
USE module_dm
----------^
module_dm.f90(6470): error #6410: This name has not been declared as an array or a function. [ID_STACK]
id_stack(communicator_stack_cursor) = current_id
------^
module_dm.f90(6471): error #6410: This name has not been declared as an array or a function. [LOCAL_COMMUNICATOR_STACK]
local_communicator_stack( communicator_stack_cursor ) = local_communicator
------^
module_dm.f90(6472): error #6410: This name has not been declared as an array or a function. [LOCAL_COMMUNICATOR_PERIODIC_STACK]
local_communicator_periodic_stack( communicator_stack_cursor ) = local_communicator_periodic
------^


The above is part of the error message, the full file can refer to the attachment.
 

Attachments

  • compile.wrfda.log
    328.8 KB · Views: 1
Hello Liuwh,

This sounds like it could be a library/module error. Looking at your log file I see some MPI errors, however I would check to make sure all your modules are loaded correctly and the right paths are set. If you don't have MPI installed then I would install/load that library/module. I hope that helps.

Cheers,
JeremyB
 
Hello Liuwh,

This sounds like it could be a library/module error. Looking at your log file I see some MPI errors, however I would check to make sure all your modules are loaded correctly and the right paths are set. If you don't have MPI installed then I would install/load that library/module. I hope that helps.

Cheers,
JeremyB
Dear JeremyB,
When I am compiling WRFDA, running . /compile all_wrfvar >& compile.wrfda.log, it generates 43 exe files, missing da_wrfvar.exe file, and the following error is reported in compile.wrfda.log, I don't know how to solve it:

When I run the ./configure wrfda, I chose (15):
Please select from among the following Linux x86_64 options:

1. (serial) 2. (smpar) 3. (dmpar) 4. (dm+sm) PGI (pgf90/gcc)
5. (serial) 6. (smpar) 7. (dmpar) 8. (dm+sm) PGI (pgf90/pgcc): SGI MPT
9. (serial) 10. (smpar) 11. (dmpar) 12. (dm+sm) PGI (pgf90/gcc): PGI accelerator
13. (serial) 14. (smpar) 15. (dmpar) 16. (dm+sm) INTEL (ifort/icc)
17. (dm+sm) INTEL (ifort/icc): Xeon Phi (MIC architecture)
18. (serial) 19. (smpar) 20. (dmpar) 21. (dm+sm) INTEL (ifort/icc): Xeon (SNB with AVX mods)
22. (serial) 23. (smpar) 24. (dmpar) 25. (dm+sm) INTEL (ifort/icc): SGI MPT
26. (serial) 27. (smpar) 28. (dmpar) 29. (dm+sm) INTEL (ifort/icc): IBM POE
30. (serial) 31. (dmpar) PATHSCALE (pathf90/pathcc)
32. (serial) 33. (smpar) 34. (dmpar) 35. (dm+sm) GNU (gfortran/gcc)
36. (serial) 37. (smpar) 38. (dmpar) 39. (dm+sm) IBM (xlf90_r/cc_r)
40. (serial) 41. (smpar) 42. (dmpar) 43. (dm+sm) PGI (ftn/gcc): Cray XC CLE
44. (serial) 45. (smpar) 46. (dmpar) 47. (dm+sm) CRAY CCE (ftn $(NOOMP)/cc): Cray XE and XC
48. (serial) 49. (smpar) 50. (dmpar) 51. (dm+sm) INTEL (ftn/icc): Cray XC
52. (serial) 53. (smpar) 54. (dmpar) 55. (dm+sm) PGI (pgf90/pgcc)
56. (serial) 57. (smpar) 58. (dmpar) 59. (dm+sm) PGI (pgf90/gcc): -f90=pgf90
60. (serial) 61. (smpar) 62. (dmpar) 63. (dm+sm) PGI (pgf90/pgcc): -f90=pgf90
64. (serial) 65. (smpar) 66. (dmpar) 67. (dm+sm) INTEL (ifort/icc): HSW/BDW
68. (serial) 69. (smpar) 70. (dmpar) 71. (dm+sm) INTEL (ifort/icc): KNL MIC
72. (serial) 73. (smpar) 74. (dmpar) 75. (dm+sm) FUJITSU (frtpx/fccpx): FX10/FX100 SPARC64 IXfx/Xlfx

Enter selection [1-75] : 15

and then: vi configure.wrf
I changed these two lines in configure.wrf because I'm using the intel compiler:

DM_FC = mpiifort
DM_CC = mpiicc

and then: ./compile all_wrfvar >& compile.wrfda.log

it generates 43 exe files, missing da_wrfvar.exe file, and the following error is reported in compile.wrfda.log, I don't know how to solve it.

I have put the file compile.wrfda.log in the attachment, hopefully I can get your help.
 

Attachments

  • compile.wrfda.log
    459 KB · Views: 6
Hello Liuwh,

Thank you for providing a log file. Unfortunately I couldn't find any dead giveaways on why da_wrfvar.exe isn't compiling. Luckily, I was also able to compile it (4dvar but it should be similar) with intel compilers and I never changed those lines in the configure.wrf. Currently my DM_FC and FM_CC look like this:

DM_FC = mpif90 -f90($SFC)
DM_CC = mpicc -cc=$(SCC)

I would try compiling without modifying those lines and see what happens. Also keep in mind if you wish to use other software alongside WRFDA (like RTTOV), be sure to add those paths in after you configure it.

Cheers,
JeremyB
 
Top