This error is coming from the gfortran compiler. You need to
modify the configure.ac file and add a compilation flag.

If you have used git clone to download, you can do the following:

git checkout origin/CORDEX-5

Or download again and do the above otherwise:

git clone https://github.com/ICTP/RegCM/
git checkout origin/CORDEX-5

and redo the bootstrap.sh + configure steps.

Other option would be:

CFLAGS="-fno-range-check" ./configure [options]

and make again.


---------------------
Peace Olubukunmi Awoleye
Researcher
Meteorology and Climate Science
West African Science Service Centre on Climate Change and Adapted Land-Use (WASCAL)
Graduate Research Program in West African Climate Systems (GRP-WACS)
Federal University of Technology, Akure
Nigeria
+2348133410647

From: RegCNET <regcnet-bounces@lists.ictp.it> on behalf of regcnet-request@lists.ictp.it <regcnet-request@lists.ictp.it>
Sent: Tuesday, September 3, 2024 12:00 PM
To: regcnet@lists.ictp.it <regcnet@lists.ictp.it>
Subject: RegCNET Digest, Vol 734, Issue 1
 


Today's Topics:

   1. Version 5.0.0 Installation (Mzwandile Mtshali)
   2. Re: Version 5.0.0 Installation (Graziano Giuliani)


----------------------------------------------------------------------

From: Mzwandile Mtshali <mxmweezy@gmail.com>
Subject: [RegCNET] Version 5.0.0 Installation

Good morning, I am trying to run and install RegCM5.0.0, when I try to
configure the model I get this error message :

"./configure.ac: line 20: syntax error near unexpected token `[RegCM],'
./configure.ac: line 20: `AC_INIT([RegCM], [5.0.0], [ggiulian@ictp.it])' "

Can someone please help me on how to solve this problem?

Kind regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ictp.it/pipermail/regcnet/attachments/20240829/fbd31819/attachment-0001.htm>

------------------------------

From: Graziano Giuliani <ggiulian@ictp.it>
Subject: Re: [RegCNET] Version 5.0.0 Installation

On 8/29/24 12:00, Mzwandile Mtshali wrote:
> Good morning, I am trying to run and install RegCM5.0.0, when I try to
> configure the model I get this error message :
[...]

You are supposed to first run the bootstrap.sh script (or autoreconf -f
-i) which will create the configure script. The .ac file is the input
for the process.

G.

--
Graziano Giuliani
Earth System Physics Section
The Abdus Salam International Centre for Theoretical Physics
Strada Costiera 11
34151 Trieste, ITALY
Phone: + 39 040 2240 360
email: ggiulian@ictp.it

###################################################

Celebrating six decades of science without borders!
Visit:

   https://www.ictp.it/home/ictps-60th-anniversary

###################################################



------------------------------

Subject: Digest Footer

_______________________________________________
RegCNET mailing list
RegCNET@lists.ictp.it
https://lists.ictp.it/mailman/listinfo/regcnet


------------------------------

End of RegCNET Digest, Vol 734, Issue 1
***************************************