[MITgcm-support] Compile errors when compiling with ifort on Ubuntu 14.04

ashwinD12 . winash12 at gmail.com
Sun Sep 21 03:29:35 EDT 2014


Hi Jody,
             I was able to successfully build this time around. It turns
out that I was in the wrong directory when I built it. I went to
MITgcm_c65d/verification/exp2/input and then ran the same set of commands.
Bingo ! It worked as smooth as silk ! I did see a few old threads here -
http://mitgcm.org/pipermail/mitgcm-support/2004-June/002275.html related to
my problem but I guess that is not my problem anymore.
Regards,
Ashwin.

On Sat, Sep 20, 2014 at 8:22 PM, Jody Klymak <jklymak at uvic.ca> wrote:

> Dear Ashwin,
>
> Did you read the errors?  They actually tell you exactly what you have
> done wrong.
>
> Cheers,   Jody
>
>
> On Sep 20, 2014, at  3:27 AM, ashwinD12 . <winash12 at gmail.com> wrote:
>
> > Hello,
> >            I have downloaded the latest version of MITGCM and followed
> the steps in README and when I type make I get these errors . I am using
> ifort on Ubuntu 14.04
> > Regards,
> > Ashwin.
> >
> > Update AD_CONFIG.h and make ./mitgcmuv
> > make -f Makefile ./mitgcmuv
> > make[1]: Entering directory
> `/home/aswin/meteorology_project/MITgcm_c65d/bin'
> > ifort -w95 -W0 -WB -convert big_endian -assume byterecl -fPIC  -O2
> -align -xW -ip -c chksum_tiled.f
> > ifort: command line remark #10010: option '-w95' is deprecated and will
> be removed in a future release. See '-help deprecated'
> > ifort: command line remark #10279: option '-xW' is deprecated and will
> be removed in a future release. See '-help deprecated'
> > chksum_tiled.f(398): error #5149: Illegal character in statement label
> field  [T]
> >   These lines are here to deliberately cause a compile-time error.
> > --^
> > chksum_tiled.f(398): error #5149: Illegal character in statement label
> field  [h]
> >   These lines are here to deliberately cause a compile-time error.
> > ---^
> > chksum_tiled.f(398): error #5149: Illegal character in statement label
> field  [e]
> >   These lines are here to deliberately cause a compile-time error.
> > ----^
> > chksum_tiled.f(399): error #5149: Illegal character in statement label
> field  [I]
> >   If you see these lines in your .F files or the compiler shows them
> > --^
> > chksum_tiled.f(399): error #5149: Illegal character in statement label
> field  [f]
> >   If you see these lines in your .F files or the compiler shows them
> > ---^
> > chksum_tiled.f(400): error #5149: Illegal character in statement label
> field  [a]
> >   as an error then it means you have not placed your configuration
> > --^
> > chksum_tiled.f(400): error #5149: Illegal character in statement label
> field  [s]
> >   as an error then it means you have not placed your configuration
> > ---^
> > chksum_tiled.f(401): error #5149: Illegal character in statement label
> field  [f]
> >   files in the appropriate place.
> > --^
> > chksum_tiled.f(401): error #5149: Illegal character in statement label
> field  [i]
> >   files in the appropriate place.
> > ---^
> > chksum_tiled.f(401): error #5149: Illegal character in statement label
> field  [l]
> >   files in the appropriate place.
> > ----^
> > chksum_tiled.f(402): error #5149: Illegal character in statement label
> field  [Y]
> >   You need to place you own copy of SIZE.h in the include
> > --^
> > chksum_tiled.f(402): error #5149: Illegal character in statement label
> field  [o]
> >   You need to place you own copy of SIZE.h in the include
> > ---^
> > chksum_tiled.f(402): error #5149: Illegal character in statement label
> field  [u]
> >   You need to place you own copy of SIZE.h in the include
> > ----^
> > chksum_tiled.f(398): error #5082: Syntax error, found IDENTIFIER
> 'ELINESAREHERETODELIBERATELYCAUSEACOMPILE' when expecting one of: (
> <END-OF-STATEMENT> ;
> >   These lines are here to deliberately cause a compile-time error.
> > ------^
> > chksum_tiled.f(403): error #5149: Illegal character in statement label
> field  [p]
> >   path for the model, and comment out these lines.
> > --^
> > chksum_tiled.f(403): error #5149: Illegal character in statement label
> field  [a]
> >   path for the model, and comment out these lines.
> > ---^
> > chksum_tiled.f(403): error #5149: Illegal character in statement label
> field  [t]
> >   path for the model, and comment out these lines.
> > ----^
> > chksum_tiled.f(403): error #5082: Syntax error, found ',' when expecting
> one of: % . = =>
> >   path for the model, and comment out these lines.
> > --------------------^
> > compilation aborted for chksum_tiled.f (code 1)
> > make[1]: *** [chksum_tiled.o] Error 1
> > make[1]: Leaving directory
> `/home/aswin/meteorology_project/MITgcm_c65d/bin'
> > make: *** [fwd_exe_target] Error 2
> >
> > _______________________________________________
> > 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20140921/5c54301b/attachment.htm>


More information about the MITgcm-support mailing list