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

Compilation error in ARWpost

NATARAJAN

New member
i successfully run my 2D case by changing my WRFV.4.5.1 to WRFV4.3.3 . then i got an input and output file. Using post-processing tools i chosen ARWpost_V3, after untar it, i configured with gfortran compiler then i tried to compile it but i got an error even i tried two modification such as ( CPP=/lib/cpp -P -traditional and CPP =/lib/cpp -C -P -nostdinc) . here i have attached my configure.wrf and error file . thank you!!!
Note: my fortran version and ubuntu version.
GNU Fortran (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 

Attachments

  • configure_wrf.txt
    1.7 KB · Views: 0
  • compilation error.txt
    5.7 KB · Views: 4
finally i got the correct code to resolving the compilation problem in ARWpost. if anybody face error like "type mismatch" while compilation of ARWpost use below commands and get "ARWpost.exe" without changing the version of gcc.

1. Cleaned the code (./clean -a) and reconfigure (./configure), choosing no. 3 (PC Linux i486 i586 i686 x86_64, gfortran compiler)
2. Edited "configure.arwp" with
FFLAGS = -ffree-form -O -fno-second-underscore -fconvert=big-endian -frecord-marker=4 -fallow-argument-mismatch
and
CPP = /lib/cpp -P -traditional
3. Edited the "Makefile"
-L$(NETCDF)/lib -I$(NETCDF)/include -lnetcdff -lnetcdf

4. Compilation (./compile)

It will help you to overcome the error. thank you!
 
Top