New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 808 – NEMO

Changeset 808


Ignore:
Timestamp:
2008-01-31T16:08:04+01:00 (16 years ago)
Author:
ctlod
Message:

add new variables to allow users to better control compilation and jobs submission, see ticket:#61

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/HEAD/Makefile

    r693 r808  
    33# Contact : opatlod@locean-ipsl.upmc.fr 
    44# 
    5 # INPUT ARGS: 3 + 1 (optional) 
     5# INPUT ARGS: 6 + 1 (optional) 
    66#     - NAM_V      : name of the current test 
    77#     - LISTE_CONF : configurations name (ORCA2_LIM, GYRE ...) 
     8#     - JOBS_2LAUN : jobs to launch (nojob, all, long, short or gtime) 
    89#     - BUILD_MAKE : run type (mon, mpi ... ) 
    910#     - MAK_TIME   : to perform a CPU time measure making a one year run 
    1011#                    use key word 'timing' or 'notiming' 
     12#     - MAK_MEMO   : to perform a memory check  
     13#                    use key word 'memo' or 'nomemo' 
    1114#     - REF_TAGV   : (optional) reference tag name. If specified,  
    1215#                    current results will be compare to the results  
     
    3033LISTE_CONF = GYRE ORCA2_LIM 
    3134#- 
     35#- Jobs to launch use keyword: nojob, all, long, short or gtime 
     36JOBS_2LAUN = all 
     37#- 
    3238#- Compilation list type to perform, mon (mono) &/or mpi &/or omp (Open-MP) 
    3339BUILD_MAKE =  mon mpi 
     
    3541#- Proceed to a timing, use key word 'timing' or 'notiming' 
    3642MAK_TIME = notiming 
     43#- 
     44#- Proceed to a memory check, use key word 'memo' or 'nomemo' 
     45MAK_MEMO = nomemo 
    3746#- 
    3847#- Reference Tag version 
     
    5968   @echo "runs=" $(BUILD_MAKE) >> ../$@/specifs.txt 
    6069   @echo "time=" $(MAK_TIME) >> ../$@/specifs.txt 
     70   @echo "memo=" $(MAK_MEMO) >> ../$@/specifs.txt 
    6171   @echo "tagname=" $(REF_TAGV) >> ../$@/specifs.txt 
    6272   @echo  
     
    6777   @echo 
    6878   @echo 
    69    gmake -C ../$@ RUN='$(BUILD_MAKE)' RTG=$(REF_TAGV) MKTE=$(MAK_TIME) -j 2 > $@_step.txt 
     79   gmake -C ../$@ RUN='$(BUILD_MAKE)' JOB=$(JOBS_2LAUN) RTG=$(REF_TAGV) MKTE=$(MAK_TIME) MKMO=$(MAK_MEMO) -j 2 > $@_step.txt 
Note: See TracChangeset for help on using the changeset viewer.