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 6140 for trunk/NEMOGCM/SETTE/prepare_job.sh – NEMO

Ignore:
Timestamp:
2015-12-21T12:35:23+01:00 (9 years ago)
Author:
timgraham
Message:

Merge of branches/2015/dev_merge_2015 back into trunk. Merge excludes NEMOGCM/TOOLS/OBSTOOLS/ for now due to issues with the change of file type. Will sort these manually with further commits.

Branch merged as follows:
In the working copy of branch ran:
svn merge svn+ssh://forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/trunk@HEAD
Small conflicts due to bug fixes applied to trunk since the dev_merge_2015 was copied. Bug fixes were applied to the branch as well so these were easy to resolve.
Branch committed at this stage

In working copy run:
svn switch svn+ssh://forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/trunk
to switch working copy

Run:
svn merge --reintegrate svn+ssh://forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/branches/2015/dev_merge_2015
to merge the branch into the trunk and then commit - no conflicts at this stage.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMOGCM/SETTE/prepare_job.sh

    r5559 r6140  
    266266                                echo NB_XNODES=${NB_XNODES}  
    267267                                echo Total NB_NODES=${NB_NODES} 
    268                                 if [ ${NB_NODES} -eq 1 ] ; then 
    269                                    QUEUE=shared 
    270                                    #Not using XIOS in detatched mode and using less than one node so should be ok on shared node 
    271                                    #Load snplauncher module to allow use of mpiexec 
    272                                    SELECT="select=1:ncpus=$((NXIO_PROC + NB_PROC))":mem=15GB 
    273                                    module load cray-snplauncher 
    274                                    echo 'Shared Queue' 
    275                                 else 
    276                                    QUEUE=normal 
    277                                    SELECT="select=$NB_NODES" 
    278                                    module unload cray-snplauncher #Make sure snplauncher module is not loaded 
    279                                    echo 'Normal Queue' 
    280                                 fi 
     268                                QUEUE=normal 
     269                                SELECT="select=$NB_NODES" 
     270                                module unload cray-snplauncher #Make sure snplauncher module is not loaded 
    281271                                ;; 
    282272                        openmpi_NAVITI_MERCATOR) 
     
    330320                    ;; 
    331321              XC40_METO*) 
    332                     cat run_sette_test.job | sed -e"s/QUEUE/${QUEUE}/" \ 
    333                                                  -e"s/SELECT/${SELECT}/" > run_sette_test1.job 
     322                    cat run_sette_test.job | sed -e"s/SELECT/${SELECT}/" > run_sette_test1.job 
    334323                    mv run_sette_test1.job run_sette_test.job 
    335324                    ;; 
Note: See TracChangeset for help on using the changeset viewer.