[Wrf-users] WRF 3.2.1 compilation errors

Dmitry N. Mikushin maemarcus at gmail.com
Thu May 19 04:23:20 MDT 2011


Ok, just in case, you can also install alternative version of gfortran
locally into your personal system account only, or switch between
multiple versions on system level using "module load",
"update-alternatives" or links.

- D.

2011/5/19 Arun <aruny at iitk.ac.in>:
> Hi,
> I'm using gfortran version 4.2.4 right now but as I'm using a shared system
> updating gfortran is not an option. As Eric suggested, I will edit my
> module_initialize_real.F to remove those pointer and get back to you guys if
> anything goes wrong.
>
> Arun
>
> On Thursday 19 May 2011 03:33 AM, Dmitry N. Mikushin wrote:
>>
>> Arun,
>>
>> Could you check how old is your gfortran version and update it if it
>> is too old? I've just checked gfortran 4.5 handle pointers marked
>> intent(in) without any problems.
>>
>> - D.
>>
>> 2011/5/18 Kemp, Eric M. (GSFC-610.3)[NORTHROP
>> GRUMMAN]<eric.kemp at nasa.gov>:
>>>
>>> The problem is the "intent(in)" and "intent(out)" attributes with the
>>> pointers in module_initialize_real.F.  Technically it is illegal in
>>> Fortran
>>> 90 to use these attributes with pointer arguments (Fortran 2003 allows
>>> it).
>>> Most Fortran compilers accept it, but the gfortran compiler is not one of
>>> them.
>>>
>>> The fix is to modify module_initialize_real.F and remove the attributes,
>>> then recompile.
>>>
>>> -Eric
>>>
>>>
>>> On 5/18/11 5:31 AM, "Arun"<aruny at iitk.ac.in>  wrote:
>>>
>>>> Hi everyone,
>>>>   I am trying to compile WRF on an intel machine but keep getting error
>>>> related to module_initialize_real.f90 file. I'm attaching my log file
>>>> along with this mail. Please see if someone can help me. Googling didn't
>>>> help.
>>>>
>>>> Regards,
>>>> Arun
>>>
>>> --------------------------------------------------------------------
>>> Eric M. Kemp                   Northrop Grumman Corporation
>>> Meteorologist                  Information Systems
>>> Civil Enterprise Solutions     Civil Systems Division
>>>
>>>                               Goddard Space Flight Center
>>>                               Mailstop 610.3
>>>                               Greenbelt, MD 20771
>>>                               Telephone   301-286-9768
>>>                               Fax         301-286-1775
>>>                               E-mail:     eric.kemp at nasa.gov
>>>                               E-mail:     eric.kemp at ngc.com
>>> --------------------------------------------------------------------
>>>
>>>
>>>
>>> _______________________________________________
>>> Wrf-users mailing list
>>> Wrf-users at ucar.edu
>>> http://mailman.ucar.edu/mailman/listinfo/wrf-users
>>>
>
>


More information about the Wrf-users mailing list