This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
software:specfem [2018/03/05 15:00] wphase |
software:specfem [2018/03/05 15:04] wphase |
||
---|---|---|---|
Line 284: | Line 284: | ||
- | ==== Parallel SPECFEM3D_GLOBE RUNS ==== | + | ==== Running multiple SPECFEM3D_GLOBE jobs in parallel ==== |
- | To launch batch of SEM runs: | + | To launch batch of SEM simulations: |
First, create an event list "Events.txt" with 3 collumns: | First, create an event list "Events.txt" with 3 collumns: | ||
- | - 1st column: event_id (will also be the name of the run directory) | + | * 1st column: event_id (will also be the name of the run directory) |
- | - 2nd column: path to ''CMTSOLUTION'' file for this event | + | * 2nd column: path to ''CMTSOLUTION'' file for this event |
- | - 3nd column: path to ''STATION'' file for this event (can be the same for all events) | + | * 3nd column: path to ''STATION'' file for this event (can be the same for all events) |
Then you must setup a ''Par_file'' as described above (be careful to use a version of ''Par_file'' that is compatible with your SEM version) | Then you must setup a ''Par_file'' as described above (be careful to use a version of ''Par_file'' that is compatible with your SEM version) | ||
The SPECFEM runs will be handled using 3 scripts: | The SPECFEM runs will be handled using 3 scripts: | ||
- | - ''parallelSEM.sh'': is the main script | + | * ''parallelSEM.sh'': is the main script |
- | - ''run_gpu_nodelist.sh'' is the script used to run the mesher and solver | + | * ''run_gpu_nodelist.sh'' is the script used to run the mesher and solver |
- | - ''sleep.slurm'' is a script to reserve the GPU nodes | + | * ''sleep.slurm'' is a script to reserve the GPU nodes |
+ | All these scripts are available in ''/b/home/eost/zac/jobs/specfem/parallelSEM'' | ||
Before running it, make sure the input parameters in ''parallelSEM.sh'' are consistent with the input parameters stated above (see ''INPUT PARAMS'' in the main script). Then run: | Before running it, make sure the input parameters in ''parallelSEM.sh'' are consistent with the input parameters stated above (see ''INPUT PARAMS'' in the main script). Then run: | ||
Line 304: | Line 305: | ||
./parallelSEM.sh | ./parallelSEM.sh | ||
</code> | </code> | ||
+ | The script will make sure that the GPU nodes are available before launching SPECFEM3D_GLOBE. | ||
+ | |||
+ | |||