Changeset 1564 for trunk/NVTK/Makefile
- Timestamp:
- 2009-07-31T14:31:31+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NVTK/Makefile
r1560 r1564 4 4 # Contact : nemo_st@locean-ipsl.upmc.fr 5 5 # 6 # VARS TO SET: 6 + 1 (optional) 7 # - NAM_V : name of the current test (associated to the same directory name) 8 # - LISTE_CONF : configurations name (ORCA2_LIM, GYRE ...) 9 # - JOBS_2LAUN : jobs to launch (nojob, all, long, short or gtime) 10 # - BUILD_MAKE : run type (mon, mpi ... ) 11 # - MAK_TIME : to perform a CPU time measure making a one year run 12 # use key word 'timing' or 'notiming' 13 # - MAK_MEMO : to perform a memory check 14 # use key word 'memo' or 'nomemo' 15 # - REF_TAGV : (optional) reference tag name. If specified, 16 # current results will be compare to the results 17 # of this tag (for a given configuration and run type) 6 # VARS TO SET: 9 + 1 (optional) 7 # - NAM_V : name of the current test (associated to the same directory name) 8 # - LISTE_CONF : configurations name (ORCA2_LIM, GYRE ...) 9 # - JOBS_2LAUN : jobs to launch (nojob, all, long, short or gtime) 10 # - BUILD_MAKE : run type (mon, mpi ... ) 11 # - MAK_TIME : to perform a CPU time check use keyword: 'timing' or 'notiming' 12 # - USE_IOMPUT : use or not the new I/O interface 13 # - USE_IOSERVER : use the I/O interface using the server possibility 14 # - NB_PROCS_IOSERVER : number of processors dedicated to the I/O server 15 # - MAK_MEMO : to perform a memory check use keyword: 'memo' or 'nomemo' 16 # - REF_TAGV : (optional) tag/experience name. If specified, 17 # current results will be compare to the results 18 # of this tag/experience (for a given configuration and run type) 18 19 # 19 20 # WORK: Allows to launch all the validation process, i.e. 20 21 # I. to build dependencies use: > gmake -s dep 21 22 # II. to launch compilation,simulation,final report use: > gmake 23 # III. to remove NetCDF output files of the NAM_V experience use: > gmake delf 22 24 # 23 25 ##################################################################### … … 44 46 NB_PROCS_IOSERVER = 1 45 47 #- 46 #- Proceed to a timing, use key word'timing' or 'notiming'48 #- Proceed to a timing, use keyword: 'timing' or 'notiming' 47 49 MAK_TIME = notiming 48 50 #- 49 #- Proceed to a memory check, use key word'memo' or 'nomemo'51 #- Proceed to a memory check, use keyword: 'memo' or 'nomemo' 50 52 MAK_MEMO = memo 51 53 #- 52 #- Reference Tag version53 REF_TAGV = nemo_v 2_354 #- Experience name or reference Tag name (nemo_v2, nemo_v2_3 or nemo_v3) 55 REF_TAGV = nemo_v3 54 56 #- 55 57 ##################################################################### … … 79 81 @( cd ${NAM_V} ; LSFILES=`( ls *.[Ffh]90 )` ; if [ -n "$$LSFILES" ] ; \ 80 82 then echo $$LSFILES > ../../$@/f2test.txt ; else rm -f ../../$@/f2test.txt ; \ 81 touch../../$@/f2test.txt ; fi ; )83 echo " " >../../$@/f2test.txt ; fi ; ) 82 84 @echo 83 85 @echo ' ----->>>>>>>>> Links from NVTK/'${NAM_V} ' to '$@/MY_SRC 'done' … … 85 87 @echo ' Build the Makefile for' $@ 'configuration' 86 88 @../../util/ins_make -w $@ 87 ifeq ($(USE_IOMPUT),true) 88 @../../util/ins_make -w XMLF90 89 @../../util/ins_make -w XMLIO_SERVER 90 endif 89 @( cd ../$@/WORK ; grep P_P Makefile | head -1 > $$ ; LSCPPKEY=`( cut -c,6- $$ )` ; \ 90 rm -f $$ ; if [ -n "$$LSCPPKEY" ] ; then echo $$LSCPPKEY >> ../f2test.txt ; fi ; ) 91 91 @echo 92 92 @echo … … 199 199 @echo 200 200 @clear 201 202 #- Delete NetCDF files for a given experience to save memory 203 delf: 204 @for conf in ${LISTE_CONF}; do \ 205 echo ; \ 206 echo ; \ 207 echo ; \ 208 echo ' ----->>>>>>>>> Remove all' $$conf '*.nc output files for the' ${NAM_V} 'experience' ; \ 209 echo ; \ 210 echo ; \ 211 for typer in ${BUILD_MAKE}; do \ 212 rm -f DELFIL/NEMO_VALID/W$$conf/$$typer/LONG/${NAM_V}/*.nc ; \ 213 rm -f DELFIL/NEMO_VALID/W$$conf/$$typer/1_SHORT/${NAM_V}/*.nc ; \ 214 rm -f DELFIL/NEMO_VALID/W$$conf/$$typer/2_SHORT/${NAM_V}/*.nc ; \ 215 rm -f DELFIL/NEMO_VALID/W$$conf/$$typer/GTIME/${NAM_V}/*.nc ; \ 216 done ; \ 217 done
Note: See TracChangeset
for help on using the changeset viewer.