[MITgcm-support] Compilation Problems

Yuan Lian lian at ashimaresearch.com
Fri Feb 12 03:05:31 EST 2010


Hi Martin,

I think the problem is fixed (codes compile and run just fine).
It was caused by the wrong version of Intel compilers.

Yuan


Martin Losch wrote:
> For more convenience, the "-DWORDLENGTH=4" goes in the the build-options file that you are using (and then: make makefile && make CLEAN && make depend && make), see tools/build_options for many examples how to do that.
>
> Martin
>
> On Feb 12, 2010, at 12:52 AM, Yuan Lian wrote:
>
>   
>> Hi Nikole,
>>
>> The "DEFINES" was not correctly passed to the compiler so "WORDLENTH"
>> was not defined. You can add "-DWORDLENGTH=4" to compiler flags as a temporary
>> solution.  This will get rid of the error message you mentioned. I also noticed that the
>> openmpi may not be installed correctly (may not be compatible with the current intel fortran
>> compiler). I will let you know if openmpi needs to be reinstalled.
>>
>> Cheers,
>> Yuan
>>
>> Nikole Lewis wrote:
>>     
>>> All-
>>>    We just upgraded our intel fortran compilers and now I'm running
>>> into the following compilation error:
>>>
>>> mds_reclen.F(32): error #6404: This name does not have a type, and
>>> must have an explicit type.   [WORDLENGTH]
>>>       MDS_RECLEN=nnn*WORDLENGTH
>>>
>>> Any ideas on the easiest way to fix this?
>>>
>>> Thanks,
>>> Nikole
>>>
>>> _______________________________________________
>>> MITgcm-support mailing list
>>> MITgcm-support at mitgcm.org
>>> http://mitgcm.org/mailman/listinfo/mitgcm-support
>>>  
>>>       
>> _______________________________________________
>> MITgcm-support mailing list
>> MITgcm-support at mitgcm.org
>> http://mitgcm.org/mailman/listinfo/mitgcm-support
>>     
>
>
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-support
>   




More information about the MITgcm-support mailing list