Commit Graph

1260 Commits

Author SHA1 Message Date
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
Martin Diehl 148f57b86d changed it to work with changes in last commit 2011-12-01 12:02:36 +00:00
Martin Diehl ace6851389 moved all routines from postprocessingMath to math.90, renamed the module to DAMASK, changed scripts and interfaces accordingly.
polished math.f90 (mainly added _pInt/_pReal and intent(in/out))
curl_fft is still a dummy function
2011-12-01 12:01:13 +00:00
Franz Roters 1f1046ecc5 removed option -heap arrays from all compiler calls use 'ulimit -s unlimited' on the command line instead 2011-12-01 08:54:26 +00:00
Philip Eisenlohr 4137d1f9af fixed stupid lower case typo in pathInfo assignment 2011-11-29 17:40:11 +00:00
Franz Roters 12bf99c2f9 removed option -extend_source from compile_fortran command definition as it also seems to influence allowed line length for free format files 2011-11-28 08:19:55 +00:00
Franz Roters e738bee1e3 moved todolist to private tree 2011-11-28 08:18:07 +00:00
Philip Eisenlohr e98590d850 adopted ASCII_TABLE class 2011-11-24 17:10:50 +00:00
Philip Eisenlohr 18a09d7cff corrected handling of STDIN|STDOUT
adopted ASCII_TABLE class
2011-11-24 14:48:02 +00:00
Martin Diehl 267b8ac30c started to add curl calculation to postprocessingMath.f90
restructured colormap calculation. Algorithm is working now, but input/output still has to be done
2011-11-23 20:08:48 +00:00
Claudio Zambaldi 81e9607316 tests which define variants in test_variants() generator can be handled 2011-11-23 18:32:22 +00:00
Claudio Zambaldi 99b7dcf7b5 polishing and changed to comply with PEP 8 style guide 2011-11-23 15:42:18 +00:00
Claudio Zambaldi 205bb49b34 now all methods use generic add_data
added change_value method
2011-11-23 15:21:16 +00:00
Philip Eisenlohr 48f8d4ccb5 exchanged logic now using ASCII_TABLE class... 2011-11-23 14:54:53 +00:00
Philip Eisenlohr 21bcfc2986 added class ASCII_TABLE for easier processing of those... 2011-11-23 14:54:05 +00:00
Franz Roters 515986c4d6 renamed w0 and w0_slip to a and a_slip 2011-11-23 14:48:39 +00:00
Philip Eisenlohr f685bbba0e exchanged location of "graincount" in user block.
now matches wiki entry:
1. homogenization block
2. grain block
  (grain count
   sub-block[s] of crystallite and constitutive)
2011-11-23 09:09:00 +00:00
Philip Eisenlohr e8f5996a96 renamed MSC_TOOLS.library_paths to libraryPath, since only single string is returned 2011-11-23 08:25:52 +00:00
Philip Eisenlohr 21fcd0357e now subsumed into general postResults functionality 2011-11-22 19:43:37 +00:00
Martin Diehl 5a1e73b53d added set_timelimit functionality to fortran-wrapper of FFTW and introcudec it to DAMASK_spectral.f90 2011-11-21 18:48:38 +00:00
Martin Diehl 566f16b6e9 implemented calculation of divergence in real space, polished spectral debugging 2011-11-21 18:12:40 +00:00