Commit Graph

4280 Commits

Author SHA1 Message Date
Martin Diehl dd1e968908 setup_processing.py uses damask module but builds the core part of it, therefore made the use damask.core optional by setting a try statement in __init__.py and a "from damask import xxx" 2012-01-04 11:06:24 +00:00
Martin Diehl ee401520d7 corrected divergence calculation. Still some open questions, but improved understanding a lot 2011-12-23 12:30:35 +00:00
Martin Diehl 6dee2616f5 added help info how to use the executable 2011-12-23 12:29:04 +00:00
Martin Diehl 99fa0e0be8 corrected calculation of curl (last version was more a dummy function) 2011-12-23 12:23:13 +00:00
Philip Eisenlohr e62d083f7a removed (virtually) dead single-precision branch of the spectral solver. 2011-12-22 13:19:27 +00:00
Philip Eisenlohr fbe908ccd2 now uses damask.core.math package 2011-12-22 10:42:24 +00:00
Philip Eisenlohr c052e3d5d2 path to fftw3 lib is now set (hopefully, mandatory) with LD_LIBRARY_PATH (via setup_shellrc.py...) 2011-12-22 10:41:17 +00:00
Philip Eisenlohr 35bd460e39 added "core" package capability to processing
(renamed former f2py modules)

reverted pathinfo...
2011-12-22 10:36:59 +00:00
Philip Eisenlohr 429af90ccb added Id flag and content
added "core" package capability
2011-12-22 10:30:25 +00:00
Philip Eisenlohr 8535421429 killed obsolete "--heap-arrays" comment 2011-12-22 10:21:50 +00:00
Krishna Komerla f463c2da70 added addCurl.py, not sure if it works correctly. still in old (eq. to addDivergence.py) style 2011-12-21 17:25:31 +00:00
Philip Eisenlohr b12c6672d6 corrected LD_LIBRARY_PATH processing of LAPACK and added FFTW to it. 2011-12-21 13:13:11 +00:00
Philip Eisenlohr 06cb99d156 restructured location of FFTW libs 2011-12-21 13:09:55 +00:00
Philip Eisenlohr 8bf3cc3a3f exchanged fftw3.3 source with patched one (now containing set_timelimit wrapper in api/f77funcs.h) 2011-12-21 12:48:20 +00:00
Franz Roters 0695bfd315 updated instructions 2011-12-21 09:35:47 +00:00
Martin Diehl 3706bcbc3e fixed bug 2011-12-20 14:19:01 +00:00
Franz Roters fcfc8d9402 corrected small syntax error 2011-12-20 13:58:30 +00:00
Franz Roters 34d56548ad corrected librarypath for fftw
removed fftw3_threads
2011-12-20 13:52:19 +00:00
Martin Diehl 8d5dcc97bd added geomCrop to crop a box out of a geom file 2011-12-20 13:33:16 +00:00
Franz Roters ee3049b761 corrected syntax errors 2011-12-20 12:53:19 +00:00
Franz Roters 485ed3742c now aware of empty lines 2011-12-20 11:04:29 +00:00
Philip Eisenlohr b0ba5f7ba3 code setup now takes BLAS in order of precedence from IKML, ACML, and LAPACK.
Leave pathinfo blank for BLAS-options that are not available (like IKML typically)
2011-12-20 10:58:51 +00:00
Philip Eisenlohr 8be14ef72e now aware of blank and comment lines in pathinfo 2011-12-20 10:55:47 +00:00
Philip Eisenlohr 7dff3ba12c reworked script... 2011-12-20 10:52:58 +00:00
Philip Eisenlohr c5d64df287 example for new syntax and options. 2011-12-20 10:20:42 +00:00
Philip Eisenlohr 2b42896ef6 added parsing of comments (# comment here...)
added "lib64" as possible location (sub-directory) for liblapack.a
2011-12-20 10:19:48 +00:00
Philip Eisenlohr 2b6cb3bd84 added linking option for FFTW.
which LAPACK installation is used can now be selected by switching on IKML, ACML, or LAPACK path (in that order of preference)

(multiuser environments now need to have system-wide installation locations for those libraries, since run_*_marc scripts are set once and for all to use them.)
2011-12-20 09:47:27 +00:00
Franz Roters c4a4c5cdca corrected error in apply_DAMASK_modifications
added support for Marc/Mentat2011 (classic)
2011-12-19 16:06:03 +00:00
Christoph Kords 2bfbb97c11 import of re module was missing 2011-12-18 15:49:44 +00:00
Philip Eisenlohr 739c524848 makefile substitution now based on regexp match.
condensed makefile syntax.
can now use a system-defined LAPACK instead of ACML (required for OS X...).
fixed bug that 'ULTRA' was not using -O3 for most of the compiling...
2011-12-16 09:11:03 +00:00
Philip Eisenlohr d96c64373c added option to have blank pathInfo (to switch off ACML for example) 2011-12-15 22:21:44 +00:00
Claudio Zambaldi fbfb39de3f removing 2 bugs from previous commit 2011-12-15 15:29:22 +00:00
Claudio Zambaldi a27a78bab1 changed per Philips suggestion
config folder will later contain debug.py and numerics.py
2011-12-15 15:15:32 +00:00
Claudio Zambaldi 0eb51046a4 worked on integrating using damask package in test
renamed config to material/material.py to make it more consitent
2011-12-15 14:53:10 +00:00
Philip Eisenlohr 1194deff54 corrected leftover mistake (items --> table.data) 2011-12-15 10:53:20 +00:00
Philip Eisenlohr fb7adf7b89 adopted use of general damask package 2011-12-15 08:53:18 +00:00
Philip Eisenlohr a8dece8694 adopted use of general damask package ("import damask" instead of "damask_tools") 2011-12-15 08:52:41 +00:00
Philip Eisenlohr 2fcbc1ff13 started solver sub package
improved guessing of DAMASK_ROOT
2011-12-15 08:51:16 +00:00
Christoph Kords b2547e0117 Math inversion used to return zero (math_inv3x3) or error (math_invert3x3) for negative determinant. Now checking whether the absolute(!) value of the determinant is close to zero to avoid singularities, negative determinants are very well allowed. 2011-12-14 08:55:24 +00:00
Philip Eisenlohr 4faded6297 started DAMASK Python package... 2011-12-13 20:02:26 +00:00
Martin Diehl 031a00237f improved makefile, no directly linking to files of acml
corrected default pathinfo
improved test for intel compiler
2011-12-09 16:34:53 +00:00
Martin Diehl 7d1d2b6229 corrected small mistake in setup_code and makefile
test no. 1500, spectral compile test with intel compiler is now working. adjusted run_test and tamask_test
2011-12-09 15:13:27 +00:00
Christoph Kords 609175318e added option for output of colormap palette also as float values 0.0-1.0 2011-12-08 10:02:48 +00:00
Philip Eisenlohr 2ceb78c337 introduced new damask_tools method "relPath" and adopted it in setup_processing.py and setup_code.py 2011-12-06 18:38:03 +00:00
Martin Diehl ea0fe7b406 corrected 3D visualize (math.f90 part was not working)
small polishing of voronoi_tessellation.f90
2011-12-06 17:46:33 +00:00
Martin Diehl 5ebeb96e85 made DAMASK to work with gfortran:
-removed to long lines
-restructured f2py modules and merged make_DAMASK2Python into setup processing
-setup_code.py now sets library path in makefile and asks for compile switches for spectral code
-substituted \ in format strings with $

restructured DAMASK_spectral:
-more logical output and structure of code
-better input for spectral debug parameters
2011-12-06 16:58:17 +00:00
Martin Diehl b752becbea added functions in DAMASK_TOOLS to get pathInfo, root and bin directory 2011-12-05 13:05:42 +00:00
Philip Eisenlohr efadf9f728 mainly fixed error in output of spectral results (1:N,…) instead of (N,…)
rearranged some logic here and there.

(hopefully) improved readability of debug/standard output.

restarting logic would need some discussion with Martin/Krishna still…
2011-12-04 10:01:32 +00:00
Philip Eisenlohr 9d3f7b8d3d adopted ASCII_TABLE class 2011-12-04 09:57:13 +00:00
Christoph Kords 42c3074821 mini calculator for column-column arithmetic 2011-12-02 15:15:36 +00:00