[MITgcm-devel] make cleean Clean and CLEAN

Patrick Heimbach heimbach at MIT.EDU
Thu Nov 20 15:40:19 EST 2003


Alistair,
how about we discuss the AD_CONFIG.h stuff when you're here.
This type of discussion via e-mail is extremely inefficient
for something that can be sorted out in a minute or two.

-p.

Alistair Adcroft wrote:
>>Or, you could re-run genmake2.  Or you could use tar and make a copy of
> 
> the entire directory.
> 
> I was doing something simpler; I had run a long run in an input/ directory
> and wanted to keep that run but run another test. So normally I create a new
> directory and copy ../input/{data.*,Makefile,PA*} ./  and the point of the
> Makefile was not to necessarily rebuild but to record the config. It used to
> be that if I did need to rebuild I simply typed make but that failed for
> reasons we know. I'm not sure what to think about it so don't panic.
> 
> I now see that the templates allow you to not necessarily rebuild everything
> everytime. I don't see why you need both ad_config.template and
> AD_CONFIG.template though.
> 
> 
>>What difference does it make having a few files left over?  This is not a
> 
> rhetorical
> 
>>question.  I want you to explain what harm any of those few files are dong
> 
> to anything
> 
>>that you're working on.
> 
> 
> Simply that I type make clean for the purpose of a definitive rebuild, type
> make Clean for re-configuring (resetting links) and CLEAN to delete
> everything. Deleting everything used to reduce the build directory to one
> file - now there are ten. 
> 
> 
>>I'm running a low fever today (so I didn't come in), but please call me at
> 
> 339-927-6897
> 
>>and lets discuss before you rearrange things.
> 
> 
> Don't worry I'm not re-arranging things.
> 
> Hope you've got some good movies to watch - presume you won't be in
> tomorrow? Get well soon.
> 
> A.
> 
> 
> _______________________________________________
> MITgcm-devel mailing list
> MITgcm-devel at mitgcm.org
> http://dev.mitgcm.org/mailman/listinfo/mitgcm-devel


-- 
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-devel mailing list