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

(RESOLVED) ungrib.exe compile Error: Arguments of ‘iand’ have different kind type parameters at (1)

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.


New member
Hello all,
I am new user. I am first time installing WRFV4.0 in ubuntu 20.04 lts. Everything fine. The only problem is ungrib.exe is not created when installing WPS while geogrid and metgrid has been created. Please help me out View attachment configure.wpsto resolve this problem. I have attached configure.wps

Thank You.
What is the error message in your compile log file? Please take a look at this website to see whether it can help:

I'm having the same problem while compiling WPS with WRF-4.2.1, could you find a way to solve the issue?
The compile.log points an error:

gfortran -c -ffixed-form -O -fconvert=big-endian -frecord-marker=4 intmath.f

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

I'm sending here attached my compile.log file. Can anyone give me some hints?


  • compile.log
    21.1 KB · Views: 60
Please take a look at the post here, which solves the problem of ungrib compiling.