[MITgcm-support] compiling with linux_ia32_pgf77+mpi

Ed Hill ed at eh3.com
Tue May 4 11:21:39 EDT 2004


On Mon, 2004-05-03 at 16:49, Sergio Jaramillo wrote:
> Hi Ed,
> 
> I am trying to compile for a parallel run using "linux_ia32_pgf77+mpi" 
> as the optional file, modifying only the path to my directories. But I 
> get the following error:
> 
> cat mdsio_readfield.F | ../tools/set64bitConst.sh |  cpp -DWORDLENGTH=4 
> -DALLOW_USE_MPI -DALWAYS_USE_MPI 
> -I/usr/local/mpich/1.2.5..10/gm-1.6.4-2.4.20-20.7smp-i686/smp/pgi/ssh/include 
>  > mdsio_readfield.f
> <stdin>:178:20: missing terminating ' character
> <stdin>:179:44: missing terminating ' character
> make: *** [mdsio_readfield.f] Error 1
> 
> I don't know what might be wrong. Any indication is good.


Hi Sergio,

The error is that some combinations of CPP and Fortran compilers will
fail when the comments contain an odd number of quote ("'") characters.

I just talked to Andy (who checked in the problem) and he has just
finished checking in a fix.  So if you get the latest mdsio_readfield.f
(v1.17 from CVS), you should be all set.

Please let us know if you run into any more problems!

Ed

ps - I have an awk script that does a lint-like check for these 
     sorts of problems and we should run it on a daily basis. 
     I'll add that to my to-do list...

-- 
Edward H. Hill III, PhD
office:  MIT Dept. of EAPS;  Rm 54-1424;  77 Massachusetts Ave.
             Cambridge, MA 02139-4307
emails:  eh3 at mit.edu                ed at eh3.com
URLs:    http://web.mit.edu/eh3/    http://eh3.com/
phone:   617-253-0098
fax:     617-253-4464
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20040504/474fd20a/attachment.sig>


More information about the MITgcm-support mailing list