added correct end of line style, bat file for windows should work now

This commit is contained in:
Martin Diehl 2014-01-07 23:04:00 +00:00
parent a614e76968
commit 2a5443d41a
1 changed files with 19 additions and 21 deletions

View File

@ -1,16 +1,11 @@
:: sets up an environment for DAMASK on Windows :: sets up an environment for DAMASK on Windows
:: usage: ???? :: usage: call DAMASK_env.bat
@echo off @echo off
set LOCATION=%~dp0
set DAMASK_ROOT=%LOCATION%\DAMASK
set DAMASK_NUM_THREADS=2
chcp 1252 chcp 1252
Title Düsseldorf Advanced Materials Simulation Kit - DAMASK, MPIE Düsseldorf Title Düsseldorf Advanced Materials Simulation Kit - DAMASK, MPIE Düsseldorf
SET DAMASK_ROOT=%HOME%\DAMASK
SET DAMASK_BIN=%DAMASK_ROOT%\bin
SET PYTHONPATH=%PYTHONPATH%:%DAMASK_ROOT%\lib
SET DAMASK_NUM_THREADS=2
echo. echo.
echo Düsseldorf Advanced Materials Simulation Kit - DAMASK echo Düsseldorf Advanced Materials Simulation Kit - DAMASK
echo Max-Planck-Institut für Eisenforschung, Düsseldorf echo Max-Planck-Institut für Eisenforschung, Düsseldorf
@ -19,3 +14,6 @@ echo.
echo Preparing environment ... echo Preparing environment ...
echo DAMASK_ROOT=%DAMASK_ROOT% echo DAMASK_ROOT=%DAMASK_ROOT%
echo DAMASK_NUM_THREADS=%DAMASK_NUM_THREADS% echo DAMASK_NUM_THREADS=%DAMASK_NUM_THREADS%
set DAMASK_BIN=%DAMASK_ROOT%\bin
set PATH=%PATH%;%DAMASK_BIN%
set PYTHONPATH=%PYTHONPATH%;%DAMASK_ROOT%\lib