updated spectral example to show current way of starting a parallel simulation

This commit is contained in:
Pratheek Shanthraj 2015-03-25 16:16:01 +00:00
parent fe4373a9f9
commit 6e6f96f926
2 changed files with 15 additions and 1 deletions

View File

@ -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

View File

@ -2,4 +2,4 @@
# -*- coding: UTF-8 no BOM -*- # -*- coding: UTF-8 no BOM -*-
from subprocess import call from subprocess import call
call('DAMASK_spectral -l tensionX.load -g 20grains16x16x16.geom', shell=True) call('make run16x16x16', shell=True)