DAMASK_EICMD/damask_env.bat

24 lines
607 B
Batchfile
Raw Normal View History

@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