updated spectral example to show current way of starting a parallel simulation
This commit is contained in:
parent
fe4373a9f9
commit
6e6f96f926
|
@ -0,0 +1,14 @@
|
|||
|
||||
include ${PETSC_DIR}/lib/petsc-conf/variables
|
||||
include ${PETSC_DIR}/lib/petsc-conf/rules
|
||||
|
||||
|
||||
run16x16x16:
|
||||
-@${MPIEXEC} -n 2 DAMASK_spectral -l tensionX.load -g 20grains16x16x16.geom
|
||||
|
||||
run32x32x32:
|
||||
-@${MPIEXEC} -n 4 DAMASK_spectral -l tensionX.load -g 20grains32x32x32.geom
|
||||
|
||||
run64x64x64:
|
||||
-@${MPIEXEC} -n 8 DAMASK_spectral -l tensionX.load -g 20grains64x64x64.geom
|
||||
|
|
@ -2,4 +2,4 @@
|
|||
# -*- coding: UTF-8 no BOM -*-
|
||||
|
||||
from subprocess import call
|
||||
call('DAMASK_spectral -l tensionX.load -g 20grains16x16x16.geom', shell=True)
|
||||
call('make run16x16x16', shell=True)
|
Loading…
Reference in New Issue