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 1575 – NEMO

Changeset 1575


Ignore:
Timestamp:
2009-08-04T10:37:24+02:00 (15 years ago)
Author:
ctlod
Message:

NVTK: few changes to allow NVTK to manage properly MPI runs, see ticket: #513

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NVTK/Makefile

    r1568 r1575  
    44# Contact : nemo_st@locean-ipsl.upmc.fr 
    55# 
    6 # VARS TO SET: 9 + 1 (optional) 
     6# VARS TO SET: 12 + 1 (optional) 
    77#     - NAM_V             : name of the current test (associated to the same directory name) 
    88#     - LISTE_CONF        : configurations name (ORCA2_LIM, GYRE ...) 
    99#     - JOBS_2LAUN        : jobs to launch (nojob, all, long, short or gtime) 
    1010#     - BUILD_MAKE        : run type (mon, mpi ... ) 
     11#     - MPI_I             : i- MPI decomposition 
     12#     - MPI_J             : j- MPI decomposition 
     13#     - MPIIJ             : Total number of processors 
    1114#     - MAK_TIME          : to perform a CPU time check use keyword: 'timing' or 'notiming' 
    1215#     - USE_IOMPUT        : use or not the new I/O interface 
     
    4144BUILD_MAKE = mon mpi 
    4245#- 
     46#- MPI decomposition 
     47MPI_I=2 
     48MPI_J=4 
     49MPIIJ=8 
     50#- 
    4351#- Do we use the new io interface (iom_put)? With the io_server? On how many procs? 
    4452USE_IOMPUT = false 
     
    7482   @echo "test=" $(NAM_V) > ../$@/specifs.txt 
    7583   @echo "runs=" $(BUILD_MAKE) >> ../$@/specifs.txt 
     84   @echo "mpis=" $(MPI_I) $(MPI_J) $(MPIIJ) >> ../$@/specifs.txt 
    7685   @echo "time=" $(MAK_TIME) >> ../$@/specifs.txt 
    7786   @echo "memo=" $(MAK_MEMO) >> ../$@/specifs.txt 
     
    95104   @echo 
    96105   @echo 
    97    @gmake -C ../$@ RUN='$(BUILD_MAKE)' JOB=$(JOBS_2LAUN) RTG=$(REF_TAGV) MKTE=$(MAK_TIME) MKMO=$(MAK_MEMO) REXP=$(NAM_V) USE_IOMPUT=$(USE_IOMPUT) USE_IOSERVER=$(USE_IOSERVER) NB_PROCS_IOSERVER=$(NB_PROCS_IOSERVER) -j 2 > $@_step.txt 
     106   @gmake -C ../$@ RUN='$(BUILD_MAKE)' MPI_I=$(MPI_I) MPI_J=$(MPI_J) MPIIJ=$(MPIIJ) JOB=$(JOBS_2LAUN) RTG=$(REF_TAGV) MKTE=$(MAK_TIME) MKMO=$(MAK_MEMO) REXP=$(NAM_V) USE_IOMPUT=$(USE_IOMPUT) USE_IOSERVER=$(USE_IOSERVER) NB_PROCS_IOSERVER=$(NB_PROCS_IOSERVER) -j 2 > $@_step.txt 
    98107 
    99108#- Rebuild dependencies when new cpp key and/or new module used 
Note: See TracChangeset for help on using the changeset viewer.