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

Changeset 1597


Ignore:
Timestamp:
2009-08-11T10:41:33+02:00 (15 years ago)
Author:
ctlod
Message:

NVTK: correct a small bug when using many files into EXP_NAME direcotry, see ticket: #527

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NVTK/INSTALL/CONFIG_FILES/AA_make

    r1584 r1597  
    55launch: $(RUN) $(MKMO) 
    66ifneq ($(JOB),nojob) 
     7   cp    ../NVTK/INSTALL/JOBS/LOBSTER_stat.ksh        $(WWDIR)/NEMO_VALID/W$(NEMOLIB)/. 
     8   cp    ../NVTK/INSTALL/JOBS/PISCES_stat.ksh         $(WWDIR)/NEMO_VALID/W$(NEMOLIB)/. 
     9   cp -p ../NVTK/INSTALL/JOBS/assessment.ksh          $(WWDIR)/NEMO_VALID/W$(NEMOLIB)/. 
     10   cp -p ../NVTK/INSTALL/JOBS/cron_jobs.ksh           $(WWDIR)/NEMO_VALID/W$(NEMOLIB)/. 
     11   cp    ../NVTK/INSTALL/JOBS/CPU_time_$(HPCTAR).ksh  $(WWDIR)/NEMO_VALID/W$(NEMOLIB)/. 
     12   cp    ../NVTK/INSTALL/JOBS/MEM_size_$(HPCTAR).ksh  $(WWDIR)/NEMO_VALID/W$(NEMOLIB)/. 
    713   @for rtype in `echo $(RUN)` ; do \ 
    814   cp    ../NVTK/INSTALL/JOBS/job_$(NEMOLIB).ksh      $(WWDIR)/NEMO_VALID/W$(NEMOLIB)/$$rtype/. ; \ 
    915   cp    ../NVTK/INSTALL/JOBS/jhd_$(HPCTAR)_$$rtype   $(WWDIR)/NEMO_VALID/W$(NEMOLIB)/$$rtype/. ; \ 
    1016   cp -p ../NVTK/INSTALL/JOBS/lance_batch.ksh         $(WWDIR)/NEMO_VALID/W$(NEMOLIB)/$$rtype/. ; \ 
    11    cp    ../NVTK/INSTALL/JOBS/LOBSTER_stat.ksh        $(WWDIR)/NEMO_VALID/W$(NEMOLIB)/.         ; \ 
    12    cp    ../NVTK/INSTALL/JOBS/PISCES_stat.ksh         $(WWDIR)/NEMO_VALID/W$(NEMOLIB)/.         ; \ 
    13    cp -p ../NVTK/INSTALL/JOBS/assessment.ksh          $(WWDIR)/NEMO_VALID/W$(NEMOLIB)/.         ; \ 
    14    cp -p ../NVTK/INSTALL/JOBS/cron_jobs.ksh           $(WWDIR)/NEMO_VALID/W$(NEMOLIB)/.         ; \ 
    15    cp    ../NVTK/INSTALL/JOBS/CPU_time_$(HPCTAR).ksh  $(WWDIR)/NEMO_VALID/W$(NEMOLIB)/.         ; \ 
    16    cp    ../NVTK/INSTALL/JOBS/MEM_size_$(HPCTAR).ksh  $(WWDIR)/NEMO_VALID/W$(NEMOLIB)/.         ; \ 
    1717   ( cd $(WWDIR)/NEMO_VALID/W$(NEMOLIB)/$$rtype/ ; ./lance_batch.ksh $(NEMOLIB) $(MKTE) $(JOB) $(REXP) \ 
    1818          $(MPIIJ) $(RTG) $(USE_IOMPUT) $(USE_IOSERVER) $(NB_PROCS_IOSERVER) ; ) ; \ 
     
    2424   @if [ $@ = 'mpi' ] ; then \ 
    2525   cd MY_SRC ; \ 
    26    grep -h jpni  * | grep -v "*" | head -1 > tmp ; VAR_I=`( cat tmp )` ; rm -f tmp ; \ 
    27    grep -h jpnj  * | grep -v "*" | head -1 > tmp ; VAR_J=`( cat tmp )` ; rm -f tmp ; \ 
    28    grep -h jpnij * | grep -v "*" | head -1 > tmp ; VARIJ=`( cat tmp )` ; rm -f tmp ; \ 
     26   grep -h jpni  par_oce.F90_keep | grep -v "*" | head -1 > tmp ; VAR_I=`( cat tmp )` ; rm -f tmp ; \ 
     27   grep -h jpnj  par_oce.F90_keep | grep -v "*" | head -1 > tmp ; VAR_J=`( cat tmp )` ; rm -f tmp ; \ 
     28   grep -h jpnij par_oce.F90_keep | grep -v "*" | head -1 > tmp ; VARIJ=`( cat tmp )` ; rm -f tmp ; \ 
    2929   sed -e "s%$$VAR_I%      jpni  = $$MPI_I  , \&%" \ 
    3030       -e "s%$$VAR_J%      jpnj  = $$MPI_J  , \&%" \ 
Note: See TracChangeset for help on using the changeset viewer.