[MITgcm-support] compile-run error due to gcc update?

Sergey Vinogradov svinogra at aer.com
Thu Feb 9 11:57:20 EST 2006


Ed:
Here is the result,
thanks
Sergey

Ed Hill wrote:

>On Thu, 2006-02-09 at 10:22 -0500, Sergey Vinogradov wrote:
>  
>
>>Ed:
>>The reason of my problem is that, on updated OS, all links in ../build
>>dir point to distribution files instead of user-modified files. So,
>>the compiler/maker doesn't see my SIZE.h and other files and provokes
>>compile-run error. If I link manually to my ../code header and source
>>files, it works. On all other machines, genmake2 works ok. 
>>Have a good day!
>>Sergey 
>>    
>>
>
>Hi Sergey,
>
>I'm confused.  I don't understand whats going wrong for you.  If you are
>supplying genmake2 with a "-mods=../code" argument, then it should
>create a Makefile that, when you run "make depend", will create the
>necessary links to the SIZE.h and other files.  If not, then its a bug
>and I'd like to track it down and fix it.
>
>Can you please try running this sequence of commands on a fresh
>checkout:
>
>  mkdir a_new_dir
>  cd a_new_dir
>  export CVSROOT=':pserver:cvsanon at mitgcm.org:/u/gcmpack'
>  cvs login
>   ==> cvsanon
>  cvs co MITgcm
>  cd MITgcm/verification/exp0/build
>  ../../../tools/genmake2 -mods=../code
>  make depend
>  make
>
>and then tell me *exactly* what fails and when--along with the error
>messages you see?  I think you might be omitting the "-mods=../code"
>argument and, if thats the case, its not a genmake2 bug -- you just need
>to have the correct entry for "-mods=...".
>
>Ed
>
>  
>


-- 
Sergey Vinogradov, Ph.D.,
Oceanography Group
Atmospheric and Environmental Research, Inc.
131 Hartwell Ave., Lexington, MA 02421, USA
Phone: 1-781-761-2256        sergey at aer.com
Fax:   1-781-761-2299    http://www.aer.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20060209/a537529f/attachment.htm>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: output.txt
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20060209/a537529f/attachment.txt>


More information about the MITgcm-support mailing list