diff --git a/DAMASK_env.lnk b/DAMASK_env.lnk new file mode 100644 index 000000000..46c33eba3 Binary files /dev/null and b/DAMASK_env.lnk differ diff --git a/damask_env.bat b/damask_env.bat new file mode 100644 index 000000000..3e8f8f9de --- /dev/null +++ b/damask_env.bat @@ -0,0 +1,23 @@ +@echo off +chcp 1252 +Title Düsseldorf Adavanced MAterials Simulation Kit - DAMASK, MPIE Düsseldorf + +echo. +echo Düsseldorf Adavanced MAterials Simulation Kit - DAMASK +echo Max-Planck-Institut für Eisenforschung Düsseldorf +echo http://damask.mpie.de +echo. + +::echo %cd% + +echo Preparing environment ... +SET DAMASK_ROOT=%~dp0 +::SET PYTHONPATH=%DAMASK_ROOT%\lib;%PYTHONPATH% +SET PYTHONPATH=%DAMASK_ROOT%\lib;%PYTHONPATH% + +echo DAMASK_ROOT: %DAMASK_ROOT% + +cd %~dp0 + +::python -c "import damask as D" -i +ipython -c "import damask as D; import os; os.chdir(os.getenv('DAMASK_ROOT')); print('pwd: '+os.getcwd());" -i