[MITgcm-support] genmake2 on cg01

Patrick Heimbach heimbach at MIT.EDU
Mon Nov 17 18:39:10 EST 2003


It seems related once again to this bloody ETIME, CLOC etc. business
in timers.F

Could you the following:
in tools/
cvs update genmake2
then in your build-dir.
make makefile
make depend
and re-compile.
It might be that the latest genmake2 fixes it,
but not sure. Ed will know.

-p.



Stephanie Dutkiewicz wrote:
> Patrick -
> Thanks - that produced a Makefile more like I the one I was expecting,
> but now I have and error when compiling:
> ------------------------------
> /usr/local/pgi/linux86/bin/pgftn timers.f -x 124 0x1400 -x 122 0x40 -x 119 
> 0x10000 -x 123 0x1000 -x 119 0xa00000 -x 127 4 -x 6 0x100 -x 51 0x20 -x 
> 124 1 -astype 0 -stdinc 
> /usr/local/pgi/linux86/include:/usr/local/include:/usr/i386-redhat-linux/include:/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include:/usr/include 
> -ieee 1 -opt 2 -idir /usr/local/pkg/mpi/mpi-1.2.4..8a-gm-1.5/pgi/include 
> -x 125 2 -x 124 8 -x 124 32 -nodclchk -extend -x 80 0x300 -y 80 0x1000 -x 
> 9 1 -x 32 0x7d000 -vect 32 -x 16 12 -y 34 48 -y 19 8 -y 35 0 -asm 
> /tmp/pgf77A4Kt2u 
>   0 inform,   0 warnings,   0 severes, 0 fatal for timer_index
>   0 inform,   0 warnings,   0 severes, 0 fatal for timer_control
> PGFTN-S-0038-Symbol, etime, has not been explicitly declared (timers.f: 
> 1518)
>   0 inform,   0 warnings,   1 severes, 0 fatal for timer_get_time
>   0 inform,   0 warnings,   0 severes, 0 fatal for timer_printall
>   0 inform,   0 warnings,   0 severes, 0 fatal for timer_start
>   0 inform,   0 warnings,   0 severes, 0 fatal for timer_stop
> PGFTN/x86 Linux/x86 3.2-4: compilation completed with severe errors
> pgf77: /usr/local/pgi/linux86/bin/pgftn completed with exit code 1
> Unlinking 
> Unlinking 
> Unlinking /tmp/pgf77A4Kt2u
> ----------------------------------------------------
> 
> On Mon, 17 Nov 2003, Patrick Heimbach wrote:
> 
> 
>>In case you're running with mpi, try
>>../../tools/genmake2 -mods ../code -of ../../tools/build_options/linux_ia32_pgf77+mpi_cg01
>>
>>The file linux_ia32_pgf77+mpi_cg01
>>should have all the right settings.
>>
>>-p.
>>
>>Stephanie Dutkiewicz wrote:
>>
>>>Hi -
>>>I am having problems getting my model to run on cg01.
>>>With the old genmake I compiled as such:
>>>../../tools/genmake  -platform=cg01+pgi -mods=../code
>>>
>>>with genmake2 the above doesn't work. I tried to hardwire 
>>>the INCLUDES/FC/LINK/FFLAG/FOPTIM
>>>so that it was the same in the old Makefile. Now the model
>>>runs, but is spitting out NaN's (even though on another
>>>machine with all same fields it is fine). Is there maybe an
>>>endian problem?
>>>
>>>Any suggestions?
>>>
>>>steph
>>>
>>>
>>>_______________________________________________
>>>MITgcm-support mailing list
>>>MITgcm-support at mitgcm.org
>>>http://dev.mitgcm.org/mailman/listinfo/mitgcm-support
>>
>>
>>
> 
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://dev.mitgcm.org/mailman/listinfo/mitgcm-support


-- 
Patrick Heimbach ........................... M.I.T
FON: +1/617/253-5259 .......... EAPS, Room 54-1518
FAX: +1/617/253-4464 ..... 77 Massachusetts Avenue
mailto:heimbach at mit.edu ....... Cambridge MA 02139
http://www.mit.edu/~heimbach/ .............. U.S.A




More information about the MITgcm-support mailing list