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 3665 for branches/2012/dev_NOC_MERCATOR_2012/NEMOGCM/SETTE/prepare_job.sh – NEMO

Ignore:
Timestamp:
2012-11-26T15:14:40+01:00 (10 years ago)
Author:
cbricaud
Message:

correction of Mercator's modifications for prepare_job.sh

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2012/dev_NOC_MERCATOR_2012/NEMOGCM/SETTE/prepare_job.sh

    r3661 r3665  
    217217             -e"s:DEF_CMP_NAM:${CMP_NAM}:" -e"s:DEF_TEST_NAME:${TEST_NAME}:" > run_sette_test.job 
    218218 
    219         if [ ${COMPILER} -eq 'ifort_MERCATOR_CLUSTER' ] ; then 
    220              cat run_sette_test.job | sed -e"s/QUEUE/${QUEUE}/" -e"s/MEM/${mem}/" > run_sette_test1.job 
    221              mv run_sette_test1.job run_sette_test.job 
    222         fi 
     219        case ${COMPILER} in 
     220              ifort_MERCATOR_CLUSTER) 
     221                    #cat run_sette_test.job | sed -e"s:QUEUE:${QUEUE}:" > run_sette_test1.job  
     222                    #cat run_sette_test.job | sed -e"s/NPROC_NODE/${NB_PROC_NODE}/" > run_sette_test1.job  
     223                                                 #-e"s/NPROC_NODE/${NB_PROC_NODE}/" > run_sette_test1.job 
     224                    cat run_sette_test.job | sed -e"s/NPROC_NODE/${NB_PROC_NODE}/" \ 
     225                                                 -e"s:QUEUE:${QUEUE}:" > run_sette_test1.job 
     226                    mv run_sette_test1.job run_sette_test.job 
     227                    ;; 
     228   esac 
    223229# 
    224230# create the unique submission job script 
Note: See TracChangeset for help on using the changeset viewer.