Fail to compile Obsgrid.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.

lslrsgis

Member
Dear WRF Community,

I am trying to compile Obsgrid.exe. However, a batch of errors prompted.

user@user-OptiPlex-7060:~/WRF/OBSGRID$ ./compile &> log.compile.txt

/bin/rm -f map_utils_module.o map_utils_module.mod
/usr/bin/cpp -C -P -traditional map_utils_module.F90 > map_utils_module.f
gfortran -ffree-form -O -fconvert=big-endian -frecord-marker=4 -c map_utils_module.f -I/home/user/Library/netcdf/include
map_utils_module.f:1:1:

/* Copyright (C) 1991-2019 Free Software Foundation, Inc.
1
Error: Invalid character in name at (1)
map_utils_module.f:2:3:

This file is part of the GNU C Library.
1
Error: Unclassifiable statement at (1)
map_utils_module.f:4:3:

The GNU C Library is free software; you can redistribute it and/or
1
Error: Unclassifiable statement at (1)

gcc version is:


user@user-OptiPlex-7060:~/WRF/OBSGRID$ gcc --version
gcc (Ubuntu 8.3.0-6ubuntu1) 8.3.0
Copyright (C) 2018 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.

Obsgrid package is downloaded from http://www2.mmm.ucar.edu/wrf/users/download/get_sources.html. log.compile.txt is attached.THX.
 

Attachments

I am terribly sorry to answer so late. This is because this question was somehow skipped and I am unaware it is never answered.
Have you solved the problem? If not, please send me your configure file to take a look. Thanks.
 
Back
Top