DAMASK_EICMD/damask_env.bat

20 lines
539 B
Batchfile

@echo off
chcp 1252
Title Düsseldorf Advanced MAterials Simulation Kit - DAMASK, MPIE Düsseldorf
echo.
echo Düsseldorf Advanced MAterials Simulation Kit - DAMASK
echo Max-Planck-Institut für Eisenforschung, Düsseldorf
echo http://damask.mpie.de
echo.
echo Preparing environment ...
SET DAMASK_ROOT=%~dp0
SET PYTHONPATH=%DAMASK_ROOT%\lib;%PYTHONPATH%
echo DAMASK_ROOT: %DAMASK_ROOT%
echo.
::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