DAMASK_EICMD/damask_env.bat

20 lines
539 B
Batchfile
Raw Normal View History

@echo off
chcp 1252
2012-07-20 20:44:08 +05:30
Title D<>sseldorf Advanced MAterials Simulation Kit - DAMASK, MPIE D<>sseldorf
echo.
2012-07-20 20:44:08 +05:30
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 ...
2012-07-20 20:44:08 +05:30
SET DAMASK_ROOT=%~dp0
SET PYTHONPATH=%DAMASK_ROOT%\lib;%PYTHONPATH%
echo DAMASK_ROOT: %DAMASK_ROOT%
2012-07-20 20:42:13 +05:30
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