[MITgcm-support] a quick compile question

Yuan Lian lian at ashimaresearch.com
Wed Jul 14 04:51:17 EDT 2010


  There is nothing wrong with the code itself. It's compiler error for 
sure. More
likely it is an issue when linking the MPI library. What's you 
build_option file?

Yuan


On 7/14/10 1:29 AM, q li wrote:
> Hi all,
> I have a quick compile question. Does any one know why I got following 
> error after I "make"
> mpif77 -132 -r8 -i4 -w95 -W0 -WB  -O3 -fp -align -c initialise_varia.f
> fortcom: Error: initialise_varia.f, line 2202: Syntax error, found 
> END-OF-STATEMENT when expecting one of: => = . ( %
>       _EXCH_XYZ_R8(wVel,myThid)
>             -------------------------------^
> compilation aborted for initialise_varia.f (code 1)
> make: *** [initialise_varia.o] Error 1
> Here is the line 2202:
> 2201 C--   Fill in overlap regions for wVel :
> 2202       _EXCH_XYZ_R8(wVel,myThid)
> 2203 C--   Finally summarise the model state
> 2204      IF (debugMode) CALL DEBUG_CALL('STATE_SUMMARY',myThid)
> 2205      CALL STATE_SUMMARY( myThid )
> I couldn't see any syntax error based on my knowledge.
> Is it because of the transformation between unix and windows? I 
> uncompressed the tar file to obtain the source code of MITgcm.
> I am using ifort and mpich.
> Li
>
>
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-support

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20100714/87d9ff9b/attachment.htm>


More information about the MITgcm-support mailing list