diff --git a/examples/SpectralMethod/Makefile b/examples/SpectralMethod/Makefile new file mode 100644 index 000000000..08f4dded4 --- /dev/null +++ b/examples/SpectralMethod/Makefile @@ -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 + diff --git a/examples/SpectralMethod/example_run.py b/examples/SpectralMethod/example_run.py index b1abd6fbc..bafc79d11 100755 --- a/examples/SpectralMethod/example_run.py +++ b/examples/SpectralMethod/example_run.py @@ -2,4 +2,4 @@ # -*- coding: UTF-8 no BOM -*- from subprocess import call -call('DAMASK_spectral -l tensionX.load -g 20grains16x16x16.geom', shell=True) \ No newline at end of file +call('make run16x16x16', shell=True) \ No newline at end of file