<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Feng,<br>
<br>
I tried all but the result is the same. The compilation failed ( I
received only wrf.exe and tr* ), not tc.exe, real.exe, nup.exe and
ndown.exe. The reason is that this programs require obg.
module_initialize_real.o but during compilation I have errors :<br>
<pre wrap=""><big>PGF90-S-0134-Illegal attribute - conflict with intent
(../dyn_em/module_initialize_real.f90: )</big>
</pre>
I didn't understand how I can change the program
module_initialize_real.f to overcome this error. My opinion is that
my version of PGI - 6.1 is the reason. <br>
<br>
Really, as you see:<br>
<pre wrap="">gcc: p7: No such file or directory
gcc: 32: No such file or directory
gcc: unrecognized option `-tp'
gcc: unrecognized option `-pc'
gcc: unrecognized option `-Mnoframe'
make[3]: [c_code.o] Error 1 (ignored)</pre>
But these options are ignored and also I have the same mesage in
compilation of WRF 3.1.1, but the compilation is OK and I work with
this version.<br>
<br>
Thank you very much for your reply,<br>
Maria<br>
<br>
<br>
On 15.12.2010 г. 18:49, Feng Liu wrote:
<blockquote
cite="mid:9BDE2A7F9712AF45A0C08451B3CD8E5C029DFA88@mag9006"
type="cite">
<pre wrap="">Hi, Maria,
Try to edit your configure.wrf file by changing
CC = $(DM_CC) -DFSEEKO64_OK
Into
CC = $(DM_CC) -DFSEEKO64_OK -w -O3
If it does not work then replace DM_CC with SCC and try to compile againg.
The problem I think is related gcc compiler, please see the first error appearance in your compile.log file:
make[3]: Entering directory `/home/cecip/WRF_3.2.1/WRFV3/external/RSL_LITE'
mpicc -cc=gcc -DMPI2_SUPPORT -DFSEEKO64_OK -DDM_PARALLEL -DMAX_HISTORY=25 -c c_code.c
gcc: p7: No such file or directory
gcc: 32: No such file or directory
gcc: unrecognized option `-tp'
gcc: unrecognized option `-pc'
gcc: unrecognized option `-Mnoframe'
make[3]: [c_code.o] Error 1 (ignored)
-----Original Message-----
From: Maria Prodanova [<a class="moz-txt-link-freetext" href="mailto:Maria.Prodanova@meteo.bg">mailto:Maria.Prodanova@meteo.bg</a>]
Sent: Tuesday, December 14, 2010 1:07 PM
To: Feng Liu
Subject: RE: [Wrf-users] WRF 3.2.1 compilation errors
Hi Feng,
Thanks for your reply. I fulfilled your steps, but result is the same -
the compilation is not accomplished.
2. gcc is in /usr/bin but Ihave path to gcc
3. NETCDFPATH = /home/cecip/M3HOME/lib/netCDF/netcdf-3.6.2 is
write in this way because in the tcsh file I give setenv $M3HOME M3HOME
So the error is somewhere else. In the compile log.file that I sent there
are very strange message as (I wrote them in the previous e-mail):
</pre>
<blockquote type="cite">
<pre wrap="">
gcc -DIWORDSIZE=4 -DMAX_HISTORY=25 -c -g registry.c
registry.c: In function `main':
registry.c:23: warning: return type of 'main' is not `int'
----------------------------------------------------------
PGF90-S-0134-Illegal attribute - conflict with intent
(../dyn_em/module_initialize_real.f90: 2424)
PGF90-S-0134-Illegal attribute - conflict with intent
(../dyn_em/module_initialize_real.f90: 2425)
-------------------------
PGF90-S-0134-Illegal attribute - conflict with intent
(module_initialize_real.f90: 2657)
PGF90-S-0134-Illegal attribute - conflict with intent
(module_initialize_real.f90: 2658)
0 inform, 0 warnings, 2 severes, 0 fatal for find_my_parent2
So, because there is not /dyn_em/module_initialize_real.o compilation
failed. I attach my compile.log file.
</pre>
</blockquote>
<pre wrap="">
Regards,
Maria
</pre>
<blockquote type="cite">
<pre wrap="">Hi, Maria,
Try these steps as below and see if it works:
1) Make clean all by make -a clean
2) Check the location of gcc on your system by 'which gcc', and then set
SCC = YOUR_LOCAL_PATH_OF_GCC/gcc
3) Compile again.
I am also wondering your netCDF is located at
NETCDFPATH = /home/cecip/M3HOME/lib/netCDF/netcdf-3.6.2/
Not at ?
NETCDFPATH = /home/cecip/$M3HOME/lib/netCDF/netcdf-3.6.2
BTW, you do not need the slash "/" at the end of NETCDFPATH
Please update me if you have any progress. Good luck.
Feng
From: Maria Prodanova [<a class="moz-txt-link-freetext" href="mailto:Maria.Prodanova@meteo.bg">mailto:Maria.Prodanova@meteo.bg</a>]
Sent: Tuesday, December 14, 2010 2:50 AM
To: Feng Liu; <a class="moz-txt-link-abbreviated" href="mailto:wrf-users@ucar.edu">wrf-users@ucar.edu</a>
Subject: Re: [Wrf-users] WRF 3.2.1 compilation errors
Hi Feng,
It is my mistake I sent you configure.wrf when I made ./configure for
serial mode. In serial mode I also didn't compile WRF V3.2.1.
I sent you now configure.wrf with dmpar and the log file compile.log from
compilation. Configure.wrf with dmpar has the same DM_CC, FC and CC as you
wrote me, but the compilation failed.
Ragards,
Maria
On 13.12.2010 Ç. 22:23, Feng Liu wrote:
Hi, Maria,
Replace the corresponding staffs in your configure.wrf by the following
ones, and then try to compile your wrf3.2.1 again. Hope that is helpful.
Feng
DM_CC = mpicc -cc=$(SCC) -DMPI2_SUPPORT
FC = $(DM_FC)
CC = $(DM_CC) -DFSEEKO64_OK
Your descriptions as below are not correct.
DM_CC = mpicc -cc=$(SCC)
FC = $(SFC)
CC = $(SCC) -DFSEEKO64_OK
From: Maria Prodanova [<a class="moz-txt-link-freetext" href="mailto:Maria.Prodanova@meteo.bg">mailto:Maria.Prodanova@meteo.bg</a>]
Sent: Monday, December 13, 2010 12:18 PM
To: Feng Liu
Subject: Re: [Wrf-users] WRF 3.2.1 compilation errors
Hi Feng,
Yes, I have ~/WRFV3/frame/ if you have the file named
wrf_num_bytes_between.c. I attach it with my configure.wrf file.
Many thanks for your willingness to help me.
Regards,
Maria
On 13.12.2010 Ç. 20:28, Feng Liu wrote:
Hi, Maria,
Please check at ~/WRFV3/frame/ if you have the file named
wrf_num_bytes_between.c. I addition, could you please send me your
configure.wrf file? Thanks.
Feng
From: <a class="moz-txt-link-abbreviated" href="mailto:wrf-users-bounces@ucar.edu">wrf-users-bounces@ucar.edu</a><a class="moz-txt-link-rfc2396E" href="mailto:wrf-users-bounces@ucar.edu"><mailto:wrf-users-bounces@ucar.edu></a>
[<a class="moz-txt-link-freetext" href="mailto:wrf-users-bounces@ucar.edu">mailto:wrf-users-bounces@ucar.edu</a>] On Behalf Of Maria Prodanova
Sent: Friday, December 03, 2010 11:42 AM
To: <a class="moz-txt-link-abbreviated" href="mailto:wrf-users@ucar.edu">wrf-users@ucar.edu</a><a class="moz-txt-link-rfc2396E" href="mailto:wrf-users@ucar.edu"><mailto:wrf-users@ucar.edu></a>
Subject: [Wrf-users] WRF 3.2.1 compilation errors
Dear all,
I have problem compiling WRF version 3.2.1 using PGI compiler and with gcc
(dmpar). I have installed PGI compiler version 6.1 and netCDF 3.6.2
I ran WRF 3.1.1 without problem - different cases using nesting, fdda,
ndown. I compiled WRF 3.2 but there is problem with fdda analysis
nudging.
With WRF 3.2.1 I have problem with compilation. There is some strange
warnings and errors, for example:
gcc -DIWORDSIZE=4 -DMAX_HISTORY=25 -c -g registry.c
registry.c: In function `main':
registry.c:23: warning: return type of 'main' is not `int'
----------------------------------------------------------
PGF90-S-0134-Illegal attribute - conflict with intent
(../dyn_em/module_initialize_real.f90: 2424)
PGF90-S-0134-Illegal attribute - conflict with intent
(../dyn_em/module_initialize_real.f90: 2425)
-------------------------
PGF90-S-0134-Illegal attribute - conflict with intent
(module_initialize_real.f90: 2657)
PGF90-S-0134-Illegal attribute - conflict with intent
(module_initialize_real.f90: 2658)
0 inform, 0 warnings, 2 severes, 0 fatal for find_my_parent2
So, because there is not /dyn_em/module_initialize_real.o compilation
failed. I attach my compile.log file.
I have searching the internet for solution but to no avail. If there is
anyone who knows the solution your help is greatly appreciated.
Thank you very much in advance,
Maria
--
*************************************************
Maria Prodanova-Boiadjieva
National Institute of Meteorology and Hydrology
66 Tzarigradsko shaussee, Sofia 1784, Bulgaria
Phone: (+3592) 462 4598
Fax: (+3592) 988 03 80, 988 44 94
<a class="moz-txt-link-abbreviated" href="mailto:e-mail:Maria.Prodanova@meteo.bg">e-mail:Maria.Prodanova@meteo.bg</a><a class="moz-txt-link-rfc2396E" href="mailto:e-mail:Maria.Prodanova@meteo.bg"><mailto:e-mail:Maria.Prodanova@meteo.bg></a>
**************************************************
</pre>
</blockquote>
<pre wrap="">
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
*************************************************
Maria Prodanova-Boiadjieva
National Institute of Meteorology and Hydrology
66 Tzarigradsko shaussee, Sofia 1784, Bulgaria
Phone: (+3592) 462 4598
Fax: (+3592) 988 03 80, 988 44 94
<a class="moz-txt-link-abbreviated" href="mailto:e-mail:Maria.Prodanova@meteo.bg">e-mail:Maria.Prodanova@meteo.bg</a>
**************************************************</pre>
</body>
</html>