Ignore:
Timestamp:
01/15/17 01:03:04 (7 years ago)
Author:
dubos
Message:

Update to testing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configs/testing/bash/X64_CURIE.sh

    r510 r520  
    55# create_runs.sh and submit.sh 
    66 
    7 # NB : we must the queue 'normal' because there seems to be a limit 
     7# NB : we must use the queue 'normal' because there seems to be a limit 
    88# on the number of jobs that can be submitted to queue 'test' 
    99 
     
    1818function split_mpi_80() { 
    1919    setvar nbp 81 nsplit_i 4 nsplit_j 2 
     20} 
     21function split_mpi_omp_40() { 
     22    setvar nbp 41 nsplit_i 2 nsplit_j 2 omp_level_size 4 
    2023} 
    2124 
     
    3336#------------------------------ job_XXX ----------------------------- 
    3437 
     38# Serial jobs 
    3539function job_serial() { # EXP_NAME 
    36     job_X64_CURIE $1 1 ""  
     40    job_X64_CURIE $1 1 1 "./gcm.exe" 
    3741} 
    3842function job_serial_40() { # EXP_NAME 
     
    4044} 
    4145 
     46# MPI jobs 
    4247function job_mpi() { #EXP_NAME NB_MPI 
    43     job_X64_CURIE $1 $2 ccc_mprun 
     48    job_X64_CURIE $1 $2 1 "ccc_mprun ./gcm.exe" 
    4449} 
    4550function job_mpi_40() { # EXP_NAME 
     
    5055} 
    5156 
    52 function job_X64_CURIE() { # EXP_NAME MPI_TASKS MPIRUN 
     57# MPI-OMP jobs 
     58function job_mpi_omp() { #EXP_NAME NB_MPI NB_OMP 
     59    job_X64_CURIE $1 $2 $3 "ccc_mprun ./gcm.exe" 
     60} 
     61function job_mpi_omp_40() { # EXP_NAME 
     62    job_mpi_omp $1 40 4 
     63} 
     64 
     65# Generic 
     66function job_X64_CURIE() { # EXP_NAME MPI_TASKS OMP_TASKS MPIRUN 
    5367    cat <<EOF 
    5468#!/bin/bash 
     
    6074## Number of tasks (=MPI processes) to use 
    6175#MSUB -n $2 
     76## Number of OpenMP threads 
     77#MSUB -c $3 
    6278## Elapsed time limit in seconds 
    6379#MSUB -T 600 
     
    6581#MSUB -Q normal 
    6682 
    67 export OMP_NUM_THREADS=1 
     83export OMP_NUM_THREADS=$3 
    6884cd \${BRIDGE_MSUB_PWD}  
    6985 
     
    7389date > gcm.log 
    7490ulimit -s unlimited 
    75 $3 ./gcm.exe >> gcm.log 
     91$4 ./gcm.exe >> gcm.log 
    7692date >> gcm.log 
    7793 
Note: See TracChangeset for help on using the changeset viewer.