Changes between Version 68 and Version 69 of cypress/using


Ignore:
Timestamp:
12/12/22 11:07:59 (17 months ago)
Author:
fuji
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • cypress/using

    v68 v69  
    419419#SBATCH --time=24:00:00         # WallTime
    420420#SBATCH --nodes=1               # Number of Nodes
    421 #SBATCH --ntasks-per-node=1     # Number of tasks (MPI presseces)
    422 #SBATCH --cpus-per-task=20      # Number of processors per task OpenMP threads()
     421#SBATCH --ntasks-per-node=20    # Number of tasks
     422#SBATCH --cpus-per-task=1       # Number of cores per task
    423423
    424424# Our custom function
     
    427427  sleep 1
    428428}
    429 # For loop 20 times
     429# For loop $SLURM_NTASKS_PER_NODE times
    430430date
    431 for i in {1..20}
     431for i in $(seq $SLURM_NTASKS_PER_NODE)
    432432do
    433433        cust_func $i & # Put a function in the background
     
    479479
    480480Note the prompt, "cypress01-100", in the above session. It is your interactive compute-node prompt. You can load modules, compile codes and test codes.
    481 `idev` transfers the environmental variables to computing node. Therefore, if you have loaded some modules on the login node, you don't have to load the same module again.
     481`idev` transfers the environmental variables to the computing node. Therefore, if you have loaded some modules on the login node, you don't have to load the same module again.
    482482
    483483==== How to exit `idev` ====
     
    498498==== Options ====
    499499
    500 By default only a single node is requested for 60 minutes. However, you can change the limits with command line options, using syntax similar to the request specifications used in a job script.
     500By default, only a single node is requested for 60 minutes. However, you can change the limits with command line options, using syntax similar to the request specifications used in a job script.
    501501The syntax is conveniently described in the `idev` help display:
    502502