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

No ungrib.exe

This post was from a previous version of the WRF&MPAS-A Support Forum. New replies have been disabled and if you have follow up questions related to this post, then please start a new thread from the forum home page.

mml373

New member
Grrr. Sorry, folks. Another failure to obtain ungrib.exe after compiling WPS. Please see attached files, and thanks in advance for any help. I do note an error to the effect of "/usr/bin/ld: cannot find -lg2_4" in the log.compile. I do not know what -lg2_4 is.

Some kind of intmath.mod error as well in the compile log.


Thanks again.
 

Attachments

  • configure.wps
    3.6 KB · Views: 52
  • log.compile
    115.7 KB · Views: 62
Hi,
The error in your compile log is
Code:
intmath.f:207:14:

  207 |       if(iand(i,i-1)/=0) then
      |              1
Error: Arguments of ‘iand’ have different kind type parameters at (1)
intmath.f:172:14:

  172 |       if(iand(i,i-1)/=0) then
      |              1
Error: Arguments of ‘iand’ have different kind type parameters at (1)
make[2]: [Makefile:72: intmath.o] Error 1 (ignored)

Take a look at this code fix that addresses the problem. Once on that page, you can click on the "files changed" tab to see the exact code correction. Once you modify the code, you'll need to issue a 'clean -a' and then reconfigure and recompile the code.
 
Thank you for your reply. I made the changes referenced but still getting the same error (I think). Running ./clean -a before ./configure and ./compile. Been "out of Linux" for awhile. Maybe I'm forgetting something.

Thoughts?
 

Attachments

  • log.compile
    116.9 KB · Views: 55
  • configure.wps
    3.6 KB · Views: 48
Hi,
The original error you were getting was:
Code:
intmath.f:207:14:

  207 |       if(iand(i,i-1)/=0) then
      |              1
Error: Arguments of ‘iand’ have different kind type parameters at (1)

Now the error is:
Code:
intmath.f:211:9:

  211 |       if(iand(i,i=1_1)/=0) then
      |         1
Error: Argument ‘i’ appears twice in call to ‘iand’ at (1)

Can you send me the intmath.f file that you modified? Thanks!
 
Top