This page introduces some examples of practical job scripts when submitting a batch job request to SX-ACE.
Mastering perfect description is not necessary. Please reuse these sample scripts by modifying areas you want to change.
 

The scripts below are categorized based on the purposes of the users. Please reuse files of your interest. You will need to modify places with "( )".
Please read carefully the following page before this page:
How to describe a job script

 

TIPS: My job script does not work....

Please check the following items again.

 

1.Does "#!/bin/csh" appear on the very first line of the file?
 
2. Does the last line of the file have line feed code?
The above item 1 and this item are mandatory.
 
3.The above item 1 and this item are mandatory.
 
4.Is there any extra space in your script ile?
The typical example is like the space right after "2," in
"#PBS -l cpunum_job=2, elapstim_req=0:10:00".
This kind of extra space causes an error.
 
5.Did you correctly specify the amount of computational resource?
Each computational resources has the upper limitation in resource use.
Please see job class table for each resource.

 

SX-ACE job class table

 

6. In the case that your problem is not solved in spite of the trials above..
Please contact us from system@cmc.osaka-u.ac.jp.

 

 

Ex. 1: Execution on a single node

perform one-hour computation using a single SX-ACE node

 

Page useful when writing this script:How to describe a job script

 

Ex. 2: Using intranode parallelism (auto-parallelism)

Perform a one-hour 4 thread processing using auto-parallelism
 
This page is useful when writing this script: How to use auto-parallelism(SX-ACE)

 

Ex3: Using intra-node parallelism (OpenMP)

perform one-hour 4 thread processing using OpenMP
This page is useful when writing this script: How to use OpenMP(SX-ACE)

 

Ex4: Using MPI/SX (8 node x 4 core parallel processing)

perform one-hour 32 parallel processing using MPI
This page is useful when writing this script: How to use MPI/SX(SX-ACE)

 

Ex5: Using HPF/SX ( 4 node x 4 core parallel processing)

Perform one-hour 16 parallel processing using HPF with 4 SX-ACE nodes.
The HPF program is translated into an MPI executable module after compilation and so the job script file is the same as in the case of MPI.
This page is useful when writing this script: How to use HPF/SX(SX-ACE)

 

Ex 6: Using MPI/SX(HPF/SX) and intranode parallelism (auto-parallelism) (8 node x 4 core)

Perform one-hour 32 parallel processing using ace 8 nodes x 4 cores.
(4 intra-node parallelism + 8 inter-node parallelism )
This page is useful when writing this script: Inter-node parallelism and intra-node parallelism

 

Ex7: Using MPI/SX(HPF/SX) and intra-node parallelism (OpenMP) (8 node x 4 core)

Perform one-hour 32 parallel processing using SX-ACE 8 nodes x 4 cores.
(4 intra-node parallelism(OpenMP) + 8 inter-node parallelism (MPI(HPF)) )
This page is useful when writing this script: Inter-node parallelism and intra-node parallelism